HomeSort by: relevance | last modified time | path
    Searched refs:udp (Results 1 - 25 of 103) sorted by relevancy

1 2 3 4 5

  /src/sys/netinet6/
udp6.h 36 #include <netinet/udp.h>
  /src/sys/external/bsd/ipf/netinet/
ip_netbios_pxy.c 79 udphdr_t *udp; local in function:ipf_p_netbios_out
87 dlen = fin->fin_dlen - sizeof(*udp);
95 udp = (udphdr_t *)fin->fin_dp;
96 off = (char *)udp - (char *)ip + sizeof(*udp) + fin->fin_ipoff;
101 * udp header;
114 dgmbuf[4] = (char)((udp->uh_sport )&0xFF);
115 dgmbuf[5] = (char)((udp->uh_sport >> 8)&0xFF);
ip_tftp_pxy.c 158 udphdr_t *udp; local in function:ipf_p_tftp_new
184 udp = (udphdr_t *)fin->fin_dp;
185 aps->aps_sport = udp->uh_sport;
186 aps->aps_dport = udp->uh_dport;
280 udphdr_t udp; local in function:ipf_p_tftp_backchannel
297 bzero((char *)&udp, sizeof(udp));
298 udp.uh_sport = 0; /* XXX - don't specify remote port */
299 udp.uh_dport = ti->ti_rule->in_ndport;
300 udp.uh_ulen = htons(sizeof(udp))
410 udphdr_t *udp; local in function:ipf_p_tftp_client
    [all...]
  /src/etc/
named.conf 22 # the IPv6 and UDP headers and the aforementioned research.
26 max-udp-size 1232;
27 edns-udp-size 1232;
  /src/sys/arch/mvme68k/stand/sboot/
etherfun.h 40 #define IPP_UDP 17 /* IP Protocol is UDP */
88 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));
  /src/share/examples/npf/
host-npf.conf 49 pass in family inet4 proto udp from any port bootps to any port bootpc
50 pass in family inet6 proto udp from any to any port "dhcpv6-client"
59 pass in proto udp to any port 33434-33600
62 pass in proto udp to any port mdns
l2tp_gw-npf.conf 30 pass out final proto udp from any port bootpc to any port bootps
31 pass in final proto udp from any port bootps to any port bootpc
32 pass in final proto udp from any port bootps to 255.255.255.255 port bootpc
36 pass stateful out final proto udp to any port domain
48 pass stateful out final proto udp all
92 #pass in final proto udp from any port ntp
101 #pass in final proto udp to any port isakmp
102 #pass in final proto udp to any port 8001
109 block return-icmp in final proto udp to any port 33433-33524 apply "log"
soho_gw-npf.conf 54 # Allow inbound traffic for services hosted on UDP
55 pass stateful in proto udp to $ext_addrs port $services_udp
58 pass stateful in proto udp to $ext_addrs port 33434-33600
  /src/sys/arch/sun68k/stand/netboot/
Makefile 9 SRCS+= dev_net.c bootparam.c globals.c nfs.c rpc.c udp.c
  /src/tests/usr.sbin/inetd/
inetd_ratelimit.conf 9 protocol = udp,
19 protocol = udp,
28 protocol = udp,
37 protocol = udp,
t_inetd.c 52 #define UDP 17
67 "uses UDP/TCP ports 5432-5439 with localhost.");
165 int udp = create_socket("127.0.0.1", port, SOCK_DGRAM, UDP, 1, &addr); local in function:run_udp_client
167 CHECK_ERROR(sendto(udp, buffer, sizeof(buffer), 0,
182 ssize_t count = recvmsg(udp, &msg, 0);
186 CHECK_ERROR(close(udp));
193 CHECK_ERROR(close(udp));
  /src/etc/defaults/
npf.boot.conf 29 pass out family inet4 proto udp from any port bootpc to any port bootps
30 pass in family inet4 proto udp from any port bootps to any port bootpc
31 pass out family inet6 proto udp from any port "dhcpv6-client" to any port "dhcpv6-server"
32 pass in family inet6 proto udp from any port "dhcpv6-server" to any port "dhcpv6-client"
  /src/sys/fs/nfs/common/
nfsrvcache.h 52 TAILQ_ENTRY(nfsrvcache) rc_lru; /* UDP lru chain */
62 } udp; member in union:nfsrvcache::__anon67d9e4aa020a
79 #define rc_inet rc_un2.udp.haddr.had_inet.s_addr
80 #define rc_inet6 rc_un2.udp.haddr.had_inet6
81 #define rc_haddr rc_un2.udp.haddr
  /src/usr.bin/rump_dhcpclient/
net.c 44 #define __FAVOR_BSD /* Nasty glibc hack so we can use BSD semantics for UDP */
45 #include <netinet/udp.h>
371 struct udphdr udp; member in struct:udp_dhcp_packet
405 struct udphdr *udp; local in function:make_udp_packet
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 b
    [all...]
main.c 96 uint8_t *udp; local in function:send_discover
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 in function:send_request
119 ulen = make_udp_packet(&udp, (void *)dhcp, mlen, ia, ia);
120 if (send_raw_packet(ifp, ETHERTYPE_IP, udp, ulen) == -1)
  /src/sys/net/npf/
npf_socket.c 34 #include <netinet/udp.h>
131 struct udphdr *udp = npc->npc_l4.udp; local in function:npf_ip_socket
141 sport = udp->uh_sport;
142 dport = udp->uh_dport;
194 struct udphdr *udp = npc->npc_l4.udp; local in function:npf_ip6_socket
204 sport = udp->uh_sport;
205 dport = udp->uh_dport;
npf_alg_icmp.c 45 #include <netinet/udp.h>
95 const struct udphdr *uh = npc->npc_l4.udp;
108 /* Handle TCP/UDP traceroute - check for port range. */
120 * ID or TCP/UDP ports of the original packet, which is embedded.
280 l4.uh.uh_sport = enpc.npc_l4.udp->uh_dport;
281 l4.uh.uh_dport = enpc.npc_l4.udp->uh_sport;
282 enpc.npc_l4.udp = &l4.uh;
356 * the IPv4 and TCP/UDP checksums before they are rewritten.
374 const struct udphdr *uh = enpc.npc_l4.udp;
405 * 2) Rewrite the TCP/UDP checksum (if not ICMP)
    [all...]
  /src/usr.sbin/pf/etc/defaults/
pf.boot.conf 19 pass out proto { tcp, udp } from any to any port 53 keep state
  /src/usr.sbin/npf/npftest/
npftestl3.conf 72 pass in final family inet6 proto udp from $net6_pr55403
73 pass in final family inet6 proto udp from ! $net6_pr55403 to $net6_pr55403
  /src/etc/rc.d/
ntpd 64 getent services ntp/udp ntp/tcp \
  /src/sys/lib/libsa/
ip_cksum.c 52 #include <netinet/udp.h>
  /src/usr.sbin/altq/altqd/altq.conf.samples/
cbq.sample0 38 # misc (udp) classes
40 class cbq sr0 udp misc borrow pbandwidth 5 red
41 filter sr0 udp 0 0 0 0 17 # other udp
cbq.v6 40 # misc (udp, ipv4) classes
42 class cbq sr0 udp misc borrow pbandwidth 5 red
43 filter6 sr0 udp ::0 0 ::0 0 17 # other udp
57 filter6 sr0 dns ::0 0 ::0 53 17 # dns (udp)
58 filter6 sr0 dns ::0 53 ::0 0 17 # dns (udp)
  /src/usr.sbin/rpc.pcnfsd/
Makefile 24 RPC_SVCCLASS= udp tcp
  /src/usr.bin/utoppya/
utoppya.c 141 find_toppy_dirent(const char *path, struct utoppy_dirent *udp)
156 if (udp == NULL)
157 udp = &ud;
159 while ((l = read(toppy_fd, udp, sizeof(*udp))) == sizeof(*udp)) {
160 if (strcmp(b, udp->ud_path) == 0)

Completed in 19 milliseconds

1 2 3 4 5