Symbol: udphdr
usr/src/boot/include/netinet/udp_var.h
42
struct udphdr ui_u; /* udp header */
usr/src/boot/libsa/ip.c
208
struct udphdr *uh;
usr/src/boot/libsa/ip.c
249
uh = (struct udphdr *)((uintptr_t)ip + sizeof (*ip));
usr/src/boot/libsa/tftp.c
224
struct udphdr *uh;
usr/src/boot/libsa/tftp.c
225
uh = (struct udphdr *)t - 1;
usr/src/boot/libsa/tftp.c
246
struct udphdr *uh;
usr/src/boot/libsa/tftp.c
262
uh = (struct udphdr *)t - 1;
usr/src/boot/libsa/udp.c
112
struct udphdr *uh;
usr/src/boot/libsa/udp.c
64
struct udphdr *uh;
usr/src/boot/libsa/udp.c
81
uh = (struct udphdr *)pkt - 1;
usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ilb_probe.c
376
struct udphdr *udph;
usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ilb_probe.c
390
udph = (struct udphdr *)((char *)iph + (iph->ip_hl << 2));
usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ilb_probe.c
455
sizeof (struct udphdr)) {
usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ilb_probe.c
474
struct udphdr *udph;
usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ilb_probe.c
486
udph = (struct udphdr *)(ip6h + 1);
usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ilb_probe.c
544
sizeof (struct udphdr)) {
usr/src/cmd/cmd-inet/usr.lib/in.ripngd/output.c
149
maxsize = ifp->int_mtu - sizeof (ip6_t) - sizeof (struct udphdr);
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux.c
217
struct udphdr *up;
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux.c
312
(cc_left < hlen1 + sizeof (struct udphdr))) {
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux.c
321
cc_left -= hlen1 + sizeof (struct udphdr);
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux.c
323
up = (struct udphdr *)((uchar_t *)ip + hlen1);
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux.c
464
sizeof (struct udphdr));
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux.c
713
up = (struct udphdr *)((uchar_t *)ip + hlen1);
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux.c
772
up = (struct udphdr *)((uchar_t *)ip + hlen1);
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux.c
806
up = (struct udphdr *)((uchar_t *)ip + hlen1);
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux6.c
256
struct udphdr *up;
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux6.c
347
up = (struct udphdr *)((char *)ip6h + ip6hdr_len);
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux6.c
348
if (cc_left < sizeof (struct udphdr)) {
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux6.c
355
cc_left -= sizeof (struct udphdr);
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux6.c
500
sizeof (struct udphdr));
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux6.c
554
up = (struct udphdr *)
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux6.c
592
up = (struct udphdr *)
usr/src/cmd/cmd-inet/usr.sbin/ping/ping_aux6.c
636
up = (struct udphdr *)
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop.h
272
struct udphdr;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop.h
273
extern int interpret_udp(int, struct udphdr *, int, int);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_filter.c
797
base = udp + sizeof (struct udphdr);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_filter.c
821
sizeof (struct udphdr));
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_filter.c
882
struct udphdr udp_h;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_filter.c
890
slphdr = udp + sizeof (struct udphdr);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_icmp.c
128
orig_uhdr = (struct udphdr *)((uchar_t *)icmp +
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_icmp.c
472
sizeof (struct udphdr)) {
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_icmp.c
488
struct udphdr *orig_uhdr =
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_icmp.c
489
(struct udphdr *)&orig_ip6hdr[1];
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_icmp.c
76
struct udphdr *orig_uhdr;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ip.c
286
(struct udphdr *)data, iplen, fraglen);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ip.c
462
(void) interpret_udp(flags, (struct udphdr *)data,
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ipsec.c
237
(struct udphdr *)data, new_iplen, fraglen);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_udp.c
48
interpret_udp(int flags, struct udphdr *udp, int iplen, int fraglen)
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_udp.c
56
if (fraglen < sizeof (struct udphdr))
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_udp.c
59
data = (char *)udp + sizeof (struct udphdr);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_udp.c
60
udplen = ntohs((ushort_t)udp->uh_ulen) - sizeof (struct udphdr);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_udp.c
61
fraglen -= sizeof (struct udphdr);
usr/src/cmd/cmd-inet/usr.sbin/traceroute/traceroute.c
819
minpacket += sizeof (struct udphdr);
usr/src/cmd/cmd-inet/usr.sbin/traceroute/traceroute_aux.c
132
outudp = (struct udphdr *)outp;
usr/src/cmd/cmd-inet/usr.sbin/traceroute/traceroute_aux.c
198
struct udphdr *outudp;
usr/src/cmd/cmd-inet/usr.sbin/traceroute/traceroute_aux.c
208
outudp = (struct udphdr *)outp;
usr/src/cmd/cmd-inet/usr.sbin/traceroute/traceroute_aux.c
225
sizeof (struct udphdr);
usr/src/cmd/cmd-inet/usr.sbin/traceroute/traceroute_aux.c
361
struct udphdr *up;
usr/src/cmd/cmd-inet/usr.sbin/traceroute/traceroute_aux.c
386
up = (struct udphdr *)((uchar_t *)hip + hlen);
usr/src/cmd/cmd-inet/usr.sbin/traceroute/traceroute_aux.c
85
struct udphdr *outudp;
usr/src/cmd/cmd-inet/usr.sbin/traceroute/traceroute_aux6.c
103
outudp = (struct udphdr *)outp;
usr/src/cmd/cmd-inet/usr.sbin/traceroute/traceroute_aux6.c
321
send_size -= sizeof (struct udphdr);
usr/src/cmd/cmd-inet/usr.sbin/traceroute/traceroute_aux6.c
445
struct udphdr *up;
usr/src/cmd/cmd-inet/usr.sbin/traceroute/traceroute_aux6.c
476
up = (struct udphdr *)((uchar_t *)hip6 + ip6hdr_len);
usr/src/cmd/cmd-inet/usr.sbin/traceroute/traceroute_aux6.c
77
struct udphdr *outudp;
usr/src/cmd/ipf/lib/ipft_ef.c
105
extra = sizeof(struct udphdr);
usr/src/cmd/ipf/lib/ipft_td.c
156
extra = sizeof(struct udphdr);
usr/src/cmd/ipf/lib/ipft_tx.c
233
ip->ip_len += sizeof(struct udphdr);
usr/src/cmd/mdb/common/modules/ip/ip.c
1231
udphdr_print(struct udphdr *udph)
usr/src/cmd/mdb/common/modules/ip/ip.c
1252
struct udphdr udph;
usr/src/cmd/mdb/common/modules/ip/ip.c
1314
struct udphdr udph;
usr/src/cmd/mdb/common/modules/ip/ip.c
1945
{ "udphdr", ":", "display an UDP header", udphdr },
usr/src/common/net/dhcp/udp_sum.c
48
udp_chksum(struct udphdr *udph, const struct in_addr *src,
usr/src/common/net/dhcp/v4_sum_impl.h
45
extern uint16_t udp_chksum(struct udphdr *, const struct in_addr *,
usr/src/grub/grub-0.97/netboot/bootp.h
168
struct udphdr udp;
usr/src/grub/grub-0.97/netboot/bootp.h
174
struct udphdr udp;
usr/src/grub/grub-0.97/netboot/fsys_tftp.c
155
len = ntohs(tr->udp.len) - sizeof(struct udphdr) - 2;
usr/src/grub/grub-0.97/netboot/fsys_tftp.c
199
len = ntohs(tr->udp.len) - sizeof(struct udphdr) - 4;
usr/src/grub/grub-0.97/netboot/fsys_tftp.c
315
len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 2;
usr/src/grub/grub-0.97/netboot/fsys_tftp.c
381
len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 4;
usr/src/grub/grub-0.97/netboot/fsys_tftp.c
67
struct udphdr *udp)
usr/src/grub/grub-0.97/netboot/grub.h
90
typedef int (*reply_t)(int ival, void *ptr, unsigned short ptype, struct iphdr *ip, struct udphdr *udp);
usr/src/grub/grub-0.97/netboot/nfs.h
39
struct udphdr udp;
usr/src/grub/grub-0.97/netboot/nic.c
279
unsigned short ptype, struct iphdr *ip __unused, struct udphdr *udp __unused)
usr/src/grub/grub-0.97/netboot/nic.c
380
static uint16_t udpchksum(struct iphdr *ip, struct udphdr *udp)
usr/src/grub/grub-0.97/netboot/nic.c
406
struct udphdr *udp;
usr/src/grub/grub-0.97/netboot/nic.c
409
udp = (struct udphdr *)((char *)buf + sizeof(struct iphdr));
usr/src/grub/grub-0.97/netboot/nic.c
434
struct iphdr *ip __unused, struct udphdr *udp __unused)
usr/src/grub/grub-0.97/netboot/nic.c
456
struct iphdr *ip, struct udphdr *udp)
usr/src/grub/grub-0.97/netboot/nic.c
526
struct udphdr *udp)
usr/src/grub/grub-0.97/netboot/nic.c
535
&nic.packet[ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr)];
usr/src/grub/grub-0.97/netboot/nic.c
537
sizeof(struct udphdr) + sizeof(struct bootp_t) - BOOTP_VENDOR_LEN);
usr/src/grub/grub-0.97/netboot/nic.c
623
struct udphdr *udp)
usr/src/grub/grub-0.97/netboot/nic.c
632
&nic.packet[ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr)];
usr/src/grub/grub-0.97/netboot/nic.c
634
sizeof(struct udphdr) + sizeof(struct dhcp_t) - DHCP_OPT_LEN);
usr/src/grub/grub-0.97/netboot/nic.c
886
struct udphdr *udp;
usr/src/grub/grub-0.97/netboot/nic.c
957
(nic.packetlen >= ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr))) {
usr/src/grub/grub-0.97/netboot/nic.c
958
udp = (struct udphdr *)&nic.packet[ETH_HLEN + sizeof(struct iphdr)];
usr/src/grub/grub-0.97/netboot/tftp.h
37
struct udphdr udp;
usr/src/grub/grub-0.97/netboot/tftp.h
62
struct udphdr udp;
usr/src/grub/grub-0.97/netboot/tftp.h
76
#define TFTP_MIN_PACKET (sizeof(struct iphdr) + sizeof(struct udphdr) + 4)
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
497
struct udphdr *udp;
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
520
otl->otl_pktsize < sizeof (struct ip) + sizeof (struct udphdr) +
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
550
if (otl->otl_hdrsize + ip->ip_hl * 4 + sizeof (struct udphdr) >
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
557
udp = (struct udphdr *)(vdq->vdq_buf + otl->otl_hdrsize +
usr/src/stand/lib/inet/dhcpv4.c
666
sizeof (struct udphdr));
usr/src/stand/lib/inet/dhcpv4.c
767
sizeof (struct udphdr));
usr/src/stand/lib/inet/udp.c
104
struct udphdr *udphp;
usr/src/stand/lib/inet/udp.c
120
udphp = (struct udphdr *)(mp->b_rptr +
usr/src/stand/lib/inet/udp.c
172
struct udphdr *udphp;
usr/src/stand/lib/inet/udp.c
181
mp->b_rptr -= sizeof (struct udphdr);
usr/src/stand/lib/inet/udp.c
182
udphp = (struct udphdr *)(mp->b_rptr);
usr/src/stand/lib/inet/udp.c
74
return (sizeof (struct udphdr));
usr/src/stand/lib/inet/udp.c
84
return (((struct udphdr *)udphp)->uh_sport);
usr/src/stand/lib/inet/udp.c
85
return (((struct udphdr *)udphp)->uh_dport);
usr/src/uts/common/inet/ip/ip_mroute.c
2894
sizeof (struct udphdr);
usr/src/uts/common/inet/ip/ip_mroute.c
3270
struct udphdr *udp =
usr/src/uts/common/inet/ip/ip_mroute.c
3271
(struct udphdr *)((char *)ipha + IPH_HDR_LENGTH(ipha));
usr/src/uts/common/inet/ip/spd.c
3086
overhead += sizeof (struct udphdr);
usr/src/uts/common/inet/ipf/fil.c
744
frpr_short6(fin, sizeof(struct udphdr));
usr/src/uts/common/inet/ipf/fil.c
745
if (frpr_pullup(fin, sizeof(struct udphdr)) == -1)
usr/src/uts/common/inet/ipf/netinet/ip_compat.h
1754
typedef struct udphdr udphdr_t;
usr/src/uts/common/inet/ipf/netinet/ip_h323_pxy.c
292
struct udphdr udp;
usr/src/uts/common/io/bnxe/bnxe_tx.c
812
l4HdrLen = sizeof(struct udphdr);
usr/src/uts/common/io/chxge/sge.c
1921
struct udphdr *udpp = (struct udphdr *)(mp->b_rptr + offset + iplen);
usr/src/uts/common/io/chxge/sge.c
362
((struct udphdr *)(csum_loc))->uh_sum = csum;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
4934
tcp_udp_hdr_len = sizeof (struct udphdr);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5085
struct udphdr *udp_hdr;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5135
udp_hdr = (struct udphdr *)(void *)
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5179
struct udphdr *udp_hdr;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5259
udp_hdr = (struct udphdr *)(void *)
usr/src/uts/common/io/mac/mac_flow.c
2339
struct udphdr *udph = (struct udphdr *)l4_start;
usr/src/uts/common/io/mac/mac_protect.c
312
struct udphdr *udph;
usr/src/uts/common/io/mac/mac_protect.c
331
udph = (struct udphdr *)((uchar_t *)ipha + IPH_HDR_LENGTH(ipha));
usr/src/uts/common/io/mac/mac_protect.c
813
struct udphdr *udph;
usr/src/uts/common/io/mac/mac_protect.c
834
udph = (struct udphdr *)((uchar_t *)ip6h + hdrlen);
usr/src/uts/common/io/mac/mac_provider.c
2181
*hdr_sizep = sizeof (struct udphdr);
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2348
stuff = start + offsetof(struct udphdr, uh_sum);
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2358
stuff = start + offsetof(struct udphdr, uh_sum);
usr/src/uts/common/io/qede/qede_fp.c
1732
struct udphdr *udp_hdr;
usr/src/uts/common/io/qede/qede_fp.c
1782
udp_hdr = (struct udphdr *)(void *)
usr/src/uts/common/io/sfxge/sfxge_tcp.c
162
struct udphdr *uhp;
usr/src/uts/common/io/sfxge/sfxge_tcp.c
165
len = off + sizeof (struct udphdr);
usr/src/uts/common/io/sfxge/sfxge_tcp.c
170
uhp = (struct udphdr *)(mp->b_rptr + off);
usr/src/uts/common/io/sfxge/sfxge_tcp.c
175
off += sizeof (struct udphdr);
usr/src/uts/common/io/sfxge/sfxge_tcp.c
176
size -= sizeof (struct udphdr);
usr/src/uts/common/netinet/udp_var.h
22
struct udphdr ui_u; /* udp header */
usr/src/uts/common/xen/io/xnf.c
1624
ASSERT3U(len, >=, sizeof (struct udphdr));