Searched refs:udph (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/common/net/dhcp/ |
H A D | udp_sum.c | 50 udp_chksum(struct udphdr *udph, const struct in_addr *src, in udp_chksum() argument 69 ck.len = udph->uh_ulen; in udp_chksum() 79 ((caddr_t)udph)[ntohs(udph->uh_ulen)] = '\0'; in udp_chksum() 98 sp = (uint16_t *)udph; in udp_chksum()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ |
H A D | ilb_probe.c | 376 struct udphdr *udph; in check_icmp_unreach_v4() local 390 udph = (struct udphdr *)((char *)iph + (iph->ip_hl << 2)); in check_icmp_unreach_v4() 391 if (udph->uh_dport != htons(param->port)) in check_icmp_unreach_v4() 393 if (udph->uh_sport != param->lport) in check_icmp_unreach_v4() 474 struct udphdr *udph; in check_icmp_unreach_v6() local 486 udph = (struct udphdr *)(ip6h + 1); in check_icmp_unreach_v6() 488 if (udph->uh_dport != htons(param->port)) in check_icmp_unreach_v6() 490 if (udph->uh_sport != param->lport) in check_icmp_unreach_v6()
|
/titanic_41/usr/src/uts/common/io/mac/ |
H A D | mac_protect.c | 300 struct udphdr *udph; in get_dhcpv4_info() local 319 udph = (struct udphdr *)((uchar_t *)ipha + IPH_HDR_LENGTH(ipha)); in get_dhcpv4_info() 320 if ((uchar_t *)&udph[1] > end) in get_dhcpv4_info() 325 if (udph->uh_sport != client && udph->uh_sport != server && in get_dhcpv4_info() 326 udph->uh_dport != client && udph->uh_dport != server) in get_dhcpv4_info() 333 dh = (uchar_t *)&udph[1]; in get_dhcpv4_info() 789 struct udphdr *udph; in get_dhcpv6_info() local 810 udph = (struct udphdr *)((uchar_t *)ip6h + hdrlen); in get_dhcpv6_info() 811 if ((uchar_t *)&udph[1] > end) in get_dhcpv6_info() 816 if (udph->uh_sport != client && udph->uh_sport != server && in get_dhcpv6_info() [all …]
|
H A D | mac_flow.c | 2339 struct udphdr *udph = (struct udphdr *)l4_start; in flow_transport_accept() local 2341 if (PKT_TOO_SMALL(s, l4_start + sizeof (*udph))) in flow_transport_accept() 2344 l4info->l4_src_port = udph->uh_sport; in flow_transport_accept() 2345 l4info->l4_dst_port = udph->uh_dport; in flow_transport_accept()
|
/titanic_41/usr/src/cmd/mdb/common/modules/ip/ |
H A D | ip.c | 1207 udphdr_print(struct udphdr *udph) in udphdr_print() argument 1214 mdb_nhconvert(&sport, &udph->uh_sport, sizeof (sport)); in udphdr_print() 1215 mdb_nhconvert(&dport, &udph->uh_dport, sizeof (dport)); in udphdr_print() 1216 mdb_nhconvert(&hlen, &udph->uh_ulen, sizeof (hlen)); in udphdr_print() 1221 dport, dport, hlen, udph->uh_sum); in udphdr_print() 1228 struct udphdr udph; in udphdr() local 1233 if (mdb_vread(&udph, sizeof (udph), addr) == -1) { in udphdr() 1237 udphdr_print(&udph); in udphdr() 1290 struct udphdr udph; in transport_hdr() local 1292 if (mdb_vread(&udph, sizeof (udph), addr) == -1) { in transport_hdr() [all …]
|
/titanic_41/usr/src/uts/common/inet/ilb/ |
H A D | ilb.c | 1671 udpha_t *udph; in ilb_check() local 1698 udph = (udpha_t *)tph; in ilb_check() 1699 sport = udph->uha_src_port; in ilb_check() 1700 dport = udph->uha_dst_port; in ilb_check()
|