Searched refs:dport (Results 1 - 25 of 91) sorted by relevance

1234

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter/
H A Dnf_conntrack_autofw.h25 u_int16_t dport[2]; /* Related destination port range */ member in struct:nf_ct_autofw_master
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter_ipv4/
H A Dip_autofw.h26 u_int16_t dport[2]; /* Related destination port range */ member in struct:ip_autofw_info
31 u_int16_t dport[2]; /* Related destination port range */ member in struct:ip_autofw_expect
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/serial/
H A Ddz.c77 static inline unsigned short dz_in(struct dz_port *dport, unsigned offset) argument
80 (volatile unsigned short *) (dport->port.membase + offset);
85 static inline void dz_out(struct dz_port *dport, unsigned offset, argument
89 (volatile unsigned short *) (dport->port.membase + offset);
106 struct dz_port *dport = (struct dz_port *)uport; local
107 unsigned short tmp, mask = 1 << dport->port.line;
110 spin_lock_irqsave(&dport->port.lock, flags);
111 tmp = dz_in(dport, DZ_TCR); /* read the TX flag */
113 dz_out(dport, DZ_TCR, tmp);
114 spin_unlock_irqrestore(&dport
119 struct dz_port *dport = (struct dz_port *)uport; local
132 struct dz_port *dport = (struct dz_port *)uport; local
175 struct dz_port *dport; local
251 struct dz_port *dport; local
297 check_modem_status(struct dz_port *dport) argument
322 struct dz_port *dport = (struct dz_port *)dev; local
345 struct dz_port *dport = (struct dz_port *)uport; local
358 struct dz_port *dport = (struct dz_port *)uport; local
380 struct dz_port *dport = (struct dz_port *)uport; local
423 struct dz_port *dport = (struct dz_port *)uport; local
434 struct dz_port *dport = (struct dz_port *)uport; local
451 struct dz_port *dport = (struct dz_port *)uport; local
605 struct dz_port *dport; local
631 dz_reset(struct dz_port *dport) argument
658 struct dz_port *dport = (struct dz_port *)uport; local
705 struct dz_port *dport = &dz_ports[co->index]; local
714 struct dz_port *dport = &dz_ports[co->index]; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Drandom.h55 extern u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport);
57 __be16 dport);
59 __be16 sport, __be16 dport);
61 __be16 sport, __be16 dport);
63 __be16 sport, __be16 dport);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter_bridge/
H A Debt_ip.h10 * added ip-sport and ip-dport
40 uint16_t dport[2]; member in struct:ebt_ip_info
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dsyncookies.c38 static u32 cookie_hash(__be32 saddr, __be32 daddr, __be16 sport, __be16 dport, argument
46 tmp[2] = ((__force u32)sport << 16) + (__force u32)dport;
54 __be16 dport, __u32 sseq, __u32 count,
60 * HASH(sec1,saddr,sport,daddr,dport,sec1) + sseq + (count * 2^24)
61 * + (HASH(sec2,saddr,sport,daddr,dport,count,sec2) % 2^24).
68 return (cookie_hash(saddr, daddr, sport, dport, 0, 0) +
70 ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data)
84 __be16 sport, __be16 dport, __u32 sseq,
90 cookie -= cookie_hash(saddr, daddr, sport, dport, 0, 0) + sseq;
98 cookie_hash(saddr, daddr, sport, dport, coun
53 secure_tcp_syn_cookie(__be32 saddr, __be32 daddr, __be16 sport, __be16 dport, __u32 sseq, __u32 count, __u32 data) argument
83 check_tcp_syn_cookie(__u32 cookie, __be32 saddr, __be32 daddr, __be16 sport, __be16 dport, __u32 sseq, __u32 count, __u32 maxdiff) argument
[all...]
H A Dtcp_probe.c95 if ((port == 0 || ntohs(inet->dport) == port || ntohs(inet->sport) == port)
99 NIPQUAD(inet->daddr), ntohs(inet->dport),
H A Ddatagram.c68 inet->dport = usin->sin_port;
H A Dudp.c240 __be32 daddr, __be16 dport,
245 unsigned short hnum = ntohs(dport);
264 if (inet->dport) {
265 if (inet->dport != sport)
303 (inet->dport != rmt_port && inet->dport) ||
521 __be16 dport; local
569 dport = usin->sin_port;
570 if (dport == 0)
576 dport
239 __udp4_lib_lookup(__be32 saddr, __be16 sport, __be32 daddr, __be16 dport, int dif, struct hlist_head udptable[]) argument
[all...]
H A Dxfrm4_state.c31 x->sel.dport = xfrm_flowi_dport(fl);
H A Dinet_diag.c43 u16 dport; member in struct:inet_diag_entry
100 r->id.idiag_dport = inet->dport;
345 yes = entry->dport <= op[1].no;
348 yes = entry->dport >= op[1].no;
351 yes = entry->dport <= op[1].no;
364 entry->sport : entry->dport)) {
485 entry.dport = ntohs(inet->dport);
521 entry.dport = ntohs(tw->tw_dport);
646 entry.dport
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/tipc/
H A Dnet.c181 u32 dport; local
190 dport = tipc_nametbl_translate(msg_nametype(msg), msg_nameinst(msg), &dnode);
192 msg_nametype(msg), msg_nameinst(msg), dport, dnode);
193 if (dport) {
195 msg_set_destport(msg, dport);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/
H A Dflow.h55 __be16 dport; member in struct:flowi::__anon10512::__anon10513
65 __le16 dport; member in struct:flowi::__anon10512::__anon10515
77 #define fl_ip_dport uli_u.ports.dport
H A Dinet6_hashtables.h48 const __be16 fport = inet->dport;
89 const struct in6_addr *daddr, const __be16 dport,
H A Droute.h148 __be16 sport, __be16 dport, struct sock *sk,
158 .dport = dport } } };
175 __be16 sport, __be16 dport, struct sock *sk)
178 dport != (*rp)->fl.fl_ip_dport) {
183 fl.fl_ip_dport = dport;
146 ip_route_connect(struct rtable **rp, __be32 dst, __be32 src, u32 tos, int oif, u8 protocol, __be16 sport, __be16 dport, struct sock *sk, int flags) argument
174 ip_route_newports(struct rtable **rp, u8 protocol, __be16 sport, __be16 dport, struct sock *sk) argument
H A Dinet_hashtables.h280 __be32 daddr, __be16 dport, int dif)
282 return __inet_lookup_listener(hashinfo, daddr, ntohs(dport), dif);
287 struct inet_sock; __be16 dport followed by __u16 num. We want to
289 and compare with 32bit value read from &...->dport. Let's at least
319 ((*((__portpair *)&(inet_sk(__sk)->dport))) == (__ports)) && \
332 ((*((__portpair *)&(inet_sk(__sk)->dport))) == (__ports)) && \
388 const __be32 daddr, const __be16 dport,
392 ntohs(dport), dif);
397 const __be32 daddr, const __be16 dport,
400 u16 hnum = ntohs(dport);
279 inet_lookup_listener(struct inet_hashinfo *hashinfo, __be32 daddr, __be16 dport, int dif) argument
386 inet_lookup_established(struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif) argument
395 __inet_lookup(struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif) argument
406 inet_lookup(struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif) argument
[all...]
H A Dinet_sock.h94 * @dport - Destination port
116 __be16 dport; member in struct:inet_sock
188 const __be16 fport = inet->dport;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bridge/netfilter/
H A Debt_ip.c10 * added ip-sport and ip-dport
63 if (FWINV(dst < info->dport[0] ||
64 dst > info->dport[1],
101 if (info->bitmask & EBT_IP_DPORT && info->dport[0] > info->dport[1])
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/netfilter/
H A Dnf_nat_autofw.c77 if (port < ntohs(help->help.ct_autofw_info.dport[0]) ||
78 port > ntohs(help->help.ct_autofw_info.dport[1])) {
84 port -= ntohs(help->help.ct_autofw_info.dport[0]);
201 help->help.ct_autofw_info.dport[0] = info->dport[0];
202 help->help.ct_autofw_info.dport[1] = info->dport[1];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/dccp/
H A Dprobe.c90 if (port == 0 || ntohs(inet->dport) == port ||
96 NIPQUAD(inet->daddr), ntohs(inet->dport), size,
104 NIPQUAD(inet->daddr), ntohs(inet->dport), size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/netconf/
H A Dmain.c176 printf("dpt:%hu", ntohs(app->dport[0]));
177 if (ntohs(app->dport[1]) > ntohs(app->dport[0]))
178 printf("-%hu", ntohs(app->dport[1]));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Dinet6_hashtables.c150 const struct in6_addr *daddr, const __be16 dport,
156 sk = __inet6_lookup(hashinfo, saddr, sport, daddr, ntohs(dport), dif);
174 const __portpair ports = INET_COMBINED_PORTS(inet->dport, lport);
176 inet->dport);
244 inet->dport);
148 inet6_lookup(struct inet_hashinfo *hashinfo, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const __be16 dport, const int dif) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ipvs/
H A Dip_vs_conn.c291 s_port == cp->dport && s_addr == cp->daddr &&
338 /* hash on new dport */
404 NIPQUAD(cp->daddr), ntohs(cp->dport),
444 NIPQUAD(cp->daddr), ntohs(cp->dport),
506 NIPQUAD(ct->daddr), ntohs(ct->dport));
513 ct->dport = htons(0xffff);
600 __be32 daddr, __be16 dport, unsigned flags,
622 cp->dport = dport;
741 ntohl(cp->daddr), ntohs(cp->dport),
599 ip_vs_conn_new(int proto, __be32 caddr, __be16 cport, __be32 vaddr, __be16 vport, __be32 daddr, __be16 dport, unsigned flags, struct ip_vs_dest *dest) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/ip/
H A Dipxfrm.c452 fprintf(fp, "dport %u ", ntohs(sel->dport));
456 /* type/code is stored at sport/dport in selector */
460 fprintf(fp, "code %u ", ntohs(sel->dport));
628 fprintf(fp, "dport %u ", ntohs(e->encap_dport));
946 } else if (strcmp(*argv, "dport") == 0) {
951 if (get_u16(&sel->dport, *argv, 0))
953 sel->dport = htons(sel->dport);
954 if (sel->dport)
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/
H A Drandom.c1436 __be16 sport, __be16 dport)
1447 hash[4]=((__force u16)sport << 16) + (__force u16)dport;
1486 __be16 sport, __be16 dport)
1494 * (saddr, daddr, sport, dport).
1500 hash[2]=((__force u16)sport << 16) + (__force u16)dport;
1518 u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport) argument
1525 * (saddr, daddr, dport) and 48bits of random data.
1529 hash[2] = (__force u32)dport ^ keyptr->secret[10];
1536 u32 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr, __be16 dport) argument
1542 hash[4] = (__force u32)dport;
1435 secure_tcpv6_sequence_number(__be32 *saddr, __be32 *daddr, __be16 sport, __be16 dport) argument
1485 secure_tcp_sequence_number(__be32 saddr, __be32 daddr, __be16 sport, __be16 dport) argument
1554 secure_dccp_sequence_number(__be32 saddr, __be32 daddr, __be16 sport, __be16 dport) argument
[all...]

Completed in 248 milliseconds

1234