Searched refs:IPV4_HLEN (Results 1 – 10 of 10) sorted by relevance
/hardware/google/apf/v7/ |
D | apf_defs.h | 20 #define IPV4_HLEN 20 macro
|
D | apf_checksum.h | 59 store_be16(pkt + ip_ofs + 10, calc_csum(0, pkt + ip_ofs, IPV4_HLEN)); in FUNC()
|
D | apf_interpreter.c | 49 #define IPV4_HLEN 20 macro 577 store_be16(pkt + ip_ofs + 10, apf_internal_calc_csum(0, pkt + ip_ofs, IPV4_HLEN)); in FUNC() 703 if ((ctx->packet_len >= ETH_HLEN + IPV4_HLEN) in do_apf_run()
|
D | apf_interpreter_source.c | 157 if ((ctx->packet_len >= ETH_HLEN + IPV4_HLEN) in do_apf_run()
|
/hardware/google/apf/ |
D | apf_defs.h | 20 #define IPV4_HLEN 20 macro
|
D | apf_checksum_test.cc | 58 ether_ipv4_udp_pkt.pkt.udphdr.check = htons(sizeof(ether_ipv4_udp_pkt) - IPV4_HLEN - ETH_HLEN); in TEST() 62 ETH_HLEN + IPV4_HLEN + offsetof(udphdr, check) /* csum_ofs */, in TEST()
|
D | apf_checksum.h | 59 store_be16(pkt + ip_ofs + 10, calc_csum(0, pkt + ip_ofs, IPV4_HLEN)); in FUNC()
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/ |
D | bcmip.h | 65 #define IPV4_HLEN(ipv4_body) (4 * (((uint8 *)(ipv4_body))[IPV4_VER_HL_OFFSET] & IPV4_HLEN_MASK)) macro
|
/hardware/google/apf/v6/ |
D | apf_interpreter.c | 49 #define IPV4_HLEN 20 macro 575 store_be16(pkt + ip_ofs + 10, apf_internal_calc_csum(0, pkt + ip_ofs, IPV4_HLEN)); in FUNC() 696 if ((ctx->packet_len >= ETH_HLEN + IPV4_HLEN) && ((ctx->packet[ETH_HLEN] & 0xf0) == 0x40)) { in do_apf_run()
|
/hardware/google/apf/devtools/ |
D | apf_interpreter.c | 49 #define IPV4_HLEN 20 macro 577 store_be16(pkt + ip_ofs + 10, apf_internal_calc_csum(0, pkt + ip_ofs, IPV4_HLEN)); in FUNC() 703 if ((ctx->packet_len >= ETH_HLEN + IPV4_HLEN) in do_apf_run()
|