udphdr
struct udphdr ui_u; /* udp header */
struct udphdr *uh;
uh = (struct udphdr *)((uintptr_t)ip + sizeof (*ip));
struct udphdr *uh;
uh = (struct udphdr *)t - 1;
struct udphdr *uh;
uh = (struct udphdr *)t - 1;
struct udphdr *uh;
struct udphdr *uh;
uh = (struct udphdr *)pkt - 1;
struct udphdr *udph;
udph = (struct udphdr *)((char *)iph + (iph->ip_hl << 2));
sizeof (struct udphdr)) {
struct udphdr *udph;
udph = (struct udphdr *)(ip6h + 1);
sizeof (struct udphdr)) {
maxsize = ifp->int_mtu - sizeof (ip6_t) - sizeof (struct udphdr);
struct udphdr *up;
(cc_left < hlen1 + sizeof (struct udphdr))) {
cc_left -= hlen1 + sizeof (struct udphdr);
up = (struct udphdr *)((uchar_t *)ip + hlen1);
sizeof (struct udphdr));
up = (struct udphdr *)((uchar_t *)ip + hlen1);
up = (struct udphdr *)((uchar_t *)ip + hlen1);
up = (struct udphdr *)((uchar_t *)ip + hlen1);
struct udphdr *up;
up = (struct udphdr *)((char *)ip6h + ip6hdr_len);
if (cc_left < sizeof (struct udphdr)) {
cc_left -= sizeof (struct udphdr);
sizeof (struct udphdr));
up = (struct udphdr *)
up = (struct udphdr *)
up = (struct udphdr *)
struct udphdr;
extern int interpret_udp(int, struct udphdr *, int, int);
base = udp + sizeof (struct udphdr);
sizeof (struct udphdr));
struct udphdr udp_h;
slphdr = udp + sizeof (struct udphdr);
orig_uhdr = (struct udphdr *)((uchar_t *)icmp +
sizeof (struct udphdr)) {
struct udphdr *orig_uhdr =
(struct udphdr *)&orig_ip6hdr[1];
struct udphdr *orig_uhdr;
(struct udphdr *)data, iplen, fraglen);
(void) interpret_udp(flags, (struct udphdr *)data,
(struct udphdr *)data, new_iplen, fraglen);
interpret_udp(int flags, struct udphdr *udp, int iplen, int fraglen)
if (fraglen < sizeof (struct udphdr))
data = (char *)udp + sizeof (struct udphdr);
udplen = ntohs((ushort_t)udp->uh_ulen) - sizeof (struct udphdr);
fraglen -= sizeof (struct udphdr);
minpacket += sizeof (struct udphdr);
outudp = (struct udphdr *)outp;
struct udphdr *outudp;
outudp = (struct udphdr *)outp;
sizeof (struct udphdr);
struct udphdr *up;
up = (struct udphdr *)((uchar_t *)hip + hlen);
struct udphdr *outudp;
outudp = (struct udphdr *)outp;
send_size -= sizeof (struct udphdr);
struct udphdr *up;
up = (struct udphdr *)((uchar_t *)hip6 + ip6hdr_len);
struct udphdr *outudp;
extra = sizeof(struct udphdr);
extra = sizeof(struct udphdr);
ip->ip_len += sizeof(struct udphdr);
udphdr_print(struct udphdr *udph)
struct udphdr udph;
struct udphdr udph;
{ "udphdr", ":", "display an UDP header", udphdr },
udp_chksum(struct udphdr *udph, const struct in_addr *src,
extern uint16_t udp_chksum(struct udphdr *, const struct in_addr *,
struct udphdr udp;
struct udphdr udp;
len = ntohs(tr->udp.len) - sizeof(struct udphdr) - 2;
len = ntohs(tr->udp.len) - sizeof(struct udphdr) - 4;
len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 2;
len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 4;
struct udphdr *udp)
typedef int (*reply_t)(int ival, void *ptr, unsigned short ptype, struct iphdr *ip, struct udphdr *udp);
struct udphdr udp;
unsigned short ptype, struct iphdr *ip __unused, struct udphdr *udp __unused)
static uint16_t udpchksum(struct iphdr *ip, struct udphdr *udp)
struct udphdr *udp;
udp = (struct udphdr *)((char *)buf + sizeof(struct iphdr));
struct iphdr *ip __unused, struct udphdr *udp __unused)
struct iphdr *ip, struct udphdr *udp)
struct udphdr *udp)
&nic.packet[ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr)];
sizeof(struct udphdr) + sizeof(struct bootp_t) - BOOTP_VENDOR_LEN);
struct udphdr *udp)
&nic.packet[ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr)];
sizeof(struct udphdr) + sizeof(struct dhcp_t) - DHCP_OPT_LEN);
struct udphdr *udp;
(nic.packetlen >= ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr))) {
udp = (struct udphdr *)&nic.packet[ETH_HLEN + sizeof(struct iphdr)];
struct udphdr udp;
struct udphdr udp;
#define TFTP_MIN_PACKET (sizeof(struct iphdr) + sizeof(struct udphdr) + 4)
struct udphdr *udp;
otl->otl_pktsize < sizeof (struct ip) + sizeof (struct udphdr) +
if (otl->otl_hdrsize + ip->ip_hl * 4 + sizeof (struct udphdr) >
udp = (struct udphdr *)(vdq->vdq_buf + otl->otl_hdrsize +
sizeof (struct udphdr));
sizeof (struct udphdr));
struct udphdr *udphp;
udphp = (struct udphdr *)(mp->b_rptr +
struct udphdr *udphp;
mp->b_rptr -= sizeof (struct udphdr);
udphp = (struct udphdr *)(mp->b_rptr);
return (sizeof (struct udphdr));
return (((struct udphdr *)udphp)->uh_sport);
return (((struct udphdr *)udphp)->uh_dport);
sizeof (struct udphdr);
struct udphdr *udp =
(struct udphdr *)((char *)ipha + IPH_HDR_LENGTH(ipha));
overhead += sizeof (struct udphdr);
frpr_short6(fin, sizeof(struct udphdr));
if (frpr_pullup(fin, sizeof(struct udphdr)) == -1)
typedef struct udphdr udphdr_t;
struct udphdr udp;
l4HdrLen = sizeof(struct udphdr);
struct udphdr *udpp = (struct udphdr *)(mp->b_rptr + offset + iplen);
((struct udphdr *)(csum_loc))->uh_sum = csum;
tcp_udp_hdr_len = sizeof (struct udphdr);
struct udphdr *udp_hdr;
udp_hdr = (struct udphdr *)(void *)
struct udphdr *udp_hdr;
udp_hdr = (struct udphdr *)(void *)
struct udphdr *udph = (struct udphdr *)l4_start;
struct udphdr *udph;
udph = (struct udphdr *)((uchar_t *)ipha + IPH_HDR_LENGTH(ipha));
struct udphdr *udph;
udph = (struct udphdr *)((uchar_t *)ip6h + hdrlen);
*hdr_sizep = sizeof (struct udphdr);
stuff = start + offsetof(struct udphdr, uh_sum);
stuff = start + offsetof(struct udphdr, uh_sum);
struct udphdr *udp_hdr;
udp_hdr = (struct udphdr *)(void *)
struct udphdr *uhp;
len = off + sizeof (struct udphdr);
uhp = (struct udphdr *)(mp->b_rptr + off);
off += sizeof (struct udphdr);
size -= sizeof (struct udphdr);
struct udphdr ui_u; /* udp header */
ASSERT3U(len, >=, sizeof (struct udphdr));