Home
last modified time | relevance | path

Searched refs:IPPROTO_UDP (Results 1 – 25 of 281) sorted by relevance

12345678910>>...12

/freebsd/tests/sys/netinet/libalias/
H A D3_natin.c57 …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/sbin/ipf/libipf/
H A Dipft_tx.c214 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()
H A Dprintpacket6.c45 if (p == IPPROTO_TCP || p == IPPROTO_UDP) in printpacket6()
54 if (p == IPPROTO_TCP || p == IPPROTO_UDP) in printpacket6()
H A Dprintpacket.c78 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/sys/netipsec/
H A Dudpencap.c289 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/contrib/pf/tftp-proxy/
H A Dtftp-proxy.c226 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/stand/libsa/
H A Dudp.c84 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/sys/netinet/
H A Din_rss.c128 } else if ((proto == IPPROTO_UDP) && in rss_proto_software_hash_v4()
173 } else if ((proto == IPPROTO_UDP) && in xps_proto_software_hash_v4()
265 case IPPROTO_UDP: in rss_mbuf_software_hash_v4()
327 (proto == IPPROTO_UDP) && in rss_mbuf_software_hash_v4()
/freebsd/sbin/ipf/ipsend/
H A Dipsend.c148 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()
H A Dresend.c45 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/contrib/tcpdump/
H A Dipproto.h65 #ifndef IPPROTO_UDP
66 #define IPPROTO_UDP 17 /* user datagram protocol */ macro
/freebsd/sys/netinet6/
H A Din6_rss.c129 } else if ((proto == IPPROTO_UDP) && in rss_proto_software_hash_v6()
175 } else if ((proto == IPPROTO_UDP) && in xps_proto_software_hash_v6()
297 case IPPROTO_UDP: in rss_mbuf_software_hash_v6()
353 (proto == IPPROTO_UDP)) { in rss_mbuf_software_hash_v6()
/freebsd/lib/libc/rpc/
H A Dpmap_clnt.c65 if ((protocol != IPPROTO_UDP) && (protocol != IPPROTO_TCP)) { in pmap_set()
68 nconf = __rpc_getconfip(protocol == IPPROTO_UDP ? "udp" : "tcp"); in pmap_set()
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv4localudp.ksh85 args[4]->ipv4_protocol == IPPROTO_UDP/
98 args[4]->ipv4_protocol == IPPROTO_UDP/
/freebsd/usr.sbin/rpcbind/
H A Dpmap_svc.c214 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/sys/netinet/libalias/
H A Dalias.c349 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 …]
H A Dalias_smedia.c156 *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/usr.sbin/ip6addrctl/
H A Dip6addrctl.c367 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0) in mask2plen()
451 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0) in usage()
470 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0)
484 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0)
/freebsd/sbin/dhclient/
H A Dpacket.c124 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()
237 IPPROTO_UDP + (u_int32_t)ntohs(udp->uh_ulen)); in decode_udp_ip_header()
/freebsd/tools/tools/net80211/wesside/dics/
H A Ddics.c200 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/usr.bin/systat/
H A Dip.c274 name[2] = IPPROTO_UDP; in initip()
309 name[2] = IPPROTO_UDP; in resetip()
334 name[2] = IPPROTO_UDP; in fetchip()
/freebsd/tests/sys/netinet/
H A Digmp.py114 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/contrib/ofed/librdmacm/
H A Daddrinfo.c77 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/contrib/netbsd-tests/net/net/
H A Dt_pktinfo.c63 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/usr.sbin/traceroute6/
H A Dtraceroute6.c341 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()
912 datalen + ((useproto == IPPROTO_UDP) ? sizeof(struct udphdr) : 0)); in main()
1137 case IPPROTO_UDP: in send_probe()
1424 case IPPROTO_UDP: in packet_ok()
1531 case IPPROTO_UDP: in get_uphdr()
1806 pseudo_hdr.next = IPPROTO_UDP; in tcp_chksum()

12345678910>>...12