Home
last modified time | relevance | path

Searched refs:ihl (Results 1 – 5 of 5) sorted by relevance

/system/netd/bpf_progs/
Dnetd.c141 uint8_t proto, ihl; in DEFINE_UPDATE_STATS() local
148 ret = bpf_skb_load_bytes(skb, IPPROTO_IHL_OFF, &ihl, 1); in DEFINE_UPDATE_STATS()
149 ihl = ihl & 0x0F; in DEFINE_UPDATE_STATS()
150 ret = bpf_skb_load_bytes(skb, ihl * 4 + TCP_FLAG_OFF, &flag, 1); in DEFINE_UPDATE_STATS()
Dclatd.c98 .ihl = sizeof(struct iphdr) / sizeof(__u32), // u4 in nat64()
212 if (ip4->ihl != 5) return TC_ACT_OK; in sched_cls_egress_clat_rawip()
/system/core/libnetutils/
Dpacket.c98 ip.ihl = sizeof(ip) >> 2; in send_packet()
181 } else if (packet.ip.version != IPVERSION || packet.ip.ihl != (sizeof(packet.ip) >> 2)) { in receive_packet()
/system/netd/server/
DWakeupController.cpp91 extractIpPorts(args, drop(payload, header.ihl * 4)); // ipv4 IHL counts 32 bit words. in extractIpHeader()
DWakeupControllerTest.cpp200 msg.ipHeader.ihl = sizeof(msg.ipHeader) / 4; // ipv4 IHL counts 32 bit words. in TEST_F()