Searched refs:orig_sip (Results 1 – 2 of 2) sorted by relevance
/external/bcc/tests/python/ |
D | test_xlate1.c | 20 u32 orig_sip = 0; in on_packet() local 45 orig_sip = arp->spa; in on_packet() 46 struct IPKey key = {.dip=orig_dip, .sip=orig_sip}; in on_packet() 60 orig_sip = ip->src; in on_packet() 61 struct IPKey key = {.dip=orig_dip, .sip=orig_sip}; in on_packet() 68 incr_cksum_l3(&ip->hchecksum, orig_sip, xleaf.xsip); in on_packet() 82 incr_cksum_l4(&udp->crc, orig_sip, xleaf.xsip, 1); in on_packet() 91 incr_cksum_l4(&tcp->cksum, orig_sip, xleaf.xsip, 1); in on_packet()
|
D | test_xlate1.b | 26 u32 orig_sip:32 = 0; 39 orig_sip = $ip.src; 40 struct IPKey key = {.dip=orig_dip, .sip=orig_sip}; 44 incr_cksum(@ip.hchecksum, orig_sip, xleaf.xsip); 55 incr_cksum(@udp.crc, orig_sip, xleaf.xsip, 1); 62 incr_cksum(@tcp.cksum, orig_sip, xleaf.xsip, 1);
|