tag | line | file | source code |
daddr | 406 | drivers/net/plip.c | unsigned short type, void *daddr, |
daddr | 417 | drivers/net/plip.c | return eth_header(buff, dev, type, daddr, saddr, len, skb); |
daddr | 117 | drivers/net/ppp.c | unsigned short type, unsigned long daddr, |
daddr | 1130 | drivers/net/ppp.c | iph->saddr, iph->daddr, count)) |
daddr | 1764 | drivers/net/ppp.c | (int) iph->daddr, (int) iph->protocol)) |
daddr | 1821 | drivers/net/ppp.c | unsigned long daddr, unsigned long saddr, unsigned len) |
daddr | 1841 | drivers/net/ppp.c | void *daddr, void *saddr, unsigned len, struct sk_buff *skb) |
daddr | 283 | drivers/net/slhc.c | && ip->daddr == cs->cs_ip.daddr |
daddr | 498 | drivers/net/slip.c | void *daddr, void *saddr, unsigned len, struct sk_buff *skb) |
daddr | 504 | drivers/net/slip.c | return ax25_encapsulate(buff,dev,type,daddr,saddr,len,skb); |
daddr | 32 | include/linux/etherdevice.h | unsigned short type, void *daddr, |
daddr | 94 | include/linux/ip.h | unsigned long daddr; |
daddr | 127 | include/linux/netdevice.h | void *daddr, |
daddr | 171 | include/linux/netdevice.h | extern struct device *ip_dev_check(unsigned long daddr); |
daddr | 65 | include/linux/skbuff.h | unsigned long daddr; |
daddr | 617 | net/inet/af_inet.c | sk->daddr = 0; |
daddr | 823 | net/inet/af_inet.c | sk->daddr = 0; |
daddr | 1019 | net/inet/af_inet.c | sin->sin_addr.s_addr = sk->daddr; |
daddr | 1272 | net/inet/af_inet.c | if(ip_addr_match(s->daddr,raddr)==0) |
daddr | 83 | net/inet/eth.c | void *daddr, void *saddr, unsigned len, |
daddr | 117 | net/inet/eth.c | if(daddr) |
daddr | 119 | net/inet/eth.c | memcpy(eth->h_dest,daddr,dev->addr_len); |
daddr | 28 | net/inet/eth.h | unsigned short type, unsigned long daddr, |
daddr | 238 | net/inet/icmp.c | in_ntoa(iph->daddr), ntohs(iph->protocol)); |
daddr | 244 | net/inet/icmp.c | in_ntoa(iph->daddr)); |
daddr | 247 | net/inet/icmp.c | printk("ICMP: %s: Source Route Failed.\n", in_ntoa(iph->daddr)); |
daddr | 276 | net/inet/icmp.c | iph->daddr, iph->saddr, ipprot); |
daddr | 301 | net/inet/icmp.c | ip = iph->daddr; |
daddr | 352 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
daddr | 375 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, |
daddr | 419 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
daddr | 443 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, IPPROTO_ICMP, opt, len, |
daddr | 495 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
daddr | 508 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
daddr | 533 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, |
daddr | 577 | net/inet/icmp.c | unsigned long daddr, unsigned short len, |
daddr | 615 | net/inet/icmp.c | if (ip_chk_addr(daddr) == IS_BROADCAST) |
daddr | 623 | net/inet/icmp.c | daddr=dev->pa_addr; |
daddr | 646 | net/inet/icmp.c | icmp_echo(icmph, skb1, dev, saddr, daddr, len, opt); |
daddr | 654 | net/inet/icmp.c | icmp_timestamp(icmph, skb1, dev, saddr, daddr, len, opt); |
daddr | 662 | net/inet/icmp.c | icmp_info(icmph, skb1, dev, saddr, daddr, len, opt); |
daddr | 670 | net/inet/icmp.c | icmp_address(icmph, skb1, dev, saddr, daddr, len, opt); |
daddr | 31 | net/inet/icmp.h | struct options *opt, unsigned long daddr, |
daddr | 138 | net/inet/ip.c | ip_route_check(unsigned long daddr) |
daddr | 161 | net/inet/ip.c | static int ip_send(struct sk_buff *skb, unsigned long daddr, int len, struct device *dev, unsigned long saddr) |
daddr | 178 | net/inet/ip.c | skb->raddr = daddr; /* next routing address */ |
daddr | 192 | net/inet/ip.c | int ip_build_header(struct sk_buff *skb, unsigned long saddr, unsigned long daddr, |
daddr | 219 | net/inet/ip.c | rt = ip_rt_local(daddr, &optmem, &src); |
daddr | 221 | net/inet/ip.c | rt = ip_rt_route(daddr, &optmem, &src); |
daddr | 233 | net/inet/ip.c | if (LOOPBACK(saddr) && !LOOPBACK(daddr)) |
daddr | 245 | net/inet/ip.c | rt = ip_rt_local(daddr, &optmem, &src); |
daddr | 247 | net/inet/ip.c | rt = ip_rt_route(daddr, &optmem, &src); |
daddr | 252 | net/inet/ip.c | if (LOOPBACK(saddr) && !LOOPBACK(daddr)) |
daddr | 262 | net/inet/ip.c | raddr = daddr; |
daddr | 298 | net/inet/ip.c | iph->daddr = daddr; |
daddr | 608 | net/inet/ip.c | iph->daddr == qp->iph->daddr && iph->protocol == qp->iph->protocol) |
daddr | 1296 | net/inet/ip.c | rt = ip_rt_route(iph->daddr, NULL, NULL); |
daddr | 1337 | net/inet/ip.c | raddr = iph->daddr; |
daddr | 1512 | net/inet/ip.c | if ( iph->daddr != skb->dev->pa_addr && (brd = ip_chk_addr(iph->daddr)) == 0) |
daddr | 1602 | net/inet/ip.c | ipprot->handler(skb2, dev, opts_p ? &opt : 0, iph->daddr, |
daddr | 1842 | net/inet/ip.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
daddr | 71 | net/inet/ip.h | extern void ip_route_check(unsigned long daddr); |
daddr | 74 | net/inet/ip.h | unsigned long daddr, |
daddr | 82 | net/inet/proc.c | dest = sp->daddr; |
daddr | 32 | net/inet/protocol.h | struct options *opt, unsigned long daddr, |
daddr | 36 | net/inet/protocol.h | struct options *opt, unsigned long daddr, |
daddr | 40 | net/inet/protocol.h | unsigned long daddr, |
daddr | 64 | net/inet/raw.c | void raw_err (int err, unsigned char *header, unsigned long daddr, |
daddr | 95 | net/inet/raw.c | unsigned long daddr, unsigned short len, unsigned long saddr, |
daddr | 122 | net/inet/raw.c | skb->saddr = daddr; |
daddr | 123 | net/inet/raw.c | skb->daddr = saddr; |
daddr | 180 | net/inet/raw.c | sin.sin_addr.s_addr = sk->daddr; |
daddr | 343 | net/inet/raw.c | sin->sin_addr.s_addr = skb->daddr; |
daddr | 24 | net/inet/raw.h | extern void raw_err(int err, unsigned char *header, unsigned long daddr, |
daddr | 27 | net/inet/raw.h | struct options *opt, unsigned long daddr, |
daddr | 363 | net/inet/route.c | unsigned long flags, daddr, mask, gw; |
daddr | 392 | net/inet/route.c | daddr = ((struct sockaddr_in *) &r->rt_dst)->sin_addr.s_addr; |
daddr | 421 | net/inet/route.c | if (bad_mask(mask, daddr)) |
daddr | 445 | net/inet/route.c | dev = ip_dev_check(daddr); |
daddr | 458 | net/inet/route.c | ip_rt_add(flags, daddr, mask, gw, dev, r->rt_mss, r->rt_window); |
daddr | 534 | net/inet/route.c | struct rtable * ip_rt_route(unsigned long daddr, struct options *opt, unsigned long *src_addr) |
daddr | 540 | net/inet/route.c | if (!((rt->rt_dst ^ daddr) & rt->rt_mask)) |
daddr | 547 | net/inet/route.c | rt->rt_dev->pa_brdaddr == daddr) |
daddr | 554 | net/inet/route.c | if (daddr == rt->rt_dev->pa_addr) { |
daddr | 564 | net/inet/route.c | struct rtable * ip_rt_local(unsigned long daddr, struct options *opt, unsigned long *src_addr) |
daddr | 576 | net/inet/route.c | if (!((rt->rt_dst ^ daddr) & rt->rt_mask)) |
daddr | 583 | net/inet/route.c | rt->rt_dev->pa_brdaddr == daddr) |
daddr | 590 | net/inet/route.c | if (daddr == rt->rt_dev->pa_addr) { |
daddr | 48 | net/inet/route.h | extern struct rtable *ip_rt_route(unsigned long daddr, struct options *opt, unsigned long *src_addr); |
daddr | 49 | net/inet/route.h | extern struct rtable *ip_rt_local(unsigned long daddr, struct options *opt, unsigned long *src_addr); |
daddr | 513 | net/inet/skbuff.c | n->daddr=skb->daddr; |
daddr | 426 | net/inet/sock.c | skb->saddr, skb->len, skb->daddr, 1, |
daddr | 102 | net/inet/sock.h | unsigned long daddr; |
daddr | 205 | net/inet/sock.h | unsigned long daddr, |
daddr | 218 | net/inet/sock.h | struct options *opt, unsigned long daddr, |
daddr | 307 | net/inet/tcp.c | void tcp_err(int err, unsigned char *header, unsigned long daddr, |
daddr | 318 | net/inet/tcp.c | sk = get_sock(&tcp_prot, th->source/*dest*/, daddr, th->dest/*source*/, saddr); |
daddr | 571 | net/inet/tcp.c | unsigned long saddr, unsigned long daddr) |
daddr | 588 | net/inet/tcp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_TCP*256) |
daddr | 653 | net/inet/tcp.c | unsigned long daddr, int len, struct sock *sk) |
daddr | 656 | net/inet/tcp.c | th->check = tcp_check(th, len, saddr, daddr); |
daddr | 715 | net/inet/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
daddr | 776 | net/inet/tcp.c | struct tcphdr *th, unsigned long daddr) |
daddr | 808 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev, |
daddr | 856 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, daddr, sizeof(*t1), sk); |
daddr | 1148 | net/inet/tcp.c | tmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
daddr | 1230 | net/inet/tcp.c | if (addr->sin_addr.s_addr != sk->daddr) |
daddr | 1273 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 1300 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
daddr | 1677 | net/inet/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
daddr | 1719 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
daddr | 1777 | net/inet/tcp.c | addr->sin_addr.s_addr = sk->daddr; |
daddr | 1787 | net/inet/tcp.c | static void tcp_reset(unsigned long saddr, unsigned long daddr, struct tcphdr *th, |
daddr | 1815 | net/inet/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
daddr | 1858 | net/inet/tcp.c | tcp_send_check(t1, saddr, daddr, sizeof(*t1), NULL); |
daddr | 1941 | net/inet/tcp.c | unsigned long daddr, unsigned long saddr, |
daddr | 1962 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
daddr | 2047 | net/inet/tcp.c | newsk->daddr = saddr; |
daddr | 2048 | net/inet/tcp.c | newsk->saddr = daddr; |
daddr | 2092 | net/inet/tcp.c | if ((saddr ^ daddr) & default_mask(saddr)) |
daddr | 2094 | net/inet/tcp.c | if ((saddr ^ daddr) & dev->pa_mask) |
daddr | 2134 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
daddr | 2183 | net/inet/tcp.c | tcp_send_check(t1, daddr, saddr, sizeof(*t1)+4, newsk); |
daddr | 2340 | net/inet/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
daddr | 2384 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
daddr | 2476 | net/inet/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
daddr | 3099 | net/inet/tcp.c | tcp_reset(sk->saddr, sk->daddr, skb->h.th, |
daddr | 3601 | net/inet/tcp.c | sk->daddr = usin->sin_addr.s_addr; |
daddr | 3626 | net/inet/tcp.c | rt=ip_rt_route(sk->daddr, NULL, NULL); |
daddr | 3633 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 3673 | net/inet/tcp.c | if ((sk->saddr ^ sk->daddr) & default_mask(sk->saddr)) |
daddr | 3675 | net/inet/tcp.c | if ((sk->saddr ^ sk->daddr) & dev->pa_mask) |
daddr | 3699 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, |
daddr | 3765 | net/inet/tcp.c | tcp_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
daddr | 3794 | net/inet/tcp.c | unsigned long daddr, unsigned short len, |
daddr | 3824 | net/inet/tcp.c | sk = get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
daddr | 3836 | net/inet/tcp.c | if (tcp_check(th, len, saddr, daddr )) |
daddr | 3852 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
daddr | 3863 | net/inet/tcp.c | skb->saddr = daddr; |
daddr | 3864 | net/inet/tcp.c | skb->daddr = saddr; |
daddr | 4059 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt,dev, sk->ip_tos,sk->ip_ttl); |
daddr | 4097 | net/inet/tcp.c | if (sk->dead || sk->daddr) { |
daddr | 4106 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
daddr | 4119 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
daddr | 4133 | net/inet/tcp.c | tcp_conn_request(sk, skb, daddr, saddr, opt, dev); |
daddr | 4192 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, |
daddr | 4214 | net/inet/tcp.c | sk, th, sk->daddr); |
daddr | 4220 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, |
daddr | 4349 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 4378 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
daddr | 116 | net/inet/tcp.h | extern void tcp_err(int err, unsigned char *header, unsigned long daddr, |
daddr | 120 | net/inet/tcp.h | struct options *opt, unsigned long daddr, |
daddr | 128 | net/inet/tcp.h | unsigned long daddr, int len, struct sock *sk); |
daddr | 166 | net/inet/timer.c | arp_destroy (sk->daddr, 0); |
daddr | 208 | net/inet/timer.c | arp_destroy (sk->daddr, 0); |
daddr | 209 | net/inet/timer.c | ip_route_check (sk->daddr); |
daddr | 248 | net/inet/timer.c | arp_destroy (sk->daddr, 0); |
daddr | 249 | net/inet/timer.c | ip_route_check (sk->daddr); |
daddr | 255 | net/inet/timer.c | arp_destroy (sk->daddr, 0); |
daddr | 97 | net/inet/udp.c | void udp_err(int err, unsigned char *header, unsigned long daddr, |
daddr | 112 | net/inet/udp.c | sk = get_sock(&udp_prot, th->source, daddr, th->dest, saddr); |
daddr | 153 | net/inet/udp.c | static unsigned short udp_check(struct udphdr *uh, int len, unsigned long saddr, unsigned long daddr) |
daddr | 161 | net/inet/udp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_UDP*256) |
daddr | 232 | net/inet/udp.c | unsigned long daddr, int len, struct sock *sk) |
daddr | 237 | net/inet/udp.c | uh->check = udp_check(uh, len, saddr, daddr); |
daddr | 364 | net/inet/udp.c | sin.sin_addr.s_addr = sk->daddr; |
daddr | 498 | net/inet/udp.c | sin->sin_addr.s_addr = skb->daddr; |
daddr | 530 | net/inet/udp.c | sk->daddr = usin->sin_addr.s_addr; |
daddr | 553 | net/inet/udp.c | unsigned long daddr, unsigned short len, |
daddr | 582 | net/inet/udp.c | sk = get_sock(&udp_prot, uh->dest, saddr, uh->source, daddr); |
daddr | 586 | net/inet/udp.c | if (ip_chk_addr(daddr) == IS_MYADDR) |
daddr | 599 | net/inet/udp.c | if (uh->check && udp_check(uh, len, saddr, daddr)) |
daddr | 615 | net/inet/udp.c | skb->daddr = saddr; |
daddr | 616 | net/inet/udp.c | skb->saddr = daddr; |
daddr | 34 | net/inet/udp.h | extern void udp_err(int err, unsigned char *header, unsigned long daddr, |
daddr | 44 | net/inet/udp.h | struct options *opt, unsigned long daddr, |