Searched refs:daddr (Results 76 - 100 of 365) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dah4.c17 static int ip_clear_mutable_options(struct iphdr *iph, __be32 *daddr) argument
46 memcpy(daddr, optptr+optlen-4, 4);
76 iph->daddr = top_iph->daddr;
78 err = ip_clear_mutable_options(top_iph, &top_iph->daddr);
110 top_iph->daddr = iph->daddr;
205 x = xfrm_state_lookup((xfrm_address_t *)&iph->daddr, ah->spi, IPPROTO_AH, AF_INET);
209 ntohl(ah->spi), ntohl(iph->daddr));
H A Dxfrm4_mode_beet.c66 top_iph->daddr = x->id.daddr.a4;
106 iph->daddr = x->sel.daddr.a4;
H A Dudp.c240 __be32 daddr, __be16 dport,
255 if (inet->rcv_saddr != daddr)
259 if (inet->daddr) {
260 if (inet->daddr != saddr)
302 (inet->daddr && inet->daddr != rmt_addr) ||
339 sk = __udp4_lib_lookup(iph->daddr, uh->dest, iph->saddr, uh->source,
520 __be32 daddr, faddr, saddr; local
568 daddr = usin->sin_addr.s_addr;
575 daddr
239 __udp4_lib_lookup(__be32 saddr, __be16 sport, __be32 daddr, __be16 dport, int dif, struct hlist_head udptable[]) argument
1130 __udp4_lib_mcast_deliver(struct sk_buff *skb, struct udphdr *uh, __be32 saddr, __be32 daddr, struct hlist_head udptable[]) argument
1218 __be32 daddr = ip_hdr(skb)->daddr; local
[all...]
H A Dipip.c144 remote == t->parms.iph.daddr && (t->dev->flags&IFF_UP))
148 if (remote == t->parms.iph.daddr && (t->dev->flags&IFF_UP))
162 __be32 remote = parms->iph.daddr;
209 __be32 remote = parms->iph.daddr;
216 if (local == t->parms.iph.saddr && remote == t->parms.iph.daddr)
313 t = ipip_tunnel_lookup(iph->daddr, iph->saddr);
314 if (t == NULL || t->parms.iph.daddr == 0)
419 fl.fl4_daddr = eiph->daddr;
430 if (ip_route_input(skb2, eiph->daddr, eiph->saddr, eiph->tos, skb2->dev) ||
473 if ((tunnel = ipip_tunnel_lookup(iph->saddr, iph->daddr)) !
[all...]
H A Dip_fragment.c59 __be32 daddr; member in struct:ipq
104 static unsigned int ipqhashfn(__be16 id, __be32 saddr, __be32 daddr, u8 prot) argument
107 (__force u32)saddr, (__force u32)daddr,
127 q->daddr, q->protocol);
294 hash = ipqhashfn(qp_in->id, qp_in->saddr, qp_in->daddr,
304 qp->daddr == qp_in->daddr &&
341 qp->daddr = iph->daddr;
370 __be32 daddr local
[all...]
H A Dtcp_ipv4.c104 __be32 saddr, __be32 daddr,
133 return secure_tcp_sequence_number(ip_hdr(skb)->daddr,
179 __be32 daddr, nexthop; local
189 nexthop = daddr = usin->sin_addr.s_addr;
191 if (!daddr)
212 daddr = rt->rt_dst;
218 if (tp->rx_opt.ts_recent_stamp && inet->daddr != daddr) {
226 !tp->rx_opt.ts_recent_stamp && rt->rt_dst == daddr) {
242 inet->daddr
1026 tcp_v4_do_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key, __be32 saddr, __be32 daddr, struct tcphdr *th, int protocol, int tcplen) argument
1119 __be32 saddr, daddr; local
1268 __be32 daddr = ip_hdr(skb)->daddr; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ipvs/
H A Dip_vs_proto_udp.c41 iph->daddr, pptr[1]);
44 iph->daddr, pptr[1],
67 iph->daddr, pptr[1]);
70 iph->daddr, pptr[1],
93 ip_hdr(skb)->daddr, uh->dest))) {
162 udp_fast_csum_update(udph, cp->daddr, cp->vaddr,
217 udp_fast_csum_update(udph, cp->vaddr, cp->daddr,
226 udph->check = csum_tcpudp_magic(cp->caddr, cp->daddr,
255 ip_hdr(skb)->daddr,
H A Dip_vs_xmit.c76 .daddr = dest->addr,
99 .daddr = cp->daddr,
106 "%u.%u.%u.%u\n", NIPQUAD(cp->daddr));
166 .daddr = iph->daddr,
175 "dest: %u.%u.%u.%u\n", NIPQUAD(iph->daddr));
269 ip_hdr(skb)->daddr = cp->daddr;
299 * destination will be set to cp->daddr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/iptables-1.x/extensions/
H A Dlibipt_policy.c204 if (e->match.daddr)
213 e->match.daddr = 1;
214 e->invert.daddr = invert;
215 e->daddr.a4 = addr[0];
292 e->match.daddr || e->match.proto || e->match.mode))
296 if ((e->match.saddr || e->match.daddr)
360 if (e->match.daddr) {
361 PRINT_INVERT(e->invert.daddr);
363 addr_to_dotted((struct in_addr *)&e->daddr),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/lib/
H A Dcsum-wrappers.c118 const struct in6_addr *daddr,
127 " adcq (%[daddr]),%[sum]\n"
128 " adcq 8(%[daddr]),%[sum]\n"
131 : "[sum]" (rest),[saddr] "r" (saddr), [daddr] "r" (daddr));
117 csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, __u32 len, unsigned short proto, __wsum sum) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/
H A Dinetpeer.h37 struct inet_peer *inet_getpeer(__be32 daddr, int create);
H A Dndisc.h88 struct in6_addr *daddr,
93 struct in6_addr *daddr);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/irda/
H A Dircomm_event.h68 __u32 daddr; /* Destination device address */ member in struct:ircomm_info
H A Dircomm_core.h73 __u32 daddr; /* Destination device address */ member in struct:ircomm_cb
94 __u32 saddr, __u32 daddr, struct sk_buff *skb,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter_bridge/
H A Debt_802_3.h43 uint8_t daddr[6]; member in struct:ebt_802_3_hdr
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dnetfilter_bridge.h82 } daddr; member in struct:bridge_skb_cb
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bridge/netfilter/
H A Debt_arp.c38 __be32 saddr, daddr, *sap, *dap; local
49 sizeof(daddr), &daddr);
56 FWINV(info->daddr != (*dap & info->dmsk), EBT_ARP_DST_IP))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/netfilter/
H A Dip6t_REJECT.c52 (!(ipv6_addr_type(&oip6h->daddr) & IPV6_ADDR_UNICAST))) {
84 if (csum_ipv6_magic(&oip6h->saddr, &oip6h->daddr, otcplen, IPPROTO_TCP,
92 ipv6_addr_copy(&fl.fl6_src, &oip6h->daddr);
126 ipv6_addr_copy(&ip6h->saddr, &oip6h->daddr);
127 ipv6_addr_copy(&ip6h->daddr, &oip6h->saddr);
156 &ipv6_hdr(nskb)->daddr,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Dsit.c86 remote == t->parms.iph.daddr && (t->dev->flags&IFF_UP))
90 if (remote == t->parms.iph.daddr && (t->dev->flags&IFF_UP))
104 __be32 remote = parms->iph.daddr;
151 __be32 remote = parms->iph.daddr;
158 if (local == t->parms.iph.saddr && remote == t->parms.iph.daddr)
258 t = ipip6_tunnel_lookup(iph->daddr, iph->saddr);
259 if (t == NULL || t->parms.iph.daddr == 0)
345 rt6i = rt6_lookup(&iph6->daddr, &iph6->saddr, NULL, 0);
378 if ((tunnel = ipip6_tunnel_lookup(iph->saddr, iph->daddr)) != NULL) {
434 __be32 dst = tiph->daddr;
[all...]
H A Dxfrm6_state.c25 xfrm_address_t *daddr, xfrm_address_t *saddr)
29 ipv6_addr_copy((struct in6_addr *)&x->sel.daddr, &fl->fl6_dst);
40 if (ipv6_addr_any((struct in6_addr*)&x->id.daddr))
41 memcpy(&x->id.daddr, daddr, sizeof(x->sel.daddr));
23 __xfrm6_init_tempsel(struct xfrm_state *x, struct flowi *fl, struct xfrm_tmpl *tmpl, xfrm_address_t *daddr, xfrm_address_t *saddr) argument
H A Dicmp.c325 addr_type = ipv6_addr_type(&hdr->daddr);
327 if (ipv6_chk_addr(&hdr->daddr, skb->dev, 0))
328 saddr = &hdr->daddr;
484 saddr = &ipv6_hdr(skb)->daddr;
566 struct in6_addr *saddr, *daddr; local
591 daddr = &ipv6_hdr(skb)->daddr;
610 while((sk = __raw_v6_lookup(sk, nexthdr, daddr, saddr,
628 struct in6_addr *saddr, *daddr; local
636 daddr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/irda/
H A Dirlap_frame.c145 frame->daddr = cpu_to_le32(self->daddr);
183 info->daddr = le32_to_cpu(frame->saddr);
184 info->saddr = le32_to_cpu(frame->daddr);
230 frame->daddr = cpu_to_le32(self->daddr);
344 frame->daddr = cpu_to_le32(bcast);
346 frame->daddr = cpu_to_le32(discovery->data.daddr);
422 info->daddr
1195 irlap_send_test_frame(struct irlap_cb *self, __u8 caddr, __u32 daddr, struct sk_buff *cmd) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/extensions/
H A Dlibxt_policy.c133 if (e->match.daddr)
136 e->match.daddr = 1;
137 e->invert.daddr = cb->invert;
138 memcpy(&e->daddr, &cb->val.haddr, sizeof(cb->val.haddr));
208 e->match.daddr || e->match.proto || e->match.mode))
215 if ((e->match.saddr || e->match.daddr)
279 if (e->match.daddr) {
280 PRINT_INVERT(e->invert.daddr);
283 xtables_ip6addr_to_numeric(&e->daddr.a6),
287 xtables_ipaddr_to_numeric(&e->daddr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/dccp/
H A Dipv4.c53 __be32 daddr, nexthop; local
65 nexthop = daddr = usin->sin_addr.s_addr;
67 if (daddr == 0)
85 daddr = rt->rt_dst;
92 inet->daddr = daddr;
116 dp->dccps_iss = secure_dccp_sequence_number(inet->saddr, inet->daddr,
221 sk = inet_lookup(&dccp_hashinfo, iph->daddr, dh->dccph_dport,
283 iph->daddr, iph->saddr);
359 dh->dccph_checksum = dccp_v4_csum_finish(skb, inet->saddr, inet->daddr);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/irda/irlan/
H A Dirlan_client.c88 irlan_client_wakeup(self, self->saddr, self->daddr);
101 * Function irlan_client_wakeup (self, saddr, daddr)
106 void irlan_client_wakeup(struct irlan_cb *self, __u32 saddr, __u32 daddr) argument
126 self->daddr = daddr;
144 * Function irlan_discovery_indication (daddr)
154 __u32 saddr, daddr; local
164 daddr = discovery->daddr;
173 daddr);
[all...]

Completed in 113 milliseconds

1234567891011>>