Home
last modified time | relevance | path

Searched refs:xdip (Results 1 – 2 of 2) sorted by relevance

/external/bcc/tests/python/
Dtest_xlate1.c9 u32 xdip; member
50 arp->tpa = xleaf.xdip; in on_packet()
65 ip->dst = xleaf.xdip; in on_packet()
66 incr_cksum_l3(&ip->hchecksum, orig_dip, xleaf.xdip); in on_packet()
80 if (xleaf.xdip) { in on_packet()
81 incr_cksum_l4(&udp->crc, orig_dip, xleaf.xdip, 1); in on_packet()
89 if (xleaf.xdip) { in on_packet()
90 incr_cksum_l4(&tcp->cksum, orig_dip, xleaf.xdip, 1); in on_packet()
Dtest_xlate1.b12 u32 xdip:32;
43 incr_cksum(@ip.hchecksum, orig_dip, xleaf.xdip);
46 pkt.rewrite_field($ip.dst, xleaf.xdip);
54 incr_cksum(@udp.crc, orig_dip, xleaf.xdip, 1);
61 incr_cksum(@tcp.cksum, orig_dip, xleaf.xdip, 1);