Lines Matching refs:haddr
42 unsigned char * haddr; in ForwardIPPacket() local
50 haddr = pctx->p.ethh->h_dest; in ForwardIPPacket()
65 haddr = GetDestinationHWaddr(daddr); in ForwardIPPacket()
66 if (!haddr) { in ForwardIPPacket()
85 pctx->p.ethh->h_source[i] = g_config.mos->netdev_table->ent[pctx->out_ifidx]->haddr[i]; in ForwardIPPacket()
86 pctx->p.ethh->h_dest[i] = haddr[i]; in ForwardIPPacket()
95 pctx->out_ifidx, haddr, pctx->p.ip_len, pctx->p.cur_ts); in ForwardIPPacket()
101 mtcp, ETH_P_IP, pctx->out_ifidx, haddr, pctx->p.ip_len); in ForwardIPPacket()
128 unsigned char * haddr; in IPOutputStandalone() local
135 haddr = GetDestinationHWaddr(daddr); in IPOutputStandalone()
136 if (!haddr) { in IPOutputStandalone()
152 ETH_P_IP, nif, haddr, tcplen + IP_HEADER_LEN, cur_ts); in IPOutputStandalone()
187 unsigned char *haddr; in IPOutput() local
197 haddr = GetDestinationHWaddr(stream->daddr); in IPOutput()
198 if (!haddr) { in IPOutput()
214 stream->sndvar->nif_out, haddr, tcplen + IP_HEADER_LEN, cur_ts); in IPOutput()