tag | line | file | source code |
daddr | 30 | arch/alpha/lib/checksum.c | unsigned long daddr, |
daddr | 35 | arch/alpha/lib/checksum.c | return ~from64to16(saddr + daddr + sum + |
daddr | 350 | drivers/net/arcnet.c | daddr; /* Destination address */ |
daddr | 436 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
daddr | 438 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
daddr | 446 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len, |
daddr | 450 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len); |
daddr | 1314 | drivers/net/arcnet.c | short daddr; |
daddr | 1328 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination=hdr->daddr; |
daddr | 1377 | drivers/net/arcnet.c | daddr,length,pkttype); |
daddr | 1397 | drivers/net/arcnet.c | lp->outgoing.lastload_dest=hdr->daddr; |
daddr | 1474 | drivers/net/arcnet.c | u_char *arcsoft,daddr; |
daddr | 1500 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination=0; |
daddr | 1502 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination= |
daddr | 1536 | drivers/net/arcnet.c | daddr,length); |
daddr | 1556 | drivers/net/arcnet.c | lp->outgoing.lastload_dest=daddr; |
daddr | 1807 | drivers/net/arcnet.c | u_char daddr,saddr; |
daddr | 1810 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination; |
daddr | 1838 | drivers/net/arcnet.c | saddr,daddr,length); |
daddr | 1848 | drivers/net/arcnet.c | length,saddr,daddr); |
daddr | 1851 | drivers/net/arcnet.c | arcnetE_rx(dev,arcsoft,length,saddr,daddr); |
daddr | 1893 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
daddr | 1951 | drivers/net/arcnet.c | soft->daddr=daddr; |
daddr | 2144 | drivers/net/arcnet.c | soft->daddr=daddr; |
daddr | 2183 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
daddr | 2273 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len, |
daddr | 2277 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len) |
daddr | 2334 | drivers/net/arcnet.c | head->daddr=0; |
daddr | 2343 | drivers/net/arcnet.c | if(daddr) |
daddr | 2345 | drivers/net/arcnet.c | head->daddr=((u_char*)daddr)[0]; |
daddr | 2349 | drivers/net/arcnet.c | head->daddr=0; /* better fill one in anyway */ |
daddr | 2372 | drivers/net/arcnet.c | head->daddr=0; |
daddr | 2381 | drivers/net/arcnet.c | return arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0; |
daddr | 2402 | drivers/net/arcnet.c | if (head->daddr==0) |
daddr | 2407 | drivers/net/arcnet.c | if (head->daddr != dev->dev_addr[0]) |
daddr | 153 | drivers/net/eql.c | unsigned short type, void *daddr, void *saddr, |
daddr | 418 | drivers/net/eql.c | unsigned short type, void *daddr, void *saddr, |
daddr | 1188 | drivers/net/ibmtr.c | trhdr->daddr[0],trhdr->daddr[1],trhdr->daddr[2],trhdr->daddr[3],trhdr->daddr[4],trhdr->daddr[5]); |
daddr | 1079 | drivers/net/pi2.c | void *daddr, void *saddr, unsigned len) |
daddr | 1081 | drivers/net/pi2.c | return ax25_encapsulate(skb, dev, type, daddr, saddr, len); |
daddr | 122 | drivers/net/ppp.c | unsigned short type, unsigned long daddr, |
daddr | 1149 | drivers/net/ppp.c | iph->saddr, iph->daddr, count)) |
daddr | 1819 | drivers/net/ppp.c | (int) iph->daddr, (int) iph->protocol)) |
daddr | 1870 | drivers/net/ppp.c | unsigned long daddr, unsigned long saddr, unsigned len) |
daddr | 1890 | drivers/net/ppp.c | void *daddr, void *saddr, unsigned len) |
daddr | 298 | drivers/net/slhc.c | && ip->daddr == cs->cs_ip.daddr |
daddr | 534 | drivers/net/slip.c | void *daddr, void *saddr, unsigned len) |
daddr | 541 | drivers/net/slip.c | return ax25_encapsulate(skb, dev, type, daddr, saddr, len); |
daddr | 114 | drivers/net/tunnel.c | ipaddr=(unsigned char *)&ip->daddr; |
daddr | 196 | drivers/net/tunnel.c | if ( iph->daddr == dev->pa_addr ) |
daddr | 236 | drivers/net/tunnel.c | iph->daddr = dev->pa_dstaddr; |
daddr | 255 | drivers/net/tunnel.c | if(ip_forward(skb2, dev, 0, iph->daddr, 0)) |
daddr | 16 | include/asm-alpha/checksum.h | unsigned long daddr, |
daddr | 7 | include/asm-alpha/ipsum.h | extern inline unsigned short udp_check(struct udphdr *uh, int len, u32 saddr, u32 daddr) |
daddr | 16 | include/asm-alpha/ipsum.h | extern inline unsigned short tcp_check(struct tcphdr *th, int len, u32 saddr, u32 daddr) |
daddr | 82 | include/asm-i386/checksum.h | unsigned long daddr, |
daddr | 98 | include/asm-i386/checksum.h | : "0" (daddr), "1"(saddr), "r"((ntohs(len)<<16)+proto*256), "r"(sum)); |
daddr | 11 | include/asm-sparc/ipsum.h | extern inline unsigned short udp_check(struct udphdr *uh, int len, u32 saddr, u32 daddr) |
daddr | 20 | include/asm-sparc/ipsum.h | extern inline unsigned short tcp_check(struct tcphdr *th, int len, u32 saddr, u32 daddr) |
daddr | 32 | include/linux/etherdevice.h | unsigned short type, void *daddr, |
daddr | 37 | include/linux/etherdevice.h | extern void eth_header_cache(struct device *dev, struct sock *sk, unsigned long saddr, unsigned long daddr); |
daddr | 50 | include/linux/if_tr.h | unsigned char daddr[TR_ALEN]; /* destination address */ |
daddr | 92 | include/linux/ip.h | __u32 daddr; |
daddr | 154 | include/linux/netdevice.h | void *daddr, |
daddr | 168 | include/linux/netdevice.h | void (*header_cache)(struct device *dev, struct sock *sk, unsigned long saddr, unsigned long daddr); |
daddr | 198 | include/linux/netdevice.h | extern struct device *ip_dev_check(unsigned long daddr); |
daddr | 68 | include/linux/skbuff.h | unsigned long daddr; /* IP target address */ |
daddr | 32 | include/linux/trdevice.h | unsigned short type, void *daddr, |
daddr | 18 | include/net/arp.h | extern int arp_find_cache(unsigned char *dp, u32 daddr, struct device *dev); |
daddr | 29 | include/net/icmp.h | struct options *opt, __u32 daddr, |
daddr | 79 | include/net/ip.h | extern void ip_route_check(__u32 daddr); |
daddr | 82 | include/net/ip.h | __u32 daddr, |
daddr | 106 | include/net/ip.h | __u32 daddr, |
daddr | 2 | include/net/ipip.h | __u32 daddr, unsigned short len, __u32 saddr, |
daddr | 33 | include/net/protocol.h | struct options *opt, __u32 daddr, |
daddr | 37 | include/net/protocol.h | __u32 daddr, |
daddr | 24 | include/net/raw.h | extern void raw_err(int type, int code, unsigned char *header, __u32 daddr, |
daddr | 49 | include/net/route.h | extern struct rtable *ip_rt_route(__u32 daddr, struct options *opt, __u32 *src_addr); |
daddr | 50 | include/net/route.h | extern struct rtable *ip_rt_local(__u32 daddr, struct options *opt, __u32 *src_addr); |
daddr | 130 | include/net/sock.h | __u32 daddr; |
daddr | 265 | include/net/sock.h | __u32 daddr, |
daddr | 279 | include/net/sock.h | struct options *opt, __u32 daddr, |
daddr | 126 | include/net/tcp.h | extern void tcp_err(int type, int code, unsigned char *header, __u32 daddr, |
daddr | 130 | include/net/tcp.h | struct options *opt, __u32 daddr, |
daddr | 138 | include/net/tcp.h | unsigned long daddr, int len, struct sock *sk); |
daddr | 34 | include/net/udp.h | extern void udp_err(int type, int code, unsigned char *header, __u32 daddr, |
daddr | 37 | include/net/udp.h | __u32 daddr, int len, struct sock *sk); |
daddr | 46 | include/net/udp.h | struct options *opt, __u32 daddr, |
daddr | 42 | net/802/tr.c | void *daddr, void *saddr, unsigned len) |
daddr | 62 | net/802/tr.c | if(daddr) { |
daddr | 63 | net/802/tr.c | memcpy(trh->daddr,daddr,dev->addr_len); |
daddr | 82 | net/802/tr.c | if(arp_find(trh->daddr, dest, dev, dev->pa_addr, skb)) { |
daddr | 103 | net/802/tr.c | if(*trh->daddr & 1) |
daddr | 105 | net/802/tr.c | if(!memcmp(trh->daddr,dev->broadcast,TR_ALEN)) |
daddr | 113 | net/802/tr.c | if(memcmp(trh->daddr, dev->dev_addr, TR_ALEN)) |
daddr | 129 | net/802/tr.c | if(!memcmp(&(trh->daddr[0]),&(dev->broadcast[0]),TR_ALEN)) { |
daddr | 135 | net/802/tr.c | for(i=0,hash=0;i<TR_ALEN;hash+=trh->daddr[i++]); |
daddr | 137 | net/802/tr.c | for(entry=rif_table[hash];entry && memcmp(&(entry->addr[0]),&(trh->daddr[0]),TR_ALEN);entry=entry->next); |
daddr | 141 | net/802/tr.c | printk("source routing for %02X %02X %02X %02X %02X %02X\n",trh->daddr[0], |
daddr | 142 | net/802/tr.c | trh->daddr[1],trh->daddr[2],trh->daddr[3],trh->daddr[4],trh->daddr[5]); |
daddr | 2226 | net/ax25/af_ax25.c | int ax25_encapsulate(struct sk_buff *skb, struct device *dev, unsigned short type, void *daddr, |
daddr | 2234 | net/ax25/af_ax25.c | if (daddr != NULL) |
daddr | 2235 | net/ax25/af_ax25.c | memcpy(buff, daddr, dev->addr_len); /* Address specified */ |
daddr | 2268 | net/ax25/af_ax25.c | if (daddr != NULL) |
daddr | 619 | net/core/skbuff.c | n->daddr=skb->daddr; |
daddr | 543 | net/core/sock.c | skb->saddr, skb->len, skb->daddr, 1, |
daddr | 88 | net/ethernet/eth.c | void *daddr, void *saddr, unsigned len) |
daddr | 121 | net/ethernet/eth.c | if(daddr) |
daddr | 123 | net/ethernet/eth.c | memcpy(eth->h_dest,daddr,dev->addr_len); |
daddr | 217 | net/ethernet/eth.c | void eth_header_cache(struct device *dev, struct sock *sk, unsigned long saddr, unsigned long daddr) |
daddr | 219 | net/ethernet/eth.c | int v=arp_find_cache(sk->ip_hcache_data, daddr, dev); |
daddr | 676 | net/ipv4/af_inet.c | sk->daddr = 0; |
daddr | 934 | net/ipv4/af_inet.c | sk->daddr = 0; |
daddr | 1134 | net/ipv4/af_inet.c | sin->sin_addr.s_addr = sk->daddr; |
daddr | 1410 | net/ipv4/af_inet.c | if (s->daddr) { |
daddr | 1411 | net/ipv4/af_inet.c | if (s->daddr != raddr) |
daddr | 1452 | net/ipv4/af_inet.c | if(s->daddr && s->daddr!=raddr) |
daddr | 1493 | net/ipv4/af_inet.c | if(s->daddr && s->daddr!=raddr) |
daddr | 1161 | net/ipv4/arp.c | int arp_find_cache(unsigned char *dp, u32 daddr, struct device *dev) |
daddr | 1171 | net/ipv4/arp.c | switch (ip_chk_addr(daddr)) |
daddr | 1184 | net/ipv4/arp.c | taddr=ntohl(daddr); |
daddr | 1202 | net/ipv4/arp.c | entry=arp_lookup(daddr, PROXY_NONE, dev->type); |
daddr | 148 | net/ipv4/icmp.c | void (*handler)(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len); |
daddr | 228 | net/ipv4/icmp.c | static void icmp_build_xmit(struct icmp_bxm *icmp_param, __u32 saddr, __u32 daddr) |
daddr | 236 | net/ipv4/icmp.c | daddr, 0, IPPROTO_ICMP); |
daddr | 275 | net/ipv4/icmp.c | atype=ip_chk_addr(iph->daddr); |
daddr | 313 | net/ipv4/icmp.c | saddr=iph->daddr; |
daddr | 336 | net/ipv4/icmp.c | static void icmp_unreach(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len) |
daddr | 357 | net/ipv4/icmp.c | in_ntoa(iph->daddr), ntohs(iph->protocol)); |
daddr | 363 | net/ipv4/icmp.c | in_ntoa(iph->daddr)); |
daddr | 366 | net/ipv4/icmp.c | printk("ICMP: %s: Source Route Failed.\n", in_ntoa(iph->daddr)); |
daddr | 412 | net/ipv4/icmp.c | iph->daddr, iph->saddr, ipprot); |
daddr | 425 | net/ipv4/icmp.c | static void icmp_redirect(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 source, __u32 daddr, int len) |
daddr | 438 | net/ipv4/icmp.c | ip = iph->daddr; |
daddr | 502 | net/ipv4/icmp.c | static void icmp_echo(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len) |
daddr | 509 | net/ipv4/icmp.c | icmp_build_xmit(&icmp_param, daddr, saddr); |
daddr | 521 | net/ipv4/icmp.c | static void icmp_timestamp(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len) |
daddr | 549 | net/ipv4/icmp.c | icmp_build_xmit(&icmp_param, daddr,saddr); |
daddr | 566 | net/ipv4/icmp.c | static void icmp_address(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len) |
daddr | 577 | net/ipv4/icmp.c | icmp_build_xmit(&icmp_param, daddr, saddr); |
daddr | 582 | net/ipv4/icmp.c | static void icmp_discard(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len) |
daddr | 592 | net/ipv4/icmp.c | __u32 daddr, unsigned short len, |
daddr | 628 | net/ipv4/icmp.c | if (daddr!=dev->pa_addr && ip_chk_addr(daddr) == IS_BROADCAST) |
daddr | 641 | net/ipv4/icmp.c | daddr=dev->pa_addr; |
daddr | 646 | net/ipv4/icmp.c | (icmp_pointers[icmph->type].handler)(icmph,skb,skb->dev,saddr,daddr,len); |
daddr | 214 | net/ipv4/igmp.c | __u32 daddr, unsigned short len, __u32 saddr, int redo, |
daddr | 240 | net/ipv4/igmp.c | if(ih->type==IGMP_HOST_MEMBERSHIP_QUERY && daddr==IGMP_ALL_HOSTS) |
daddr | 242 | net/ipv4/igmp.c | if(ih->type==IGMP_HOST_MEMBERSHIP_REPORT && daddr==ih->group) |
daddr | 190 | net/ipv4/ip.c | static int ip_send(struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr) |
daddr | 208 | net/ipv4/ip.c | skb->raddr = daddr; /* next routing address */ |
daddr | 214 | net/ipv4/ip.c | static int ip_send_room(struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr) |
daddr | 228 | net/ipv4/ip.c | skb->raddr = daddr; /* next routing address */ |
daddr | 242 | net/ipv4/ip.c | int ip_build_header(struct sk_buff *skb, __u32 saddr, __u32 daddr, |
daddr | 256 | net/ipv4/ip.c | if(MULTICAST(daddr) && *dev==NULL && skb->sk && *skb->sk->ip_mc_name) |
daddr | 262 | net/ipv4/ip.c | rt = ip_rt_local(daddr, NULL, &src); |
daddr | 264 | net/ipv4/ip.c | rt = ip_rt_route(daddr, NULL, &src); |
daddr | 276 | net/ipv4/ip.c | if (LOOPBACK(saddr) && !LOOPBACK(daddr)) |
daddr | 287 | net/ipv4/ip.c | rt = ip_rt_local(daddr, NULL, &src); |
daddr | 289 | net/ipv4/ip.c | rt = ip_rt_route(daddr, NULL, &src); |
daddr | 294 | net/ipv4/ip.c | if (LOOPBACK(saddr) && !LOOPBACK(daddr)) |
daddr | 310 | net/ipv4/ip.c | raddr = daddr; |
daddr | 353 | net/ipv4/ip.c | iph->daddr = daddr; |
daddr | 424 | net/ipv4/ip.c | iph->daddr == qp->iph->daddr && iph->protocol == qp->iph->protocol) |
daddr | 1190 | net/ipv4/ip.c | if (dev == dev2 && !((iph->saddr^iph->daddr)&dev->pa_mask) && (rt->rt_flags&RTF_MODIFIED)) |
daddr | 1415 | net/ipv4/ip.c | target_addr = iph->daddr; |
daddr | 1471 | net/ipv4/ip.c | if (iph->daddr!=skb->dev->pa_addr && (brd = ip_chk_addr(iph->daddr)) == 0) |
daddr | 1475 | net/ipv4/ip.c | if(ip_chk_addr(iph->daddr)) |
daddr | 1491 | net/ipv4/ip.c | if(ip_chk_addr(iph->daddr)) |
daddr | 1544 | net/ipv4/ip.c | if ( iph->daddr == skb->dev->pa_addr || (brd = ip_chk_addr(iph->daddr)) != 0) |
daddr | 1547 | net/ipv4/ip.c | if(!(dev->flags&IFF_ALLMULTI) && brd==IS_MULTICAST && iph->daddr!=IGMP_ALL_HOSTS && !(dev->flags&IFF_LOOPBACK)) |
daddr | 1560 | net/ipv4/ip.c | if(ip_mc->multiaddr==iph->daddr) |
daddr | 1575 | net/ipv4/ip.c | if(ip_forward(skb, dev, is_frag|4, iph->daddr, 0)) |
daddr | 1626 | net/ipv4/ip.c | raw_sk=get_sock_raw(raw_sk, iph->protocol, iph->saddr, iph->daddr); |
daddr | 1632 | net/ipv4/ip.c | sknext=get_sock_raw(raw_sk->next, iph->protocol, iph->saddr, iph->daddr); |
daddr | 1638 | net/ipv4/ip.c | raw_rcv(raw_sk, skb1, dev, iph->saddr,iph->daddr); |
daddr | 1689 | net/ipv4/ip.c | ipprot->handler(skb2, dev, NULL, iph->daddr, |
daddr | 1703 | net/ipv4/ip.c | raw_rcv(raw_sk, skb, dev, iph->saddr, iph->daddr); |
daddr | 1762 | net/ipv4/ip.c | newskb->daddr=skb->daddr; |
daddr | 1772 | net/ipv4/ip.c | ip_send(newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr); |
daddr | 1951 | net/ipv4/ip.c | if (MULTICAST(iph->daddr) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 1955 | net/ipv4/ip.c | if(iph->daddr==IGMP_ALL_HOSTS || (dev->flags&IFF_ALLMULTI)) |
daddr | 1964 | net/ipv4/ip.c | if(imc->multiaddr==iph->daddr) |
daddr | 1982 | net/ipv4/ip.c | if((dev->flags&IFF_BROADCAST) && (iph->daddr==dev->pa_brdaddr||iph->daddr==0xFFFFFFFF) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 2447 | net/ipv4/ip.c | __u32 daddr, |
daddr | 2464 | net/ipv4/ip.c | if(sk && MULTICAST(daddr) && *sk->ip_mc_name) |
daddr | 2470 | net/ipv4/ip.c | if (sk->saddr && (!LOOPBACK(sk->saddr) || LOOPBACK(daddr))) |
daddr | 2493 | net/ipv4/ip.c | if(!rt || sk->ip_route_stamp != rt_stamp || daddr!=sk->ip_route_daddr || sk->ip_route_local!=local || sk->saddr!=sk->ip_route_saddr) |
daddr | 2496 | net/ipv4/ip.c | rt = ip_rt_local(daddr, NULL, &saddr); |
daddr | 2498 | net/ipv4/ip.c | rt = ip_rt_route(daddr, NULL, &saddr); |
daddr | 2500 | net/ipv4/ip.c | sk->ip_route_daddr=daddr; |
daddr | 2518 | net/ipv4/ip.c | rt->rt_dev->header_cache(rt->rt_dev,sk,saddr,daddr); |
daddr | 2531 | net/ipv4/ip.c | if (sk->saddr && (!LOOPBACK(sk->saddr) || LOOPBACK(daddr))) |
daddr | 2548 | net/ipv4/ip.c | if(length+20 <= dev->mtu && !MULTICAST(daddr) && daddr!=0xFFFFFFFF && daddr!=dev->pa_brdaddr) |
daddr | 2564 | net/ipv4/ip.c | skb->raddr=(rt&&rt->rt_gateway)?rt->rt_gateway:daddr; |
daddr | 2591 | net/ipv4/ip.c | iph->daddr=daddr; |
daddr | 2710 | net/ipv4/ip.c | skb->raddr = (rt&&rt->rt_gateway) ? rt->rt_gateway : daddr; |
daddr | 2754 | net/ipv4/ip.c | if (MULTICAST(daddr)) |
daddr | 2762 | net/ipv4/ip.c | iph->daddr = daddr; |
daddr | 2804 | net/ipv4/ip.c | if (MULTICAST(daddr) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 2815 | net/ipv4/ip.c | if(skb->daddr==IGMP_ALL_HOSTS || (dev->flags&IFF_ALLMULTI)) |
daddr | 2822 | net/ipv4/ip.c | if(imc->multiaddr==daddr) |
daddr | 2848 | net/ipv4/ip.c | if((dev->flags&IFF_BROADCAST) && (daddr==0xFFFFFFFF || daddr==dev->pa_brdaddr) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 206 | net/ipv4/ip_fw.c | dst = ip->daddr; |
daddr | 253 | net/ipv4/ip_fw.c | dst = ip->daddr; |
daddr | 306 | net/ipv4/ip_fw.c | dprint_ip(ip->daddr); |
daddr | 451 | net/ipv4/ip_fw.c | print_ip(ip->daddr); |
daddr | 639 | net/ipv4/ip_fw.c | ms->dst = iph->daddr; |
daddr | 725 | net/ipv4/ip_fw.c | unsigned long daddr, int len) |
daddr | 728 | net/ipv4/ip_fw.c | uh->check=csum_tcpudp_magic(saddr,daddr,len, |
daddr | 760 | net/ipv4/ip_fw.c | ntohl(iph->daddr), ntohs(portptr[1])); |
daddr | 765 | net/ipv4/ip_fw.c | iph->saddr == ms->src && iph->daddr == ms->dst && |
daddr | 788 | net/ipv4/ip_fw.c | ms->dst = iph->daddr; |
daddr | 808 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
daddr | 833 | net/ipv4/ip_fw.c | tcp_send_check(th,iph->saddr,iph->daddr,size,skb->sk); |
daddr | 871 | net/ipv4/ip_fw.c | ntohl(iph->daddr), ntohs(portptr[1])); |
daddr | 891 | net/ipv4/ip_fw.c | iph->daddr = ms->src; |
daddr | 898 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
daddr | 910 | net/ipv4/ip_fw.c | tcp_send_check((struct tcphdr *)portptr,iph->saddr,iph->daddr,size,skb_ptr->sk); |
daddr | 914 | net/ipv4/ip_fw.c | printk("I-routed to %lX:%X\n",ntohl(iph->daddr),ntohs(portptr[1])); |
daddr | 64 | net/ipv4/ipip.c | __u32 daddr, unsigned short len, __u32 saddr, |
daddr | 113 | net/ipv4/ipip.c | if(ip_forward(skb, dev, 0, daddr, 0)) |
daddr | 88 | net/ipv4/proc.c | dest = sp->daddr; |
daddr | 76 | net/ipv4/raw.c | void raw_err (int type, int code, unsigned char *header, __u32 daddr, |
daddr | 116 | net/ipv4/raw.c | int raw_rcv(struct sock *sk, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr) |
daddr | 124 | net/ipv4/raw.c | skb->saddr = daddr; |
daddr | 125 | net/ipv4/raw.c | skb->daddr = saddr; |
daddr | 211 | net/ipv4/raw.c | sin.sin_addr.s_addr = sk->daddr; |
daddr | 291 | net/ipv4/raw.c | sin->sin_addr.s_addr = skb->daddr; |
daddr | 417 | net/ipv4/route.c | __u32 daddr, mask, gw; |
daddr | 448 | net/ipv4/route.c | daddr = (__u32) ((struct sockaddr_in *) &r->rt_dst)->sin_addr.s_addr; |
daddr | 477 | net/ipv4/route.c | if (bad_mask(mask, daddr)) |
daddr | 501 | net/ipv4/route.c | dev = ip_dev_check(daddr); |
daddr | 514 | net/ipv4/route.c | ip_rt_add(flags, daddr, mask, gw, dev, r->rt_mss, r->rt_window, r->rt_irtt, metric); |
daddr | 609 | net/ipv4/route.c | struct rtable * ip_rt_route(__u32 daddr, struct options *opt, __u32 *src_addr) |
daddr | 615 | net/ipv4/route.c | if (!((rt->rt_dst ^ daddr) & rt->rt_mask)) |
daddr | 623 | net/ipv4/route.c | (rt->rt_dev->pa_brdaddr == daddr)) |
daddr | 633 | net/ipv4/route.c | if (daddr == rt->rt_dev->pa_addr) { |
daddr | 643 | net/ipv4/route.c | struct rtable * ip_rt_local(__u32 daddr, struct options *opt, __u32 *src_addr) |
daddr | 655 | net/ipv4/route.c | if (!((rt->rt_dst ^ daddr) & rt->rt_mask)) |
daddr | 662 | net/ipv4/route.c | rt->rt_dev->pa_brdaddr == daddr) |
daddr | 669 | net/ipv4/route.c | if (daddr == rt->rt_dev->pa_addr) { |
daddr | 681 | net/ipv4/tcp.c | rt=ip_rt_local(iph->daddr,NULL,NULL); |
daddr | 683 | net/ipv4/tcp.c | rt=ip_rt_route(iph->daddr,NULL,NULL); |
daddr | 698 | net/ipv4/tcp.c | skb->raddr=iph->daddr; |
daddr | 720 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
daddr | 868 | net/ipv4/tcp.c | arp_destroy (sk->daddr, 0); |
daddr | 1036 | net/ipv4/tcp.c | void tcp_err(int type, int code, unsigned char *header, __u32 daddr, |
daddr | 1047 | net/ipv4/tcp.c | sk = get_sock(&tcp_prot, th->source, daddr, th->dest, saddr); |
daddr | 1302 | net/ipv4/tcp.c | unsigned long saddr, unsigned long daddr, unsigned long base) |
daddr | 1304 | net/ipv4/tcp.c | return csum_tcpudp_magic(saddr,daddr,len,IPPROTO_TCP,base); |
daddr | 1310 | net/ipv4/tcp.c | unsigned long daddr, int len, struct sock *sk) |
daddr | 1313 | net/ipv4/tcp.c | th->check = tcp_check(th, len, saddr, daddr, |
daddr | 1411 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
daddr | 1507 | net/ipv4/tcp.c | struct tcphdr *th, unsigned long daddr) |
daddr | 1551 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev, |
daddr | 1609 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, daddr, sizeof(*t1), sk); |
daddr | 1896 | net/ipv4/tcp.c | tmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
daddr | 1980 | net/ipv4/tcp.c | if (addr->sin_addr.s_addr != sk->daddr) |
daddr | 2034 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 2060 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
daddr | 2538 | net/ipv4/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
daddr | 2577 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
daddr | 2683 | net/ipv4/tcp.c | addr->sin_addr.s_addr = sk->daddr; |
daddr | 2693 | net/ipv4/tcp.c | static void tcp_reset(unsigned long saddr, unsigned long daddr, struct tcphdr *th, |
daddr | 2725 | net/ipv4/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
daddr | 2767 | net/ipv4/tcp.c | tcp_send_check(t1, saddr, daddr, sizeof(*t1), NULL); |
daddr | 2870 | net/ipv4/tcp.c | unsigned long daddr, unsigned long saddr, |
daddr | 2893 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
daddr | 2983 | net/ipv4/tcp.c | newsk->daddr = saddr; |
daddr | 2984 | net/ipv4/tcp.c | newsk->saddr = daddr; |
daddr | 3029 | net/ipv4/tcp.c | if ((saddr ^ daddr) & default_mask(saddr)) |
daddr | 3031 | net/ipv4/tcp.c | if ((saddr ^ daddr) & dev->pa_mask) |
daddr | 3072 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
daddr | 3121 | net/ipv4/tcp.c | tcp_send_check(t1, daddr, saddr, sizeof(*t1)+4, newsk); |
daddr | 3278 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
daddr | 4064 | net/ipv4/tcp.c | tcp_reset(sk->saddr, sk->daddr, skb->h.th, |
daddr | 4487 | net/ipv4/tcp.c | sk->daddr = usin->sin_addr.s_addr; |
daddr | 4510 | net/ipv4/tcp.c | rt=ip_rt_route(sk->daddr, NULL, NULL); |
daddr | 4517 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 4556 | net/ipv4/tcp.c | if ((sk->saddr ^ sk->daddr) & default_mask(sk->saddr)) |
daddr | 4558 | net/ipv4/tcp.c | if ((sk->saddr ^ sk->daddr) & dev->pa_mask) |
daddr | 4582 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, |
daddr | 4654 | net/ipv4/tcp.c | tcp_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
daddr | 4701 | net/ipv4/tcp.c | __u32 daddr, unsigned short len, |
daddr | 4721 | net/ipv4/tcp.c | if(saddr==th_cache_saddr && daddr==th_cache_daddr && th->dest==th_cache_dport && th->source==th_cache_sport) |
daddr | 4725 | net/ipv4/tcp.c | sk = get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
daddr | 4727 | net/ipv4/tcp.c | th_cache_daddr=daddr; |
daddr | 4755 | net/ipv4/tcp.c | (skb->ip_summed && tcp_check(th, len, saddr, daddr, skb->csum ))|| |
daddr | 4756 | net/ipv4/tcp.c | (!skb->ip_summed && tcp_check(th, len, saddr, daddr, csum_partial((char *)th, len, 0))) |
daddr | 4775 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
daddr | 4788 | net/ipv4/tcp.c | skb->saddr = daddr; |
daddr | 4789 | net/ipv4/tcp.c | skb->daddr = saddr; |
daddr | 4806 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
daddr | 4852 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
daddr | 4861 | net/ipv4/tcp.c | if(th->rst || !th->syn || th->ack || ip_chk_addr(daddr)!=IS_MYADDR) |
daddr | 4872 | net/ipv4/tcp.c | tcp_conn_request(sk, skb, daddr, saddr, opt, dev, tcp_init_seq()); |
daddr | 4911 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, |
daddr | 4934 | net/ipv4/tcp.c | tcp_send_ack(sk->sent_seq,sk->acked_seq,sk,th,sk->daddr); |
daddr | 4957 | net/ipv4/tcp.c | if(sk->saddr==saddr && sk->daddr==daddr && |
daddr | 5003 | net/ipv4/tcp.c | sk=get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
daddr | 5009 | net/ipv4/tcp.c | tcp_conn_request(sk, skb, daddr, saddr,opt, dev,seq+128000); |
daddr | 5041 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th, &tcp_prot, opt, dev, skb->ip_hdr->tos, 255); |
daddr | 5058 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
daddr | 5184 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 5267 | net/ipv4/tcp.c | tcp_send_check(nth, sk->saddr, sk->daddr, |
daddr | 5284 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 5312 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
daddr | 150 | net/ipv4/timer.c | arp_destroy (sk->daddr, 0); |
daddr | 137 | net/ipv4/udp.c | static int udp_deliver(struct sock *sk, struct udphdr *uh, struct sk_buff *skb, struct device *dev, long saddr, long daddr, int len); |
daddr | 153 | net/ipv4/udp.c | void udp_err(int type, int code, unsigned char *header, __u32 daddr, |
daddr | 165 | net/ipv4/udp.c | sk = get_sock(&udp_prot, uh->source, daddr, uh->dest, saddr); |
daddr | 204 | net/ipv4/udp.c | static unsigned short udp_check(struct udphdr *uh, int len, unsigned long saddr, unsigned long daddr, unsigned long base) |
daddr | 206 | net/ipv4/udp.c | return(csum_tcpudp_magic(saddr, daddr, len, IPPROTO_UDP, base)); |
daddr | 212 | net/ipv4/udp.c | int daddr; |
daddr | 248 | net/ipv4/udp.c | ufh->uh.check = csum_tcpudp_magic(saddr, ufh->daddr, |
daddr | 304 | net/ipv4/udp.c | ufh.daddr = sin->sin_addr.s_addr; |
daddr | 362 | net/ipv4/udp.c | sin.sin_addr.s_addr = sk->daddr; |
daddr | 507 | net/ipv4/udp.c | sin->sin_addr.s_addr = skb->daddr; |
daddr | 545 | net/ipv4/udp.c | sk->daddr = usin->sin_addr.s_addr; |
daddr | 573 | net/ipv4/udp.c | __u32 daddr, unsigned short len, |
daddr | 581 | net/ipv4/udp.c | if(!dev || dev->pa_addr!=daddr) |
daddr | 582 | net/ipv4/udp.c | addr_type=ip_chk_addr(daddr); |
daddr | 614 | net/ipv4/udp.c | ( skb->ip_summed && udp_check(uh, len, saddr, daddr, skb->csum ) ) || |
daddr | 615 | net/ipv4/udp.c | ( !skb->ip_summed && udp_check(uh, len, saddr, daddr,csum_partial((char*)uh, len, 0))) |
daddr | 627 | net/ipv4/udp.c | ntohl(daddr),ntohs(uh->dest), |
daddr | 645 | net/ipv4/udp.c | saddr, uh->source, daddr); |
daddr | 652 | net/ipv4/udp.c | sknext=get_sock_mcast(sk->next, uh->dest, saddr, uh->source, daddr); |
daddr | 658 | net/ipv4/udp.c | udp_deliver(sk, uh, skb1, dev,saddr,daddr,len); |
daddr | 668 | net/ipv4/udp.c | if(saddr==uh_cache_saddr && daddr==uh_cache_daddr && uh->dest==uh_cache_dport && uh->source==uh_cache_sport) |
daddr | 672 | net/ipv4/udp.c | sk = get_sock(&udp_prot, uh->dest, saddr, uh->source, daddr); |
daddr | 674 | net/ipv4/udp.c | uh_cache_daddr=daddr; |
daddr | 695 | net/ipv4/udp.c | return udp_deliver(sk,uh,skb,dev, saddr, daddr, len); |
daddr | 698 | net/ipv4/udp.c | static int udp_deliver(struct sock *sk, struct udphdr *uh, struct sk_buff *skb, struct device *dev, long saddr, long daddr, int len) |
daddr | 708 | net/ipv4/udp.c | skb->daddr = saddr; |
daddr | 709 | net/ipv4/udp.c | skb->saddr = daddr; |
daddr | 76 | net/netrom/nr_dev.c | void *daddr, void *saddr, unsigned len) |
daddr | 86 | net/netrom/nr_dev.c | if (daddr != NULL) |
daddr | 87 | net/netrom/nr_dev.c | memcpy(buff, daddr, dev->addr_len); |
daddr | 101 | net/netrom/nr_dev.c | if (daddr != NULL) |