| /freebsd-head/tests/sys/netinet/libalias/ |
| HD | 3_natin.c | 57 …ibAliasRedirectPort(la, prv1, ntohs(0x1234), ext, ntohs(0x5678), masq, ntohs(0xabcd), IPPROTO_UDP); 79 …2 = LibAliasRedirectPort(la, prv2, ntohs(0x1234), ext, ntohs(0), masq, ntohs(0xabcd), IPPROTO_UDP); 100 …asRedirectPort(la, prv3, ntohs(0x1234), ANY_ADDR, ntohs(0x5678), masq, ntohs(0xabcd), IPPROTO_UDP); 121 …LibAliasRedirectPort(la, cgn, ntohs(0x1234), ANY_ADDR, ntohs(0), masq, ntohs(0xabcd), IPPROTO_UDP); 159 …ibAliasRedirectPort(la, prv2, ntohs(0x1234), ext, ntohs(0x5678), masq, ntohs(0xabcd), IPPROTO_UDP); 172 …ibAliasRedirectPort(la, prv1, ntohs(0x1234), ext, ntohs(0x5678), masq, ntohs(0xabcd), IPPROTO_UDP); 184 …2 = LibAliasRedirectPort(la, prv2, ntohs(0x1234), ext, ntohs(0), masq, ntohs(0xabcd), IPPROTO_UDP); 198 …asRedirectPort(la, prv3, ntohs(0x1234), ANY_ADDR, ntohs(0x5678), masq, ntohs(0xabcd), IPPROTO_UDP); 213 …LibAliasRedirectPort(la, cgn, ntohs(0x1234), ANY_ADDR, ntohs(0), masq, ntohs(0xabcd), IPPROTO_UDP); 238 …= LibAliasRedirectPort(la, prv1, ntohs(0x1234), ANY_ADDR, 0, ANY_ADDR, ntohs(0xabcd), IPPROTO_UDP); [all …]
|
| /freebsd-head/sbin/ipf/libipf/ |
| HD | ipft_tx.c | 214 ip->ip_p = IPPROTO_UDP; in parseline() 231 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) { in parseline() 251 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) { in parseline() 319 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in parseline() 361 ip6->ip6_nxt = IPPROTO_UDP; in parseipv6() 382 case IPPROTO_UDP : in parseipv6() 392 if (ip6->ip6_nxt == IPPROTO_TCP || ip6->ip6_nxt == IPPROTO_UDP) { in parseipv6() 417 if (ip6->ip6_nxt == IPPROTO_TCP || ip6->ip6_nxt == IPPROTO_UDP) { in parseipv6() 480 if (ip6->ip6_nxt == IPPROTO_TCP || ip6->ip6_nxt == IPPROTO_UDP) { in parseipv6()
|
| HD | printpacket6.c | 45 if (p == IPPROTO_TCP || p == IPPROTO_UDP) in printpacket6() 54 if (p == IPPROTO_TCP || p == IPPROTO_UDP) in printpacket6()
|
| HD | printpacket.c | 78 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in printpacket() 83 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in printpacket()
|
| /freebsd-head/sys/netipsec/ |
| HD | udpencap.c | 289 ip->ip_p = IPPROTO_UDP; in udp_ipsec_output() 301 ip6->ip6_nxt = IPPROTO_UDP; in udp_ipsec_output() 324 IPSEC_ASSERT(proto == IPPROTO_UDP || proto == IPPROTO_TCP, in udp_ipsec_adjust_cksum() 327 if (proto == IPPROTO_UDP) in udp_ipsec_adjust_cksum() 338 if (proto == IPPROTO_UDP && cksum == 0) in udp_ipsec_adjust_cksum() 379 (proto == IPPROTO_UDP) ? CSUM_UDP : CSUM_TCP; in udp_ipsec_adjust_cksum() 396 (proto == IPPROTO_UDP) ? CSUM_UDP_IPV6 : CSUM_TCP_IPV6; in udp_ipsec_adjust_cksum()
|
| /freebsd-head/contrib/pf/tftp-proxy/ |
| HD | tftp-proxy.c | 226 IPPROTO_UDP) != 0) { in main() 233 SOCK_DGRAM, IPPROTO_UDP)) < 0) { in main() 283 IPPROTO_UDP) == -1) { in main() 293 IPPROTO_UDP) == -1) { in main() 300 IPPROTO_UDP) == -1) { in main() 309 IPPROTO_UDP) == -1) { in main()
|
| /freebsd-head/stand/libsa/ |
| HD | udp.c | 84 ui->ui_pr = IPPROTO_UDP; in sendudp() 93 cc = sendip(d, uh, len, IPPROTO_UDP); in sendudp() 118 n = readip(d, &ptr, (void **)&uh, tleft, IPPROTO_UDP); in readudp()
|
| /freebsd-head/sys/netinet/ |
| HD | in_rss.c | 127 } else if ((proto == IPPROTO_UDP) && in rss_proto_software_hash_v4() 172 } else if ((proto == IPPROTO_UDP) && in xps_proto_software_hash_v4() 264 case IPPROTO_UDP: in rss_mbuf_software_hash_v4() 326 (proto == IPPROTO_UDP) && in rss_mbuf_software_hash_v4()
|
| /freebsd-head/sbin/ipf/ipsend/ |
| HD | ipsend.c | 148 ph.h.proto = IPPROTO_UDP; in udpcksum() 249 ip->ip_p = IPPROTO_UDP; in main() 286 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in main() 358 } else if (ip->ip_p == IPPROTO_UDP) { in main() 406 if (ip->ip_p == IPPROTO_UDP) { in main()
|
| HD | resend.c | 45 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in dumppacket() 48 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in dumppacket()
|
| /freebsd-head/contrib/tcpdump/ |
| HD | ipproto.h | 65 #ifndef IPPROTO_UDP 66 #define IPPROTO_UDP 17 /* user datagram protocol */ macro
|
| /freebsd-head/sys/netinet6/ |
| HD | in6_rss.c | 128 } else if ((proto == IPPROTO_UDP) && in rss_proto_software_hash_v6() 174 } else if ((proto == IPPROTO_UDP) && in xps_proto_software_hash_v6() 296 case IPPROTO_UDP: in rss_mbuf_software_hash_v6() 352 (proto == IPPROTO_UDP)) { in rss_mbuf_software_hash_v6()
|
| /freebsd-head/lib/libc/rpc/ |
| HD | pmap_clnt.c | 65 if ((protocol != IPPROTO_UDP) && (protocol != IPPROTO_TCP)) { in pmap_set() 68 nconf = __rpc_getconfip(protocol == IPPROTO_UDP ? "udp" : "tcp"); in pmap_set()
|
| /freebsd-head/usr.sbin/rpcbind/ |
| HD | pmap_svc.c | 214 if (reg.pm_prot == IPPROTO_UDP) { in pmapproc_change() 282 reg.pm_prot == IPPROTO_UDP ? "udp" : "tcp", uaddr); in pmapproc_getport() 292 if (reg.pm_prot == IPPROTO_UDP) { in pmapproc_getport() 329 reg.pm_prot == IPPROTO_UDP ? udptrans : tcptrans, in pmapproc_getport()
|
| /freebsd-head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/ |
| HD | tst.ipv4localudp.ksh | 85 args[4]->ipv4_protocol == IPPROTO_UDP/ 98 args[4]->ipv4_protocol == IPPROTO_UDP/
|
| /freebsd-head/sys/netinet/libalias/ |
| HD | alias.c | 349 if (ip->ip_p == IPPROTO_UDP) { in IcmpAliasIn2() 352 IPPROTO_UDP, 0, &lnk); in IcmpAliasIn2() 374 if (ip->ip_p == IPPROTO_UDP || ip->ip_p == IPPROTO_TCP) { in IcmpAliasIn2() 547 if (ip->ip_p == IPPROTO_UDP) { in IcmpAliasOut2() 550 IPPROTO_UDP, 0, &lnk); in IcmpAliasOut2() 572 if (ip->ip_p == IPPROTO_UDP || ip->ip_p == IPPROTO_TCP) { in IcmpAliasOut2() 773 IPPROTO_UDP, !(la->packetAliasMode & PKT_ALIAS_PROXY_ONLY), &lnk); in UdpAliasIn() 899 IPPROTO_UDP, create, &lnk); in UdpAliasOut() 1380 case IPPROTO_UDP: in LibAliasInLocked() 1534 case IPPROTO_UDP: in LibAliasOutLocked() [all …]
|
| HD | alias_smedia.c | 156 *ah->sport, *ah->aport, IPPROTO_UDP); in protohandler() 315 IPPROTO_UDP, 1))) { in alias_rtsp_out() 330 IPPROTO_UDP); in alias_rtsp_out() 439 port, 0, IPPROTO_UDP, 1, &pna_links); in alias_pna_out()
|
| /freebsd-head/usr.sbin/ip6addrctl/ |
| HD | ip6addrctl.c | 367 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0) in set_policy() 451 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0) in add_policy() 470 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0) in delete_policy() 484 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0) in flush_policy()
|
| /freebsd-head/sbin/dhclient/ |
| HD | packet.c | 124 ip.ip_p = IPPROTO_UDP; in assemble_udp_ip_header() 141 IPPROTO_UDP + (u_int32_t)ntohs(udp.uh_ulen))))); in assemble_udp_ip_header() 232 IPPROTO_UDP + (u_int32_t)ntohs(udp->uh_ulen))))); in decode_udp_ip_header()
|
| /freebsd-head/tools/tools/net80211/wesside/dics/ |
| HD | dics.c | 200 ph->ippseudo_p = IPPROTO_UDP; in udp_checksum() 243 iph->ip_p = IPPROTO_UDP; in send_stuff() 334 us = socket (PF_INET, SOCK_DGRAM, IPPROTO_UDP); in main() 353 s = socket (PF_INET, SOCK_RAW, IPPROTO_UDP); in main()
|
| /freebsd-head/usr.bin/systat/ |
| HD | ip.c | 270 name[2] = IPPROTO_UDP; in initip() 305 name[2] = IPPROTO_UDP; in resetip() 330 name[2] = IPPROTO_UDP; in fetchip()
|
| /freebsd-head/tests/sys/netinet/ |
| HD | igmp.py | 114 s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP) 143 s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP)
|
| /freebsd-head/contrib/ofed/librdmacm/ |
| HD | addrinfo.c | 77 ai->ai_protocol = IPPROTO_UDP; in ucma_convert_to_ai() 83 ai->ai_protocol = IPPROTO_UDP; in ucma_convert_to_ai() 170 case IPPROTO_UDP: in ucma_convert_to_rai()
|
| /freebsd-head/contrib/netbsd-tests/net/net/ |
| HD | t_pktinfo.c | 63 if ((s = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1) in server() 91 if ((s = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1) in client()
|
| /freebsd-head/usr.sbin/traceroute6/ |
| HD | traceroute6.c | 341 static int useproto = IPPROTO_UDP; /* protocol to use to send packet */ 539 useproto = IPPROTO_UDP; in main() 573 case IPPROTO_UDP: in main() 669 case IPPROTO_UDP: in main() 910 datalen + ((useproto == IPPROTO_UDP) ? sizeof(struct udphdr) : 0)); in main() 1131 case IPPROTO_UDP: in send_probe() 1418 case IPPROTO_UDP: in packet_ok() 1525 case IPPROTO_UDP: in get_uphdr() 1783 pseudo_hdr.next = IPPROTO_UDP; in udp_cksum()
|