Home
last modified time | relevance | path

Searched refs:udp (Results 1 – 22 of 22) sorted by relevance

/linux-2.4.37.9/net/ipv4/netfilter/
Dip_nat_proto_udp.c21 port = tuple->src.u.udp.port; in udp_in_range()
23 port = tuple->dst.u.udp.port; in udp_in_range()
25 return ntohs(port) >= ntohs(min->udp.port) in udp_in_range()
26 && ntohs(port) <= ntohs(max->udp.port); in udp_in_range()
40 portptr = &tuple->src.u.udp.port; in udp_unique_tuple()
42 portptr = &tuple->dst.u.udp.port; in udp_unique_tuple()
64 min = ntohs(range->min.udp.port); in udp_unique_tuple()
65 range_size = ntohs(range->max.udp.port) - min + 1; in udp_unique_tuple()
97 manip->u.udp.port, in udp_manip_pkt()
99 *portptr = manip->u.udp.port; in udp_manip_pkt()
[all …]
Dip_conntrack_proto_udp.c17 tuple->src.u.udp.port = hdr->source; in udp_pkt_to_tuple()
18 tuple->dst.u.udp.port = hdr->dest; in udp_pkt_to_tuple()
26 tuple->src.u.udp.port = orig->dst.u.udp.port; in udp_invert_tuple()
27 tuple->dst.u.udp.port = orig->src.u.udp.port; in udp_invert_tuple()
36 ntohs(tuple->src.u.udp.port), in udp_print_tuple()
37 ntohs(tuple->dst.u.udp.port)); in udp_print_tuple()
Dip_nat_tftp.c127 mr.range[0].min.udp.port = mr.range[0].max.udp.port = in tftp_nat_expected()
128 orig->src.u.udp.port; in tftp_nat_expected()
135 NIPQUAD(orig->src.ip), ntohs(orig->src.u.udp.port)); in tftp_nat_expected()
164 tftp[i].tuple.src.u.udp.port = htons(ports[i]); in init()
166 tftp[i].mask.src.u.udp.port = 0xFFFF; in init()
Dipt_multiport.c46 const struct udphdr *udp = hdr; in match() local
63 ntohs(udp->source), ntohs(udp->dest)); in match()
Dip_conntrack_tftp.c58 exp.mask.dst.u.udp.port = 0xffff; in tftp_help()
105 tftp[i].tuple.src.u.udp.port = htons(ports[i]); in init()
107 tftp[i].mask.src.u.udp.port = 0xFFFF; in init()
Dip_nat_amanda.c64 { .udp = { htons(exp_amanda_info->port) } }); in amanda_nat_expected()
135 hlpr->tuple.src.u.udp.port = htons(10080); in init()
136 hlpr->mask.src.u.udp.port = 0xFFFF; in init()
Dip_conntrack_amanda.c129 amanda_helper.tuple.src.u.udp.port = htons(10080); in init()
131 amanda_helper.mask.src.u.udp.port = 0xFFFF; in init()
Dip_nat_snmp_basic.c1326 { { 0, { .udp = { __constant_htons(SNMP_PORT) } } },
1328 { { 0, { .udp = { 0xFFFF } } },
1337 { { 0, { .udp = { __constant_htons(SNMP_TRAP_PORT) } } },
1339 { { 0, { .udp = { 0xFFFF } } },
Dipfwadm_core.c316 struct udphdr *udp=(struct udphdr *)((__u32 *)ip+ip->ihl); in ip_fw_chk() local
415 src_port=ntohs(udp->source); in ip_fw_chk()
416 dst_port=ntohs(udp->dest); in ip_fw_chk()
Dip_tables.c1582 const struct udphdr *udp = hdr; in udp_match() local
1596 ntohs(udp->source), in udp_match()
1599 ntohs(udp->dest), in udp_match()
Dipchains_core.c583 struct udphdr *udp=(struct udphdr *)((__u32 *)ip+ip->ihl); in ip_fw_check() local
684 src_port=ntohs(udp->source); in ip_fw_check()
685 dst_port=ntohs(udp->dest); in ip_fw_check()
Dip_nat_core.c969 ntohs(info->manips[i].manip.u.udp.port)); in icmp_reply_translation()
/linux-2.4.37.9/net/ipv6/netfilter/
Dip6t_multiport.c47 const struct udphdr *udp = hdr; in match() local
64 ntohs(udp->source), ntohs(udp->dest)); in match()
Dip6_tables.c1663 const struct udphdr *udp = hdr; in udp_match() local
1677 ntohs(udp->source), in udp_match()
1680 ntohs(udp->dest), in udp_match()
/linux-2.4.37.9/include/linux/netfilter_ipv4/
Dip_conntrack_tuple.h24 } udp; member
54 } udp; member
/linux-2.4.37.9/Documentation/networking/
Dethertap.txt152 #include <netinet/udp.h>
155 #include <linux/udp.h>
208 struct udphdr *udp = (void *)icmp;
258 fprintf(stderr, "UDP: %u -> %u\n", ntohs(udp->source),
259 ntohs(udp->dest));
/linux-2.4.37.9/net/ipv6/
DMakefile13 route.o ip6_fib.o ipv6_sockglue.o ndisc.o udp.o raw.o \
/linux-2.4.37.9/net/ipv4/
DMakefile18 tcp_diag.o raw.o udp.o arp.o icmp.o devinet.o af_inet.o igmp.o \
/linux-2.4.37.9/drivers/s390/
Ds390io.c2401 devstat_t *udp; in s390_process_IRQ() local
2437 udp = ioinfo[irq]->irq_desc.dev_id; in s390_process_IRQ()
2744 memcpy (udp, dp, sizeof (devstat_t)); in s390_process_IRQ()
2890 udp->flag |= DEVSTAT_FLAG_SENSE_AVAIL; in s390_process_IRQ()
2891 udp->scnt = sense_count; in s390_process_IRQ()
2894 memcpy (udp->ii.sense.data, in s390_process_IRQ()
2898 udp->flag &= ~DEVSTAT_FLAG_SENSE_AVAIL; in s390_process_IRQ()
2906 memcpy (udp, dp, sdevstat); in s390_process_IRQ()
2931 udp->flag |= DEVSTAT_FINAL_STATUS; in s390_process_IRQ()
2959 udp->flag |= DEVSTAT_FINAL_STATUS; in s390_process_IRQ()
[all …]
/linux-2.4.37.9/drivers/net/e1000/
De1000_main.c3108 struct udphdr *udp = local
3111 if (ntohs(udp->dest) == 67) {
3112 offset = (uint8_t *)udp + 8 - skb->data;
3116 (uint8_t *)udp + 8,
/linux-2.4.37.9/Documentation/filesystems/
Dproc.txt448 udp UDP sockets
/linux-2.4.37.9/Documentation/
Ddevices.txt711 2 = /dev/inet/udp Network access