Searched refs:IPPROTO_UDP (Results 1 - 25 of 226) sorted by relevance

12345678910

/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv4localudp.ksh68 args[4]->ipv4_protocol == IPPROTO_UDP/
81 args[4]->ipv4_protocol == IPPROTO_UDP/
H A Dtst.ipv4remoteudp.ksh71 args[4]->ipv4_protocol == IPPROTO_UDP/
/freebsd-11-stable/contrib/tcpdump/
H A Dipproto.h65 #ifndef IPPROTO_UDP
66 #define IPPROTO_UDP 17 /* user datagram protocol */ macro
H A Dipproto.c33 { IPPROTO_UDP, "UDP" },
85 "udp", /* 17 (IPPROTO_UDP, User Datagram) */
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dprintpacket6.c48 if (p == IPPROTO_TCP || p == IPPROTO_UDP)
57 if (p == IPPROTO_TCP || p == IPPROTO_UDP)
H A Dipft_tx.c226 ip->ip_p = IPPROTO_UDP;
243 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) {
263 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) {
330 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP)
375 ip6->ip6_nxt = IPPROTO_UDP;
396 case IPPROTO_UDP :
406 if (ip6->ip6_nxt == IPPROTO_TCP || ip6->ip6_nxt == IPPROTO_UDP) {
431 if (ip6->ip6_nxt == IPPROTO_TCP || ip6->ip6_nxt == IPPROTO_UDP) {
493 if (ip6->ip6_nxt == IPPROTO_TCP || ip6->ip6_nxt == IPPROTO_UDP) {
H A Dprintpacket.c81 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP)
86 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP)
/freebsd-11-stable/lib/librpcsvc/
H A Dyp_passwd.c71 YPPASSWDPROC_UPDATE, IPPROTO_UDP);
/freebsd-11-stable/lib/libc/rpc/
H A Dpmap_clnt.c70 if ((protocol != IPPROTO_UDP) && (protocol != IPPROTO_TCP)) {
73 nconf = __rpc_getconfip(protocol == IPPROTO_UDP ? "udp" : "tcp");
/freebsd-11-stable/sys/netipsec/
H A Dudpencap.c241 ip->ip_p = IPPROTO_UDP;
253 IPSEC_ASSERT(proto == IPPROTO_UDP || proto == IPPROTO_TCP,
256 if (proto == IPPROTO_UDP)
267 if (proto == IPPROTO_UDP && cksum == 0)
288 (proto == IPPROTO_UDP) ? CSUM_UDP: CSUM_TCP;
/freebsd-11-stable/stand/libsa/
H A Dudp.c89 ui->ui_pr = IPPROTO_UDP;
98 cc = sendip(d, uh, len, IPPROTO_UDP);
123 n = readip(d, &ptr, (void **)&uh, tleft, IPPROTO_UDP);
/freebsd-11-stable/contrib/pf/tftp-proxy/
H A Dtftp-proxy.c226 IPPROTO_UDP) != 0) {
233 SOCK_DGRAM, IPPROTO_UDP)) < 0) {
283 IPPROTO_UDP) == -1) {
293 IPPROTO_UDP) == -1) {
300 IPPROTO_UDP) == -1) {
309 IPPROTO_UDP) == -1) {
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgetaddrinfo_hostspec.c61 { "udp/", SOCK_DGRAM, IPPROTO_UDP, 0 },
/freebsd-11-stable/usr.sbin/rpcbind/
H A Dpmap_svc.c221 if (reg.pm_prot == IPPROTO_UDP) {
289 reg.pm_prot == IPPROTO_UDP ? "udp" : "tcp", uaddr);
299 if (reg.pm_prot == IPPROTO_UDP) {
336 reg.pm_prot == IPPROTO_UDP ? udptrans : tcptrans,
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Dipsend.c157 ph.h.proto = IPPROTO_UDP;
259 ip->ip_p = IPPROTO_UDP;
296 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP)
368 } else if (ip->ip_p == IPPROTO_UDP) {
407 if (ip->ip_p == IPPROTO_UDP) {
H A Dresend.c50 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP)
53 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP)
/freebsd-11-stable/contrib/netbsd-tests/net/net/
H A Dt_pktinfo.c63 if ((s = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1)
91 if ((s = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1)
/freebsd-11-stable/sys/netinet/
H A Dudp_var.h157 return (protocol == IPPROTO_UDP) ? &V_udbinfo : &V_ulitecbinfo;
163 return (protocol == IPPROTO_UDP) ? &V_udb : &V_ulitecb;
H A Din_rss.c135 } else if ((proto == IPPROTO_UDP) &&
232 case IPPROTO_UDP:
294 (proto == IPPROTO_UDP) &&
/freebsd-11-stable/contrib/ntp/libntp/
H A Dsocktohost.c60 hints.ai_protocol = IPPROTO_UDP;
/freebsd-11-stable/tools/regression/netinet/arphold/
H A Darphold.c85 if ((sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) {
/freebsd-11-stable/tools/tools/net80211/wesside/dics/
H A Ddics.c202 ph->ippseudo_p = IPPROTO_UDP;
245 iph->ip_p = IPPROTO_UDP;
336 us = socket (PF_INET, SOCK_DGRAM, IPPROTO_UDP);
355 s = socket (PF_INET, SOCK_RAW, IPPROTO_UDP);
/freebsd-11-stable/usr.sbin/bootparamd/bootparamd/
H A Dmain.c102 if (!svc_register(transp, BOOTPARAMPROG, BOOTPARAMVERS, bootparamprog_1, IPPROTO_UDP))
/freebsd-11-stable/usr.sbin/ip6addrctl/
H A Dip6addrctl.c316 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0)
400 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0)
419 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0)
433 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0)
/freebsd-11-stable/sys/netinet6/
H A Din6_rss.c136 } else if ((proto == IPPROTO_UDP) &&
260 case IPPROTO_UDP:
316 (proto == IPPROTO_UDP)) {

Completed in 300 milliseconds

12345678910