udphdr
struct udphdr *ud;
ud = (struct udphdr *) ((char *) pip + (pip->ip_hl << 2));
struct udphdr *ud;
ud = (struct udphdr *) ((char *) ip + (ip->ip_hl <<2));
struct udphdr *ud;
ud = (struct udphdr *) ((char *) ip + (ip->ip_hl <<2));
struct udphdr *ud;
ud = (struct udphdr *) ((char *) pip + (pip->ip_hl << 2));
struct udphdr *ud;
ud = (struct udphdr *) ((char *) pip + (pip->ip_hl << 2));
ud = (struct udphdr *)((char *)pip + (pip->ip_hl << 2));
struct udphdr *ud;
ud = (struct udphdr *)((char *)pip + (pip->ip_hl << 2));
if (ntohs(ud->uh_ulen) - sizeof(struct udphdr) >= sizeof(struct cu_header)) {
struct udphdr *ud;
struct udphdr * uh;
uh = (struct udphdr *) ((char *) pip + (pip->ip_hl << 2));
ndh = (NbtDataHeader *)((char *)uh + (sizeof (struct udphdr)));
struct udphdr * uh;
uh = (struct udphdr *) ((char *) pip + (pip->ip_hl << 2));
nsh = (NbtNSHeader *)((char *)uh + (sizeof(struct udphdr)));
struct udphdr udp;
struct udphdr *udp;
udp = (struct udphdr *)(buf + bufix + ip_len);
struct udphdr* udphdr;
udphdr = (struct udphdr *)((char *)ip + (ip->ip_hl << 2));
ntohs(udphdr->uh_sport),
ntohs(udphdr->uh_dport));
struct udphdr *uh;
uh = (struct udphdr *) pkt - 1;
struct udphdr *uh;
uh = (struct udphdr *) pkt - 1;
struct udphdr *uh;
uh = (struct udphdr *)pkt - 1;
struct udphdr *uh;
uh = (struct udphdr *)pkt - 1;
hdr_len + offsetof(struct udphdr, uh_sum);
hdr_len + offsetof(struct udphdr, uh_sum);
struct udphdr *uh = (struct udphdr *)pp;
struct udphdr *udp;
case offsetof(struct udphdr, uh_sum):
if (m->m_len < hdr->csum_start + sizeof(struct udphdr))
udp = (struct udphdr *)(mtod(m, uint8_t *) + hdr->csum_start);
struct udphdr *const udp = (struct udphdr *) ((caddr_t) ip6+ off);
struct udphdr *udp;
udp = (struct udphdr *) ((caddr_t)ip6 + off);
struct udphdr *udp = (struct udphdr *)(((char *)ip) + (ip->ip_hl << 2));
struct udphdr *const udp = (struct udphdr *)icmp;
port = &L3HDR(struct udphdr, ip)->uh_sport;
csum = &L3HDR(struct udphdr, ip)->uh_sum;
port = &L3HDR(struct udphdr, ip)->uh_dport;
csum = &L3HDR(struct udphdr, ip)->uh_sum;
struct udphdr *udp;
PULLUP_TO(hlen + sizeof(struct udphdr));
udp = L3HDR(struct udphdr, ip);
struct udphdr *udp;
PULLUP_TO(hlen + sizeof(struct udphdr));
udp = L3HDR(struct udphdr, ip);
old_port = &L3HDR(struct udphdr, ip)->uh_dport;
csum = &L3HDR(struct udphdr, ip)->uh_sum;
old_port = &L3HDR(struct udphdr, ip)->uh_sport;
csum = &L3HDR(struct udphdr, ip)->uh_sum;
struct udphdr *uh = pd->hdr.udp;
struct udphdr uh;
if (off < sizeof(struct ip) || len < sizeof(struct udphdr))
struct udphdr uh;
ntohs(uh.uh_ulen) < sizeof(struct udphdr)) {
struct udphdr uh;
ntohs(uh.uh_ulen) < sizeof(struct udphdr)) {
struct udphdr *udp;
M_CHECK(sizeof(struct udphdr));
if (iplen < iphlen + sizeof(struct udphdr)) {
if (m->m_len < hoff + iphlen + sizeof(struct udphdr)) {
m = m_pullup(m, hoff + iphlen + sizeof(struct udphdr));
struct udphdr *uh;
uh = (struct udphdr *)((caddr_t)ip + iphlen);
ui->ui_ulen = htons((u_short)len + sizeof(struct udphdr));
htons((u_short)len + sizeof(struct udphdr) + IPPROTO_UDP));
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
m->m_pkthdr.csum_thlen = sizeof(struct udphdr);
arg->iphlen + sizeof(struct udphdr),
struct udphdr *uh;
KASSERT(m->m_len >= iphlen + sizeof(struct udphdr),
uh = (struct udphdr *)((caddr_t)ip + iphlen);
if (len > ip_len || len < sizeof(struct udphdr)) {
iphlen + sizeof(struct udphdr), &udp_in);
m_adj(m, iphlen + sizeof(struct udphdr));
const struct udphdr *uh;
uh = (const struct udphdr *)
const struct udphdr *uh;
uh = (const struct udphdr *)((caddr_t)ip + (ip->ip_hl << 2));
struct udphdr ui_u; /* udp header */
u_int32_t plen = sizeof(struct udphdr) + ulen;
struct udphdr *udp6;
M_PREPEND(m, hlen + sizeof(struct udphdr), M_NOWAIT);
udp6 = (struct udphdr *)(mtod(m, caddr_t) + hlen);
struct udphdr *uh;
IP6_EXTHDR_CHECK(m, off, sizeof(struct udphdr), IPPROTO_DONE);
uh = (struct udphdr *)((caddr_t)ip6 + off);
m_adj(n, off + sizeof(struct udphdr));
m_adj(m, off + sizeof(struct udphdr));
m_adj(m, off + sizeof(struct udphdr));
struct udphdr uh;
struct udphdr* uh;
uh = (struct udphdr*) ((char*)iph + 20);
struct udphdr* uh;
uh = (struct udphdr*) ((char*)iph + 20);
struct udphdr* uh;
uh = (struct udphdr*) ptr;
struct udphdr* uh;
uh = (struct udphdr*) ((char*)ih + 20);
psum = htons((u_short)pktg->pktg_datalen + sizeof(struct udphdr) +
ulen = htons(pktg->pktg_datalen + sizeof(struct udphdr));
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
const struct udphdr *uh;
uh = (const struct udphdr *)payload;
ip_LogDNS(const struct udphdr *uh, const char *direction)
const struct udphdr *uh;
uh = (const struct udphdr *)payload;
uh = (const struct udphdr *)payload;
sizeof(struct udphdr) -
sizeof(struct udphdr) -
struct udphdr *up;
up = (struct udphdr *)((u_char *)hip + hlen);
sizeof(struct udphdr) + sizeof(struct packetdata));
struct udphdr *up = (struct udphdr *)(p + lsrrlen);
if (((struct udphdr *)up)->uh_sport == htons(srcport) &&
((struct udphdr *)up)->uh_dport == htons(port + seq))