Home
last modified time | relevance | path

Searched refs:IPV4_HLEN (Results 1 – 10 of 10) sorted by relevance

/hardware/google/apf/v7/
Dapf_defs.h20 #define IPV4_HLEN 20 macro
Dapf_checksum.h59 store_be16(pkt + ip_ofs + 10, calc_csum(0, pkt + ip_ofs, IPV4_HLEN)); in FUNC()
Dapf_interpreter.c49 #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()
Dapf_interpreter_source.c157 if ((ctx->packet_len >= ETH_HLEN + IPV4_HLEN) in do_apf_run()
/hardware/google/apf/
Dapf_defs.h20 #define IPV4_HLEN 20 macro
Dapf_checksum_test.cc58 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()
Dapf_checksum.h59 store_be16(pkt + ip_ofs + 10, calc_csum(0, pkt + ip_ofs, IPV4_HLEN)); in FUNC()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
Dbcmip.h65 #define IPV4_HLEN(ipv4_body) (4 * (((uint8 *)(ipv4_body))[IPV4_VER_HL_OFFSET] & IPV4_HLEN_MASK)) macro
/hardware/google/apf/v6/
Dapf_interpreter.c49 #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/
Dapf_interpreter.c49 #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()