Home
last modified time | relevance | path

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

12345

/dragonfly/lib/libalias/
H A Dalias.c345 if (ip->ip_p == IPPROTO_UDP) in IcmpAliasIn2()
348 IPPROTO_UDP, 0); in IcmpAliasIn2()
537 if (ip->ip_p == IPPROTO_UDP) in IcmpAliasOut2()
540 IPPROTO_UDP, 0); in IcmpAliasOut2()
747 IPPROTO_UDP, 1); in UdpAliasIn()
816 IPPROTO_UDP, 1); in UdpAliasOut()
843 ud->uh_sport, alias_port, IPPROTO_UDP); in UdpAliasOut()
1256 case IPPROTO_UDP: in PacketAliasIn()
1369 case IPPROTO_UDP: in PacketAliasOut()
1419 if (pip->ip_p == IPPROTO_UDP) in PacketUnaliasOut()
[all …]
H A Dalias_smedia.c228 IPPROTO_UDP, 1))) { in alias_rtsp_out()
240 IPPROTO_UDP); in alias_rtsp_out()
347 port, 0, IPPROTO_UDP, 1); in alias_pna_out()
H A Dalias_cuseeme.c83 ud->uh_dport, 0, IPPROTO_UDP, 1); in AliasHandleCUSeeMeOut()
/dragonfly/contrib/tcpdump/
H A Dipproto.h65 #ifndef IPPROTO_UDP
66 #define IPPROTO_UDP 17 /* user datagram protocol */ macro
H A Dprint-udp.c304 IPPROTO_UDP); in udp_cksum()
311 IPPROTO_UDP); in udp6_cksum()
325 if (GET_U_1(ip6->ip6_nxt) == IPPROTO_UDP) { in udpipaddr_print()
345 if (GET_U_1(ip->ip_p) == IPPROTO_UDP) { in udpipaddr_print()
/dragonfly/usr.sbin/rpcbind/
H A Dpmap_svc.c213 if (reg.pm_prot == IPPROTO_UDP) { in pmapproc_change()
281 reg.pm_prot == IPPROTO_UDP ? "udp" : "tcp", uaddr); in pmapproc_getport()
291 if (reg.pm_prot == IPPROTO_UDP) { in pmapproc_getport()
328 reg.pm_prot == IPPROTO_UDP ? udptrans : tcptrans, in pmapproc_getport()
/dragonfly/sys/netinet6/
H A Dudp6_output.c136 IPPROTO_UDP, priv)) != 0) in udp6_output()
242 ip6->ip6_nxt = IPPROTO_UDP; in udp6_output()
249 if ((udp6->uh_sum = in6_cksum(m, IPPROTO_UDP, in udp6_output()
/dragonfly/lib/libc/rpc/
H A Dpmap_clnt.c67 if ((protocol != IPPROTO_UDP) && (protocol != IPPROTO_TCP)) { in pmap_set()
70 nconf = __rpc_getconfip(protocol == IPPROTO_UDP ? "udp" : "tcp"); in pmap_set()
H A Drpc_generic.c93 { "udp", AF_INET, IPPROTO_UDP },
96 { "udp6", AF_INET6, IPPROTO_UDP },
146 case IPPROTO_UDP: in __rpc_get_t_size()
493 proto = IPPROTO_UDP; in __rpc_fd2sockinfo()
/dragonfly/usr.sbin/ip6addrctl/
H A Dip6addrctl.c318 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0) in set_policy()
402 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0) in add_policy()
421 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0) in delete_policy()
435 if ((s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) < 0) in flush_policy()
/dragonfly/sbin/nfsd/
H A Dnfsd.c203 s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in main()
248 hints.ai_protocol = IPPROTO_UDP; in main()
267 hints.ai_protocol = IPPROTO_UDP; in main()
359 hints.ai_protocol = IPPROTO_UDP; in main()
393 hints.ai_protocol = IPPROTO_UDP; in main()
420 hints.ai_protocol = IPPROTO_UDP; in main()
462 hints.ai_protocol = IPPROTO_UDP; in main()
/dragonfly/sbin/dhclient/
H A Dpacket.c123 ip.ip_p = IPPROTO_UDP; in assemble_udp_ip_header()
140 IPPROTO_UDP + (u_int32_t)ntohs(udp.uh_ulen))))); in assemble_udp_ip_header()
233 IPPROTO_UDP + (u_int32_t)ntohs(udp->uh_ulen))))); in decode_udp_ip_header()
H A Dbpf.c108 if ((sock = socket(AF_INET, SOCK_RAW, IPPROTO_UDP)) == -1) in if_register_send()
129 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, IPPROTO_UDP, 0, 6),
165 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, IPPROTO_UDP, 0, 8),
/dragonfly/tools/tools/net80211/wesside/dics/
H A Ddics.c202 ph->ippseudo_p = IPPROTO_UDP; in udp_checksum()
245 iph->ip_p = IPPROTO_UDP; in send_stuff()
336 us = socket (PF_INET, SOCK_DGRAM, IPPROTO_UDP); in main()
355 s = socket (PF_INET, SOCK_RAW, IPPROTO_UDP); in main()
/dragonfly/usr.sbin/traceroute6/
H A Dtraceroute6.c329 static int useproto = IPPROTO_UDP; /* protocol to use to send packet */
472 useproto = IPPROTO_UDP; in main()
502 case IPPROTO_UDP: in main()
586 case IPPROTO_UDP: in main()
872 case IPPROTO_UDP: in send_probe()
1057 case IPPROTO_UDP: in packet_ok()
1127 case IPPROTO_UDP: in get_uphdr()
/dragonfly/sys/net/ipfw3_basic/
H A Dip_fw3_state.c171 case IPPROTO_UDP: in check_check_state()
188 case IPPROTO_UDP: in check_check_state()
256 case IPPROTO_UDP: in check_keep_state()
276 case IPPROTO_UDP: in check_keep_state()
510 ioc->proto = IPPROTO_UDP; in ip_fw3_ctl_state_get()
525 ioc->proto = IPPROTO_UDP; in ip_fw3_ctl_state_get()
/dragonfly/sys/netinet/
H A Dip_demux.c246 case IPPROTO_UDP: in ip_lengthcheck()
317 case IPPROTO_UDP: in ip_hashfn()
347 case IPPROTO_UDP: in ip_hashcheck()
H A Din_proto.c99 .pr_protocol = IPPROTO_UDP,
362 SYSCTL_NODE(_net_inet, IPPROTO_UDP, udp, CTLFLAG_RW, 0, "UDP");
/dragonfly/stand/lib/
H A Dudp.c88 ip->ip_p = IPPROTO_UDP; /* char */ in sendudp()
174 ip->ip_p != IPPROTO_UDP) { /* half char */ in readudp()
/dragonfly/usr.sbin/ypbind/
H A Dyp_ping.c235 YPVERS, IPPROTO_UDP)); in __yp_ping()
253 sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in __yp_ping()
/dragonfly/lib/librpcsvc/
H A Dyp_passwd.c71 YPPASSWDPROC_UPDATE, IPPROTO_UDP); in _yppasswd()
/dragonfly/usr.bin/sockstat/
H A Dsockstat.c197 case IPPROTO_UDP: in gather_inet()
239 case IPPROTO_UDP: in gather_inet()
595 gather_inet(IPPROTO_UDP); in main()
/dragonfly/usr.sbin/bootparamd/bootparamd/
H A Dmain.c102 if (!svc_register(transp, BOOTPARAMPROG, BOOTPARAMVERS, bootparamprog_1, IPPROTO_UDP)) in main()
/dragonfly/usr.sbin/traceroute/
H A Dtraceroute.c306 static u_char proto = IPPROTO_UDP;
503 case IPPROTO_UDP: in main()
917 case IPPROTO_UDP: in send_probe()
1055 case IPPROTO_UDP: in packet_ok()
/dragonfly/contrib/libpcap/
H A Dnametoaddr.c386 hints.ai_protocol = IPPROTO_UDP; in pcap_nametoport()
451 *proto = IPPROTO_UDP; in pcap_nametoport()

12345