/darwin-on-arm/xnu/bsd/netinet/ |
H A D | dhcp.h | 41 #include <netinet/udp.h> 63 struct udphdr udp; member in struct:dhcp_packet
|
H A D | Makefile | 24 tcpip.h udp.h udp_var.h
|
H A D | bootp.h | 42 #include <netinet/udp.h>
|
H A D | in_proto.c | 85 #include <netinet/udp.h> 300 SYSCTL_NODE(_net_inet, IPPROTO_UDP, udp, CTLFLAG_RW|CTLFLAG_LOCKED, 0, "UDP");
|
H A D | in_dhcp.c | 65 #include <netinet/udp.h> 184 bzero(&pkt->udp, sizeof(pkt->udp)); 193 pkt->udp.uh_sport = htons(IPPORT_BOOTPC); 194 pkt->udp.uh_dport = htons(IPPORT_BOOTPS); 195 pkt->udp.uh_sum = 0; 196 pkt->udp.uh_ulen = htons(pkt_size - sizeof(pkt->ip));
|
H A D | ip_mroute.c | 73 #include <netinet/udp.h> 1899 struct udphdr *udp = (struct udphdr *)(((char *)ip) + (ip->ip_hl << 2)); local 1900 switch (ntohs(udp->uh_dport) & 0xc000) { 1915 log(LOG_DEBUG, "port %x prio%d\n", ntohs(udp->uh_dport), prio);
|
H A D | ip_fw2.c | 105 #include <netinet/udp.h> 1158 struct udphdr *const udp = (struct udphdr *)icmp; local 1191 ntohs(udp->uh_sport), 1193 ntohs(udp->uh_dport)); 2070 struct udphdr *udp; local 2073 udp = L3HDR(struct udphdr, ip); 2074 dst_port = udp->uh_dport; 2075 src_port = udp->uh_sport;
|
H A D | in_pcblist.c | 79 #include <netinet/udp.h>
|
H A D | in_tclass.c | 53 #include <netinet/udp.h>
|
H A D | udp_usrreq.c | 99 #include <netinet/udp.h> 234 * allocate lock group attribute and group for udp pcb mutexes 616 /* preserve the udp header */ 860 * Notify a udp user of an asynchronous error; 1646 /* Check that the values of udp send and recv space do not exceed sb_max */
|
/darwin-on-arm/xnu/bsd/man/man4/ |
H A D | Makefile | 43 udp.4 \
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | esp_output.c | 87 #include <netinet/udp.h> /* for nat traversal */ 255 struct udphdr *udp = NULL; local 412 udp = mtod(md, struct udphdr *); 421 if (sav->remote_ike_port == htons(udp->uh_dport)) { 423 udp->uh_dport = sav->natt_encapsulated_src_port; 424 udp->uh_sum = 0; /* don't need checksum with ESP auth */ 459 udp = mtod(n, struct udphdr *); 460 esp = (struct esp *)(void *)((caddr_t)udp + sizeof(struct udphdr)); 470 udp = mtod(md, struct udphdr *); 471 esp = (struct esp *)(void *)((caddr_t)udp [all...] |
H A D | ip6_fw.c | 123 #include <netinet/udp.h> 422 struct udphdr *const udp = (struct udphdr *) ((caddr_t) ip6+ off); local 494 ntohs(udp->uh_sport)); 501 ntohs(udp->uh_dport)); 705 struct udphdr *udp; local 719 udp = (struct udphdr *) ((caddr_t)ip6 + off); 720 src_port = ntohs(udp->uh_sport); 721 dst_port = ntohs(udp->uh_dport);
|
H A D | esp_input.c | 90 #include <netinet/udp.h> 144 // strip the udp header that's encapsulating ESP 204 // expect udp-encap and esp packets only 427 // offset includes the outer ip and udp header lengths. 432 "IPv4 ESP input: invalid udp encapsulated ESP packet length \n")); 649 struct udphdr *udp; local 666 udp = (struct udphdr *)(void *)(((u_int8_t *)ip) + off); 670 sav->natt_encapsulated_src_port = udp->uh_sport; 671 } else if (sav->natt_encapsulated_src_port != udp->uh_sport) { /* something wrong */ 677 udp [all...] |
H A D | udp6_output.c | 123 #include <netinet/udp.h>
|
H A D | in6_proto.c | 124 #include <netinet/udp.h>
|
H A D | udp6_usrreq.c | 122 #include <netinet/udp.h>
|
H A D | ipsec.c | 91 #include <netinet/udp.h> 98 #include <netinet/udp.h> 949 * (like 4.4BSD tcp/udp processing). XXX should we panic here? 3061 struct udphdr *udp; local 3078 udp = (struct udphdr *)(void *)(((u_int8_t *)ip) + hlen); 3079 sin->sin_port = udp->uh_dport;
|
/darwin-on-arm/xnu/bsd/net/classq/ |
H A D | classq_util.c | 81 #include <netinet/udp.h>
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | pf.c | 97 #include <netinet/udp.h> 2066 pf_cksum_fixup(u_int16_t cksum, u_int16_t old, u_int16_t new, u_int8_t udp) argument 2070 if (udp && !cksum) 2075 if (udp && !l) 3662 if (pd->hdr.udp == NULL) 3664 sport = pd->hdr.udp->uh_sport; 3665 dport = pd->hdr.udp->uh_dport; 4049 sxport.port = pd->hdr.udp->uh_sport; 4050 dxport.port = pd->hdr.udp->uh_dport; 4051 hdrlen = sizeof (*pd->hdr.udp); [all...] |
H A D | bpf.c | 116 #include <netinet/udp.h>
|
H A D | ntstat.c | 56 #include <netinet/udp.h>
|
H A D | pf_norm.c | 82 #include <netinet/udp.h>
|
H A D | pfvar.h | 1406 struct udphdr *udp; member in union:pf_pdesc::__anon272
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kpi_socketfilter.c | 48 #include <netinet/udp.h>
|