Searched refs:udp (Results 1 - 25 of 187) sorted by relevance

12345678

/freebsd-11-stable/tests/sys/mac/portacl/
H A Dnobody_test.sh20 bind_test fl fl uid nobody udp 77
21 bind_test ok ok uid nobody udp 7777
25 bind_test fl fl gid nobody udp 77
26 bind_test ok ok gid nobody udp 7777
32 bind_test fl fl uid nobody udp 77
33 bind_test ok ok uid nobody udp 7777
37 bind_test fl fl gid nobody udp 77
38 bind_test ok ok gid nobody udp 7777
46 bind_test fl fl uid nobody udp 77
47 bind_test fl ok uid nobody udp 777
[all...]
H A Droot_test.sh17 bind_test ok ok uid root udp 77
18 bind_test ok ok uid root udp 7777
22 bind_test ok ok gid root udp 77
23 bind_test ok ok gid root udp 7777
31 bind_test fl ok uid root udp 77
32 bind_test ok ok uid root udp 7777
36 bind_test fl ok gid root udp 77
37 bind_test ok ok gid root udp 7777
45 bind_test fl ok uid root udp 77
46 bind_test fl ok uid root udp 777
[all...]
/freebsd-11-stable/sbin/dhclient/
H A Dpacket.c50 #include <netinet/udp.h>
115 struct udphdr udp; local
120 ip.ip_len = htons(sizeof(ip) + sizeof(udp) + len);
133 udp.uh_sport = htons(LOCAL_PORT); /* XXX */
134 udp.uh_dport = port; /* XXX */
135 udp.uh_ulen = htons(sizeof(udp) + len);
136 memset(&udp.uh_sum, 0, sizeof(udp.uh_sum));
138 udp
166 struct udphdr *udp; local
[all...]
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_netbios_pxy.c78 udphdr_t *udp; local
86 dlen = fin->fin_dlen - sizeof(*udp);
94 udp = (udphdr_t *)fin->fin_dp;
95 off = (char *)udp - (char *)ip + sizeof(*udp) + fin->fin_ipoff;
100 * udp header;
113 dgmbuf[4] = (char)((udp->uh_sport )&0xFF);
114 dgmbuf[5] = (char)((udp->uh_sport >> 8)&0xFF);
H A Dip_tftp_pxy.c171 udphdr_t *udp; local
197 udp = (udphdr_t *)fin->fin_dp;
198 aps->aps_sport = udp->uh_sport;
199 aps->aps_dport = udp->uh_dport;
298 udphdr_t udp; local
315 bzero((char *)&udp, sizeof(udp));
316 udp.uh_sport = 0; /* XXX - don't specify remote port */
317 udp.uh_dport = ti->ti_rule->in_ndport;
318 udp
431 udphdr_t *udp; local
[all...]
/freebsd-11-stable/contrib/ipfilter/rules/
H A Dipmon.conf11 match { protocol = udp, result = block; }
12 do { file("file:///var/log/udp-block"); };
23 protocol = udp, srcip = 10.1.0.0/16, dstip = 192.168.1.0/24; }
H A DBASIC.NAT17 map ppp0 w.x.y.z/24 -> a.b.c.d/32 portmap tcp/udp 40000:60000
22 #map ppp0 w.x.y.z/24 -> 0/32 portmap tcp/udp 40000:60000
28 #map ppp0 w.x.y.z/24 -> a.b.c.d/24 portmap tcp/udp 40000:60000
33 #map ppp0 w.x.y.v/32 -> a.b.c.E/32 portmap tcp/udp 40000:60000
35 #map ppp0 w.x.y.u/32 -> a.b.c.F/32 portmap tcp/udp 40000:60000
37 #map ppp0 w.x.y.t/32 -> a.b.c.G/32 portmap tcp/udp 40000:60000
39 #map ppp0 w.x.y.s/32 -> a.b.c.H/32 portmap tcp/udp 40000:60000
41 #map ppp0 w.x.y.r/32 -> a.b.c.I/32 portmap tcp/udp 40000:60000
43 #map ppp0 w.x.y.q/32 -> a.b.c.J/32 portmap tcp/udp 40000:60000
45 #map ppp0 w.x.y.p/32 -> a.b.c.K/32 portmap tcp/udp 4000
[all...]
H A DBASIC_1.FW29 block in log proto udp all head 202 group 200
60 pass in quick proto udp from any to any port = 53 keep state group 202
65 #pass in quick proto udp from any to w.x.y.z/32 port = 53 keep state group 202
66 #pass out quick on ppp0 proto udp from a.b.c.d/32 to any port = 53 keep state
76 pass in quick proto udp from any to any port = ntp keep state group 202
92 pass in log quick proto udp from any to any port = 53 keep state group 100
99 block return-icmp(net-unr) in proto udp all group 100
/freebsd-11-stable/cddl/usr.sbin/dtrace/tests/common/mib/
H A DMakefile12 tst.udp.ksh \
/freebsd-11-stable/sys/netinet/
H A Din_kdtrace.c38 SDT_PROVIDER_DEFINE(udp); variable
143 SDT_PROBE_DEFINE5_XLATE(udp, , , receive,
150 SDT_PROBE_DEFINE5_XLATE(udp, , , send,
H A Din_kdtrace.h34 SDT_PROBE5(udp, , , probe, arg0, arg1, arg2, arg3, arg4)
50 SDT_PROVIDER_DECLARE(udp); variable
70 SDT_PROBE_DECLARE(udp, , , receive);
71 SDT_PROBE_DECLARE(udp, , , send);
/freebsd-11-stable/usr.sbin/bhyve/
H A Dusb_emul.c48 struct usb_devemu **udpp, *udp; local
51 udp = *udpp;
52 if (!strcmp(udp->ue_emu, name))
53 return (udp);
/freebsd-11-stable/sys/netipsec/
H A Dudpencap.c49 #include <netinet/udp.h>
120 struct udphdr *udp; local
172 udp = mtodo(m, hlen);
174 sav->natt->sport != udp->uh_sport ||
175 sav->natt->dport != udp->uh_dport) {
196 m_striphdr(m, hlen, sizeof(*udp));
215 struct udphdr *udp; local
227 n = m_makespace(m, hlen, sizeof(*udp), &off);
233 udp = mtodo(n, off);
234 udp
[all...]
/freebsd-11-stable/sys/fs/nfs/
H A Dnfsrvcache.h60 } udp; member in union:nfsrvcache::__anon12016
77 #define rc_inet rc_un2.udp.haddr.had_inet.s_addr
78 #define rc_inet6 rc_un2.udp.haddr.had_inet6
79 #define rc_haddr rc_un2.udp.haddr
/freebsd-11-stable/usr.sbin/ppp/
H A Dncp.h43 struct port_range tcp, udp; /* The range of urgent ports */ member in struct:ncp::__anon8880::__anon8881
83 ncp_IsUrgentPort(&(ncp)->cfg.urgent.udp, p1, p2)
87 ncp_AddUrgentPort(&(ncp)->cfg.urgent.udp, p)
91 ncp_RemoveUrgentPort(&(ncp)->cfg.urgent.udp, p)
95 ncp_ClearUrgentPorts(&(ncp)->cfg.urgent.udp)
H A Dncp.c114 ncp->cfg.urgent.udp.nports = ncp->cfg.urgent.udp.maxports = 0;
115 ncp->cfg.urgent.udp.port = NULL;
141 if (ncp->cfg.urgent.udp.maxports) {
142 ncp->cfg.urgent.udp.nports = ncp->cfg.urgent.udp.maxports = 0;
143 free(ncp->cfg.urgent.udp.port);
144 ncp->cfg.urgent.udp.port = NULL;
483 if (ncp->cfg.urgent.udp.nports == 0)
486 for (p = 0; p < ncp->cfg.urgent.udp
[all...]
/freebsd-11-stable/tools/regression/ipfw/fwd/
H A Dvimage-fwd.sh85 # Netcat adds 'X's in udp mode.
122 udp) _nc_p="-u" ;;
165 udp) _nc_p="-u" ;;
254 192.0.2.6 192.0.2.5 192.0.2.255 "" 12345 udp "-4"
258 192.0.2.6 192.0.2.5 192.0.2.255 ",65534" 12345 udp "-4"
272 192.0.2.6 192.0.2.1 192.0.2.255 "" 12345 udp "-4"
276 192.0.2.6 192.0.2.1 192.0.2.255 ",65534" 12345 udp "-4"
290 2001:db8:1::2 2001:db8::1 2001:db8:ffff::1 "" 12345 udp "-6"
294 2001:db8:1::2 2001:db8::1 2001:db8:ffff::1 ",65534" 12345 udp "-6"
308 2001:db8:1::2 2001:db8::1 2001:db8:ffff::1 "" 12345 udp "
[all...]
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Dipsend.c140 udpcksum(ip_t *ip, struct udphdr *udp, int len) argument
165 udp->uh_sum = temp32 & 65535;
166 udp->uh_sum = chksum((u_short *)udp, len);
167 if (udp->uh_sum == 0)
168 udp->uh_sum = 0xffff;
178 udphdr_t *udp; local
190 udp = (udphdr_t *)tcp;
369 udp = (udphdr_t *)(p + hlen);
408 udp
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv4localudp.ksh43 # 1 x udp:::send (UDP sent to ping's base UDP port)
46 # No udp:::receive event is expected as the response ping -U elicits is
48 # the echo request UDP packet only reaches IP, so the udp:::receive probe
73 udp:::send
91 printf("udp:::send - %s\n", udpsend >= 1 ? "yes" : "no");
H A Dtst.ipv4remoteudp.ksh28 # Test {udp,ip}:::{send,receive} of IPv4 UDP to a remote host.
43 # 1 x udp:::send (UDP sent to ping's base UDP port)
76 udp:::send
86 printf("udp:::send - %s\n", udpsend >= 1 ? "yes" : "no");
/freebsd-11-stable/share/examples/netgraph/
H A Dudp.tunnel36 ngctl mkpeer ng0: ksocket inet inet/dgram/udp
/freebsd-11-stable/etc/
H A Drc.firewall232 ${fwcmd} add pass udp from fe80::/10 to me 546
251 ${fwcmd} add pass udp from me to any 53 keep-state
254 ${fwcmd} add pass udp from me to any 123 keep-state
396 ${fwcmd} add pass udp from any to me 53
397 ${fwcmd} add pass udp from me 53 to any
413 ${fwcmd} add pass udp from me to any 53 keep-state
416 ${fwcmd} add pass udp from me to any 123 keep-state
451 ${fwcmd} add pass udp from me to any keep-state
458 ${fwcmd} add pass udp from 0.0.0.0 68 to 255.255.255.255 67 out
459 ${fwcmd} add pass udp fro
[all...]
/freebsd-11-stable/tools/tools/tinybsd/conf/firewall/etc/
H A Drc.firewall180 ${fwcmd} add pass udp from ${ip} to any 53 keep-state
183 ${fwcmd} add pass udp from ${ip} to any 123 keep-state
269 ${fwcmd} add pass udp from any to ${oip} 53
270 ${fwcmd} add pass udp from ${oip} 53 to any
282 ${fwcmd} add pass udp from ${oip} to any 53 keep-state
285 ${fwcmd} add pass udp from ${oip} to any 123 keep-state
/freebsd-11-stable/tools/tools/tinybsd/conf/wireless/etc/
H A Drc.firewall180 ${fwcmd} add pass udp from ${ip} to any 53 keep-state
183 ${fwcmd} add pass udp from ${ip} to any 123 keep-state
269 ${fwcmd} add pass udp from any to ${oip} 53
270 ${fwcmd} add pass udp from ${oip} 53 to any
282 ${fwcmd} add pass udp from ${oip} to any 53 keep-state
285 ${fwcmd} add pass udp from ${oip} to any 123 keep-state
/freebsd-11-stable/tools/tools/netmap/
H A Dpkt-gen.c57 #include <netinet/udp.h>
206 struct udphdr udp; member in struct:pkt::__anon5534::__anon5535
211 struct udphdr udp; member in struct:pkt::__anon5534::__anon5536
801 struct udphdr udp; local
807 memcpy(&udp, &pkt->ipv4.udp, sizeof(udp));
811 nport = oport = ntohs(udp.uh_sport);
814 udp.uh_sport = nrand48(t->seed);
816 nport = ntohs(udp
899 struct udphdr udp; local
999 struct udphdr udp; local
[all...]

Completed in 382 milliseconds

12345678