/external/tcpdump/ |
D | print-udp.c | 97 vat_print(netdissect_options *ndo, const void *hdr, register const struct udphdr *up) in vat_print() 124 register const struct udphdr *up) in rtp_print() 275 register const struct udphdr *up, in udp_cksum() 283 static int udp6_cksum(const struct ip6_hdr *ip6, const struct udphdr *up, in udp6_cksum() 351 register const struct udphdr *up; in udp_print() 362 up = (struct udphdr *)bp; in udp_print() 379 if (length < sizeof(struct udphdr)) { in udp_print() 385 if (ulen < sizeof(struct udphdr)) { in udp_print() 390 ulen -= sizeof(struct udphdr); in udp_print() 391 length -= sizeof(struct udphdr); in udp_print() [all …]
|
D | udp.h | 40 struct udphdr { struct
|
D | print-icmp.c | 338 const struct udphdr *ouh; in icmp_print() 381 ouh = (struct udphdr *)(((u_char *)oip) + hlen); in icmp_print()
|
D | print-icmp6.c | 484 static const struct udphdr *get_upperlayer(netdissect_options *ndo, const u_char *, u_int *); 895 const struct udphdr *ouh; in icmp6_print() 1181 static const struct udphdr * 1186 const struct udphdr *uh; in get_upperlayer() 1208 uh = (struct udphdr *)bp; in get_upperlayer()
|
/external/android-clat/ |
D | translate.c | 343 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp, in udp_packet() 348 if(len < sizeof(struct udphdr)) { in udp_packet() 354 payload_size = len - sizeof(struct udphdr); in udp_packet() 404 int udp_translate(clat_packet out, clat_packet_index pos, const struct udphdr *udp, in udp_translate() 406 struct udphdr *udp_targ = out[pos].iov_base; in udp_translate() 408 memcpy(udp_targ, udp, sizeof(struct udphdr)); in udp_translate() 410 out[pos].iov_len = sizeof(struct udphdr); in udp_translate()
|
D | clatd_test.cpp | 277 struct udphdr *udp = (struct udphdr *) payload; in check_packet() 399 struct udphdr *udp; in fix_udp_checksum() 403 udp = (struct udphdr *) (ip + 1); in fix_udp_checksum() 409 udp = (struct udphdr *) (ip6 + 1); in fix_udp_checksum() 545 return ((struct udphdr *) payload)->check; in get_transport_checksum() 751 ASSERT_EQ(sizeof(struct udphdr), sizeof(udp_header)) << "Test UDP header: incorrect length\n"; in TEST_F() 754 struct udphdr *udp; in TEST_F() 756 udp = (struct udphdr *) (v4_udp_packet + sizeof(struct iphdr)); in TEST_F() 762 udp = (struct udphdr *) (v6_udp_packet + sizeof(struct ip6_hdr)); in TEST_F() 811 uint8_t udphdr[] = { UDP_HEADER }; in TEST_F() local [all …]
|
D | dump.h | 23 void dump_udp(const struct udphdr *udp, const struct iphdr *ip, 31 void dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6,
|
D | dump.c | 133 void dump_udp_generic(const struct udphdr *udp, uint32_t temp_checksum, in dump_udp_generic() 137 temp_checksum = ip_checksum_add(temp_checksum, udp, sizeof(struct udphdr)); in dump_udp_generic() 149 void dump_udp(const struct udphdr *udp, const struct iphdr *ip, in dump_udp() 157 void dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6, in dump_udp6()
|
D | translate.h | 80 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp, 86 int udp_translate(clat_packet out, clat_packet_index pos, const struct udphdr *udp,
|
D | clatd_microbenchmark.c | 50 #define PAYLOADSIZE (1280 - sizeof(struct iphdr) - sizeof(struct udphdr)) 89 struct udphdr udp = { in send_packet()
|
D | ipv4.c | 131 iov_len = udp_packet(out, pos + 2, (const struct udphdr *) next_header, old_sum, new_sum, in ipv4_packet()
|
D | ipv6.c | 163 iov_len = udp_packet(out, pos + 2, (const struct udphdr *) next_header, old_sum, new_sum, in ipv6_packet()
|
/external/dnsmasq/src/ |
D | bpf.c | 165 struct udphdr { in send_via_bpf() struct 204 sizeof(struct udphdr) + in send_via_bpf() 224 udp.uh_ulen = sum = htons(sizeof(struct udphdr) + len); in send_via_bpf() 230 for (i = 0; i < sizeof(struct udphdr)/2; i++) in send_via_bpf()
|
/external/kernel-headers/original/uapi/linux/ |
D | udp.h | 22 struct udphdr { struct
|
/external/toybox/toys/pending/ |
D | traceroute.c | 266 struct udphdr *hudp; in do_trace() 271 hudp = (struct udphdr*) ((char*)hip + (hip->ip_hl << 2)); in do_trace() 389 struct udphdr *hudp; in do_trace() 393 hudp = (struct udphdr*) (hip + 1); in do_trace()
|
D | dhcp6.c | 114 struct udphdr udph;
|
D | dhcpd.c | 164 struct udphdr udph; 170 struct udphdr udph;
|
D | dhcp.c | 170 struct udphdr udph;
|
/external/iputils/Modules/ |
D | pg3.c | 243 struct udphdr *udph; in fill_packet() 258 udph = (struct udphdr*)skb_put(skb, sizeof( struct udphdr)); in fill_packet()
|
/external/wpa_supplicant_8/src/ap/ |
D | dhcp_snoop.c | 23 struct udphdr udph;
|
/external/iputils/ |
D | traceroute6.c | 840 struct udphdr *up; in packet_ok() 844 up = (struct udphdr *)(hip+1); in packet_ok()
|
/external/ipsec-tools/src/racoon/ |
D | isakmp.c | 204 char lbuf[sizeof(struct udphdr) + 246 struct udphdr *udp; 250 udp = (struct udphdr *)&x.lbuf[0]; 258 udp = (struct udphdr *)&x.lbuf[0];
|
/external/dhcpcd-6.8.2/ |
D | dhcp.c | 115 struct udphdr udp; 1596 struct udphdr *udp; in dhcp_makeudppacket()
|