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

123456

/netbsd-6-1-5-RELEASE/sys/netinet6/
H A Dudp6.h36 #include <netinet/udp.h>
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/etc/
H A Dservices.append6 kerberos 88/udp kerberos-sec # Kerberos v5 UDP
8 kpasswd 464/udp # password changing
14 kerberos-adm 749/udp # v5 kadmin
16 kerberos-iv 750/udp kdc # Kerberos authentication--udp
18 kerberos_master 751/udp # v4 kadmin
29 krb524 4444/udp # MIT 5->4
/netbsd-6-1-5-RELEASE/dist/ipf/perl/
H A Dlogfilter.pl28 %udp = ();
44 if ($proto =~ m/^udp$/) { $udp{$identifier} = $filename; last SWITCH; };
111 $filename = $udp{$sport} if (defined($udp{$sport}));
112 $filename = $udp{$dport} if (defined($udp{$dport}));
157 udp 25 smtp.log
158 udp 53 dns.log
162 udp 11
[all...]
/netbsd-6-1-5-RELEASE/dist/dhcp/common/
H A Dpacket.c43 #include "includes/netinet/udp.h"
141 struct udphdr udp; local
147 ip.ip_len = htons(sizeof(ip) + sizeof(udp) + len);
164 udp.uh_sport = local_port; /* XXX */
165 udp.uh_dport = port; /* XXX */
166 udp.uh_ulen = htons(sizeof(udp) + len);
167 memset (&udp.uh_sum, 0, sizeof udp.uh_sum);
172 udp
223 struct udphdr *udp; local
[all...]
/netbsd-6-1-5-RELEASE/sys/dist/ipf/netinet/
H A Dip_netbios_pxy.c84 udphdr_t *udp; local
92 dlen = fin->fin_dlen - sizeof(*udp);
100 udp = (udphdr_t *)fin->fin_dp;
101 off = (char *)udp - (char *)ip + sizeof(*udp) + fin->fin_ipoff;
106 * udp header;
119 dgmbuf[4] = (char)((udp->uh_sport )&0xFF);
120 dgmbuf[5] = (char)((udp->uh_sport >> 8)&0xFF);
H A Dip_h323_pxy.c256 udphdr_t udp; local
259 newip.ip_len = fin->fin_hlen + sizeof(udp);
263 bzero((char *)&udp, sizeof(udp));
264 udp.uh_sport = port;
270 fi.fin_dp = (char *)&udp;
/netbsd-6-1-5-RELEASE/dist/ipf/rules/
H A Dipmon.conf10 match { protocol = udp, result = block }
11 do { execute "/usr/bin/mail -s 'blocked udp' root"
21 protocol = udp, srcip = 10.1.0.0/16, dstip = 192.168.1.0/24 }
H A Dtcpstate11 pass out quick on le0 proto udp from any to any port = 53 keep state
12 block out on le0 proto udp all
13 block in on le0 proto udp all
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
/netbsd-6-1-5-RELEASE/sys/arch/mvme68k/stand/sboot/
H A Detherfun.h88 struct udp { struct
112 struct udp *udph = (struct udp *)(buf + sizeof(struct ether_header) +
115 sizeof(struct udp);
117 sizeof(struct ip) + sizeof(struct udp));
119 sizeof(struct ip) + sizeof(struct udp));
/netbsd-6-1-5-RELEASE/sys/arch/sun68k/stand/netboot/
H A DMakefile9 SRCS+= dev_net.c bootparam.c globals.c nfs.c rpc.c udp.c
/netbsd-6-1-5-RELEASE/usr.bin/rump_dhcpclient/
H A Dnet.c45 #include <netinet/udp.h>
371 struct udphdr udp; member in struct:udp_dhcp_packet
405 struct udphdr *udp; local
409 udp = &udpp->udp;
413 * ip structure and an invalid ip_len (basically udp length).
414 * We then fill the udp structure and put the checksum
415 * of the whole packet into the udp checksum.
417 * If we don't do the ordering like so then the udp checksum will be
429 udp
447 get_udp_data(const uint8_t **data, const uint8_t *udp) argument
[all...]
H A Dmain.c96 uint8_t *udp; local
103 ulen = make_udp_packet(&udp, (void *)dhcp, mlen, ia, ia);
104 if (send_raw_packet(ifp, ETHERTYPE_IP, udp, ulen) == -1)
112 uint8_t *udp; local
119 ulen = make_udp_packet(&udp, (void *)dhcp, mlen, ia, ia);
120 if (send_raw_packet(ifp, ETHERTYPE_IP, udp, ulen) == -1)
/netbsd-6-1-5-RELEASE/dist/ipf/ipsend/
H A Dipsend.c165 udpcksum(ip_t *ip, struct udphdr *udp, int len) argument
190 udp->uh_sum = temp32 & 65535;
191 udp->uh_sum = chksum((u_short *)udp, len);
192 if (udp->uh_sum == 0)
193 udp->uh_sum = 0xffff;
203 udphdr_t *udp; local
215 udp = (udphdr_t *)tcp;
394 udp = (udphdr_t *)(p + hlen);
433 udp
[all...]
H A Dsockraw.c22 #include <netinet/udp.h>
/netbsd-6-1-5-RELEASE/usr.sbin/pf/etc/defaults/
H A Dpf.boot.conf19 pass out proto { tcp, udp } from any to any port 53 keep state
/netbsd-6-1-5-RELEASE/external/bsd/dhcpcd/dist/
H A Dnet.c45 #include <netinet/udp.h>
636 struct udphdr udp; member in struct:udp_dhcp_packet
670 struct udphdr *udp; local
674 udp = &udpp->udp;
678 * ip structure and an invalid ip_len (basically udp length).
679 * We then fill the udp structure and put the checksum
680 * of the whole packet into the udp checksum.
682 * If we don't do the ordering like so then the udp checksum will be
694 udp
712 get_udp_data(const uint8_t **data, const uint8_t *udp) argument
[all...]
/netbsd-6-1-5-RELEASE/share/examples/npf/
H A Dhost-npf.conf20 # sample udp service
43 pass in final family inet proto udp \
50 pass in final family inet proto udp \
54 pass in final family inet6 proto udp \
57 pass stateful in final family inet6 proto udp to $wired_v6 \
59 pass stateful in final family inet proto udp to $wired_v6 \
91 pass in final family inet proto udp \
96 pass in final family inet6 proto udp to $wifi_v6 port $services_udp
97 pass in final family inet proto udp to $wifi_v4 port $services_udp
100 pass in final family inet6 proto udp t
[all...]
H A Dsoho_gw-npf.conf44 pass stateful in final proto udp to $ext_addrs port $services_udp
49 pass stateful in final proto udp to $ext_addrs port 33434-33600
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/system/
H A Dpacket.pl41 # Usage: packet.pl [-a <address>] [-p <port>] [-t (udp|tcp)] [filename]
44 # to udp, and file to stdin.
56 print ("Usage: packet.pl [-a address] [-p port] [-t (tcp|udp)] [file]\n");
69 my $proto = "udp";
71 usage if ($proto !~ /^(udp|tcp)$/);
98 if ($proto eq "udp") {
/netbsd-6-1-5-RELEASE/usr.sbin/npf/npftest/libnpftest/
H A Dnpf_test.h20 #include <netinet/udp.h>
/netbsd-6-1-5-RELEASE/sys/ipkdb/
H A Dipkdb_ipkdb.c56 #include <netinet/udp.h>
436 struct udphdr *udp; local
509 udp = (struct udphdr *)((char *)ip + ip->ip_hl * 4);
511 if (getns(&udp->uh_ulen) != ul)
516 ipo.ih_len = udp->uh_ulen;
517 if ( udp->uh_sum
518 && cksum(cksum(0, &ipo, sizeof ipo), udp, ul))
522 if ( getns(&udp->uh_sport) == 67
523 && getns(&udp->uh_dport) == 68
524 && *(char *)(udp
585 struct udphdr *udp; local
[all...]
/netbsd-6-1-5-RELEASE/sys/net/npf/
H A Dnpf_alg_icmp.c47 #include <netinet/udp.h>
139 const struct udphdr *uh = npc->npc_l4.udp;
320 l4.uh.uh_sport = enpc.npc_l4.udp->uh_dport;
321 l4.uh.uh_dport = enpc.npc_l4.udp->uh_sport;
322 enpc.npc_l4.udp = &l4.uh;
395 const struct udphdr *uh = enpc.npc_l4.udp;
432 const struct udphdr *uh = enpc.npc_l4.udp;
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/system/checkconf/
H A Dbad.conf20 avoid-v4-udp-ports { 100; }
21 avoid-v6-udp-ports { 100; };

Completed in 282 milliseconds

123456