Searched refs:udph (Results 1 - 6 of 6) sorted by relevance
/illumos-gate/usr/src/common/net/dhcp/ |
H A D | udp_sum.c | 50 udp_chksum(struct udphdr *udph, const struct in_addr *src, argument 69 ck.len = udph->uh_ulen; 79 ((caddr_t)udph)[ntohs(udph->uh_ulen)] = '\0'; 98 sp = (uint16_t *)udph;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ |
H A D | ilb_probe.c | 376 struct udphdr *udph; local 390 udph = (struct udphdr *)((char *)iph + (iph->ip_hl << 2)); 391 if (udph->uh_dport != htons(param->port)) 393 if (udph->uh_sport != param->lport) 474 struct udphdr *udph; local 486 udph = (struct udphdr *)(ip6h + 1); 488 if (udph->uh_dport != htons(param->port)) 490 if (udph->uh_sport != param->lport)
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_protect.c | 312 struct udphdr *udph; local 331 udph = (struct udphdr *)((uchar_t *)ipha + IPH_HDR_LENGTH(ipha)); 332 if ((uchar_t *)&udph[1] > end) 337 if (udph->uh_sport != client && udph->uh_sport != server && 338 udph->uh_dport != client && udph->uh_dport != server) 345 dh = (uchar_t *)&udph[1]; 813 struct udphdr *udph; local 834 udph [all...] |
H A D | mac_flow.c | 2339 struct udphdr *udph = (struct udphdr *)l4_start; local 2341 if (PKT_TOO_SMALL(s, l4_start + sizeof (*udph))) 2344 l4info->l4_src_port = udph->uh_sport; 2345 l4info->l4_dst_port = udph->uh_dport;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/ |
H A D | ip.c | 1207 udphdr_print(struct udphdr *udph) argument 1214 mdb_nhconvert(&sport, &udph->uh_sport, sizeof (sport)); 1215 mdb_nhconvert(&dport, &udph->uh_dport, sizeof (dport)); 1216 mdb_nhconvert(&hlen, &udph->uh_ulen, sizeof (hlen)); 1221 dport, dport, hlen, udph->uh_sum); 1228 struct udphdr udph; local 1233 if (mdb_vread(&udph, sizeof (udph), addr) == -1) { 1237 udphdr_print(&udph); 1290 struct udphdr udph; local [all...] |
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb.c | 1671 udpha_t *udph; local 1698 udph = (udpha_t *)tph; 1699 sport = udph->uha_src_port; 1700 dport = udph->uha_dst_port;
|
Completed in 63 milliseconds