Home
last modified time | relevance | path

Searched refs:udphdr (Results 1 – 3 of 3) sorted by relevance

/system/netd/bpf_progs/
Dclatd.c40 #define udphdr __kernel_udphdr macro
60 const struct udphdr* const udp = (void*)(ip6 + 1); in nat64()
83 if (udp + 1 > (struct udphdr*)data_end) return TC_ACT_OK; in nat64()
/system/core/libnetutils/
Dpacket.c93 struct udphdr udp; in send_packet()
162 struct udphdr udp; in receive_packet()
180 if (nread < (int)(sizeof(struct iphdr) + sizeof(struct udphdr))) { in receive_packet()
228 ((int)(nread - sizeof(struct iphdr) - sizeof(struct udphdr)) < dhcp_size) || in receive_packet()
/system/netd/server/
DWakeupController.cpp65 struct udphdr header; in extractIpPorts()
66 if (extract(payload, header) < sizeof(struct udphdr)) { in extractIpPorts()