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 | 65 | arch/ppc/kernel/stubs.c | _udp_check(unsigned char *buf, int len, int saddr, int daddr, int hdr); |
daddr | 68 | arch/ppc/kernel/stubs.c | udp_check(unsigned char *buf, int len, int saddr, int daddr) |
daddr | 73 | arch/ppc/kernel/stubs.c | _val = _udp_check(buf, len, saddr, daddr, hdr); |
daddr | 75 | arch/ppc/kernel/stubs.c | printk("UDP CSUM(%x,%d,%x,%x) = %x\n", buf, len, saddr, daddr, _val); |
daddr | 82 | arch/ppc/kernel/stubs.c | _tcp_check(unsigned char *buf, int len, int saddr, int daddr, int hdr); |
daddr | 85 | arch/ppc/kernel/stubs.c | tcp_check(unsigned char *buf, int len, int saddr, int daddr) |
daddr | 91 | arch/ppc/kernel/stubs.c | _val = _tcp_check(buf, len, saddr, daddr, hdr); |
daddr | 93 | arch/ppc/kernel/stubs.c | printk("TCP CSUM(%x,%d,%x,%x) = %x\n", buf, len, saddr, daddr, _val); |
daddr | 486 | drivers/net/arcnet.c | daddr; /* Destination address */ |
daddr | 506 | drivers/net/arcnet.c | daddr, /* Destination address */ |
daddr | 590 | drivers/net/arcnet.c | char *data,int length,int daddr,int exceptA); |
daddr | 598 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
daddr | 603 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len); |
daddr | 613 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
daddr | 621 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
daddr | 623 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len); |
daddr | 1534 | drivers/net/arcnet.c | out->hdr->daddr,1); |
daddr | 1639 | drivers/net/arcnet.c | out->data,out->seglen,out->hdr->daddr,1); |
daddr | 1652 | drivers/net/arcnet.c | char *data,int length,int daddr,int exceptA) |
daddr | 1677 | drivers/net/arcnet.c | arcpacket->hardheader.destination=daddr; |
daddr | 1740 | drivers/net/arcnet.c | daddr,length); |
daddr | 1759 | drivers/net/arcnet.c | lp->lastload_dest=daddr; |
daddr | 2107 | drivers/net/arcnet.c | u_char daddr,saddr; |
daddr | 2112 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination; |
daddr | 2139 | drivers/net/arcnet.c | saddr,daddr,length); |
daddr | 2149 | drivers/net/arcnet.c | arcnetA_rx(lp->adev,arcsoft,length,saddr,daddr); |
daddr | 2153 | drivers/net/arcnet.c | arcnetE_rx(lp->edev,arcsoft,length,saddr,daddr); |
daddr | 2159 | drivers/net/arcnet.c | arcnetS_rx(lp->sdev,arcsoft,length,saddr,daddr); |
daddr | 2207 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
daddr | 2266 | drivers/net/arcnet.c | soft->daddr=daddr; |
daddr | 2460 | drivers/net/arcnet.c | soft->daddr=daddr; |
daddr | 2546 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len) |
daddr | 2554 | drivers/net/arcnet.c | daddr ? *(u_char*)daddr : -1, |
daddr | 2602 | drivers/net/arcnet.c | if(daddr) |
daddr | 2604 | drivers/net/arcnet.c | head->daddr=((u_char*)daddr)[0]; |
daddr | 2608 | drivers/net/arcnet.c | head->daddr=0; /* better fill one in anyway */ |
daddr | 2636 | drivers/net/arcnet.c | head->daddr=0; |
daddr | 2646 | drivers/net/arcnet.c | head->saddr,head->daddr,head->protocol_id); |
daddr | 2647 | drivers/net/arcnet.c | status=arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0; |
daddr | 2649 | drivers/net/arcnet.c | head->saddr,head->daddr,head->protocol_id); |
daddr | 2671 | drivers/net/arcnet.c | if (head->daddr==0) |
daddr | 2676 | drivers/net/arcnet.c | if (head->daddr != dev->dev_addr[0]) |
daddr | 2738 | drivers/net/arcnet.c | u_char *arcsoft,daddr; |
daddr | 2775 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination=0; |
daddr | 2777 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination= |
daddr | 2809 | drivers/net/arcnet.c | daddr,length); |
daddr | 2828 | drivers/net/arcnet.c | lp->lastload_dest=daddr; |
daddr | 2855 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
daddr | 2968 | drivers/net/arcnet.c | hdr->daddr,0); |
daddr | 3005 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
daddr | 3036 | drivers/net/arcnet.c | soft->daddr=daddr; |
daddr | 3064 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len) |
daddr | 3103 | drivers/net/arcnet.c | if(daddr) |
daddr | 3105 | drivers/net/arcnet.c | head->daddr=((u_char*)daddr)[0]; |
daddr | 3109 | drivers/net/arcnet.c | head->daddr=0; /* better fill one in anyway */ |
daddr | 3135 | drivers/net/arcnet.c | head->daddr=0; |
daddr | 3144 | drivers/net/arcnet.c | return arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0; |
daddr | 3165 | drivers/net/arcnet.c | if (head->daddr==0) |
daddr | 3170 | 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 | 409 | drivers/net/eql.c | unsigned short type, void *daddr, void *saddr, |
daddr | 1178 | drivers/net/ibmtr.c | trhdr->daddr[0],trhdr->daddr[1],trhdr->daddr[2],trhdr->daddr[3],trhdr->daddr[4],trhdr->daddr[5]); |
daddr | 1078 | drivers/net/pi2.c | void *daddr, void *saddr, unsigned len) |
daddr | 1080 | drivers/net/pi2.c | return ax25_encapsulate(skb, dev, type, daddr, saddr, len); |
daddr | 203 | drivers/net/ppp.c | unsigned short type, void *daddr, void *saddr, |
daddr | 218 | drivers/net/ppp.c | sk_buff *skb, void *saddr, void *daddr); |
daddr | 220 | drivers/net/ppp.c | int subid, void *saddr, void *daddr, void *opt); |
daddr | 3234 | drivers/net/ppp.c | sk_buff *skb, void *saddr, void *daddr) |
daddr | 3240 | drivers/net/ppp.c | int subid, void *saddr, void *daddr, void *opt) |
daddr | 3284 | drivers/net/ppp.c | unsigned short type, void *daddr, void *saddr, |
daddr | 3288 | drivers/net/ppp.c | unsigned short type, void *daddr, |
daddr | 340 | drivers/net/pt.c | void *daddr, void *saddr, unsigned len) |
daddr | 342 | drivers/net/pt.c | return ax25_encapsulate(skb, dev, type, daddr, saddr, len); |
daddr | 296 | drivers/net/slhc.c | && ip->daddr == cs->cs_ip.daddr |
daddr | 540 | drivers/net/slip.c | void *daddr, void *saddr, unsigned len) |
daddr | 547 | drivers/net/slip.c | return ax25_encapsulate(skb, dev, type, daddr, saddr, len); |
daddr | 110 | drivers/net/tunnel.c | ipaddr=(unsigned char *)&ip->daddr; |
daddr | 192 | drivers/net/tunnel.c | if ( iph->daddr == dev->pa_addr ) |
daddr | 232 | drivers/net/tunnel.c | iph->daddr = dev->pa_dstaddr; |
daddr | 251 | drivers/net/tunnel.c | if(ip_forward(skb2, dev, 0, iph->daddr)) |
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 | 107 | include/asm-mips/checksum.h | unsigned long daddr, |
daddr | 131 | include/asm-mips/checksum.h | : "0" (daddr), "r"(saddr), "r"((ntohs(len)<<16)+proto*256), "r"(sum) |
daddr | 16 | include/asm-ppc/checksum.h | unsigned long daddr, |
daddr | 152 | include/asm-sparc/checksum.h | unsigned long daddr, |
daddr | 157 | include/asm-sparc/checksum.h | return ~from32to16 (((saddr >> 16) + (saddr & 0xffff) + (daddr >> 16) |
daddr | 158 | include/asm-sparc/checksum.h | + (daddr & 0xffff) + (sum >> 16) + |
daddr | 32 | include/linux/etherdevice.h | unsigned short type, void *daddr, |
daddr | 38 | include/linux/etherdevice.h | unsigned short htype, __u32 daddr); |
daddr | 50 | include/linux/if_tr.h | unsigned char daddr[TR_ALEN]; /* destination address */ |
daddr | 108 | include/linux/ip.h | __u32 daddr; |
daddr | 170 | include/linux/netdevice.h | void *daddr, |
daddr | 184 | include/linux/netdevice.h | void (*header_cache_bind)(struct hh_cache **hhp, struct device *dev, unsigned short htype, __u32 daddr); |
daddr | 215 | include/linux/netdevice.h | extern struct device *ip_dev_check(unsigned long daddr); |
daddr | 81 | include/linux/skbuff.h | __u32 daddr; /* IP target address */ |
daddr | 32 | include/linux/trdevice.h | unsigned short type, void *daddr, |
daddr | 15 | include/net/arp.h | extern int arp_bind_cache(struct hh_cache ** hhp, struct device *dev, unsigned short type, __u32 daddr); |
daddr | 33 | include/net/icmp.h | struct options *opt, __u32 daddr, |
daddr | 88 | include/net/ip.h | extern void ip_route_check(__u32 daddr); |
daddr | 89 | include/net/ip.h | extern int ip_send(struct rtable *rt, struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr); |
daddr | 92 | include/net/ip.h | __u32 daddr, |
daddr | 99 | include/net/ip.h | __u32 daddr, __u32 saddr, |
daddr | 116 | include/net/ip.h | __u32 daddr, |
daddr | 142 | include/net/ip.h | extern void ip_options_build(struct sk_buff *skb, struct options *opt, __u32 daddr, __u32 saddr, int is_frag); |
daddr | 143 | include/net/ip.h | extern int ip_options_echo(struct options *dopt, struct options *sopt, __u32 daddr, __u32 saddr, struct sk_buff *skb); |
daddr | 2 | include/net/ipip.h | __u32 daddr, unsigned short len, __u32 saddr, |
daddr | 32 | include/net/protocol.h | struct options *opt, __u32 daddr, |
daddr | 36 | 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 | 190 | include/net/route.h | extern struct rtable *ip_rt_slow_route(__u32 daddr, int local); |
daddr | 237 | include/net/route.h | extern struct rtable * ip_rt_route(__u32 daddr, int local); |
daddr | 239 | include/net/route.h | extern __inline__ struct rtable * ip_rt_route(__u32 daddr, int local) |
daddr | 246 | include/net/route.h | for (rth=ip_rt_hash_table[ip_rt_hash_code(daddr)^local]; rth; rth=rth->rt_next) |
daddr | 248 | include/net/route.h | if (rth->rt_dst == daddr) |
daddr | 257 | include/net/route.h | return ip_rt_slow_route (daddr, local); |
daddr | 265 | include/net/route.h | __u32 daddr, int local) |
daddr | 269 | include/net/route.h | if (!rt || rt->rt_dst != daddr || !(rt->rt_flags&RTF_UP) |
daddr | 273 | include/net/route.h | rt = ip_rt_route(daddr, local); |
daddr | 146 | include/net/sock.h | __u32 daddr; |
daddr | 283 | include/net/sock.h | __u32 daddr, |
daddr | 297 | include/net/sock.h | struct options *opt, __u32 daddr, |
daddr | 119 | include/net/tcp.h | extern void tcp_err(int type, int code, unsigned char *header, __u32 daddr, |
daddr | 123 | include/net/tcp.h | struct options *opt, __u32 daddr, |
daddr | 135 | include/net/tcp.h | unsigned long daddr, int len, struct sk_buff *skb); |
daddr | 146 | include/net/tcp.h | extern void tcp_send_reset(unsigned long saddr, unsigned long daddr, struct tcphdr *th, |
daddr | 281 | include/net/tcp.h | unsigned long saddr, unsigned long daddr, unsigned long base) |
daddr | 283 | include/net/tcp.h | return csum_tcpudp_magic(saddr,daddr,len,IPPROTO_TCP,base); |
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 | 2345 | net/ax25/af_ax25.c | int ax25_encapsulate(struct sk_buff *skb, struct device *dev, unsigned short type, void *daddr, |
daddr | 2353 | net/ax25/af_ax25.c | if (daddr != NULL) |
daddr | 2354 | net/ax25/af_ax25.c | memcpy(buff, daddr, dev->addr_len); /* Address specified */ |
daddr | 2388 | net/ax25/af_ax25.c | if (daddr != NULL) |
daddr | 700 | net/core/skbuff.c | n->daddr=skb->daddr; |
daddr | 567 | net/core/sock.c | skb->saddr, skb->len, skb->daddr, 1, |
daddr | 90 | net/ethernet/eth.c | void *daddr, void *saddr, unsigned len) |
daddr | 123 | net/ethernet/eth.c | if(daddr) |
daddr | 125 | net/ethernet/eth.c | memcpy(eth->h_dest,daddr,dev->addr_len); |
daddr | 227 | net/ethernet/eth.c | unsigned short htype, __u32 daddr) |
daddr | 236 | net/ethernet/eth.c | if (arp_bind_cache(hhp, dev, htype, daddr)) |
daddr | 962 | net/ipv4/af_inet.c | sk->daddr = 0; |
daddr | 1151 | net/ipv4/af_inet.c | sin->sin_addr.s_addr = sk->daddr; |
daddr | 1391 | net/ipv4/af_inet.c | if (s->daddr) { |
daddr | 1392 | net/ipv4/af_inet.c | if (s->daddr != raddr) |
daddr | 1433 | net/ipv4/af_inet.c | if(s->daddr && s->daddr!=raddr) |
daddr | 1474 | net/ipv4/af_inet.c | if(s->daddr && s->daddr!=raddr) |
daddr | 151 | net/ipv4/icmp.c | void (*handler)(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len); |
daddr | 231 | net/ipv4/icmp.c | static void icmp_build_xmit(struct icmp_bxm *icmp_param, __u32 saddr, __u32 daddr) |
daddr | 239 | net/ipv4/icmp.c | daddr, saddr, &icmp_param->replyopts, 0, IPPROTO_ICMP, 1); |
daddr | 278 | net/ipv4/icmp.c | atype=ip_chk_addr(iph->daddr); |
daddr | 316 | net/ipv4/icmp.c | saddr=iph->daddr; |
daddr | 339 | 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 | 360 | net/ipv4/icmp.c | in_ntoa(iph->daddr), ntohs(iph->protocol)); |
daddr | 367 | net/ipv4/icmp.c | in_ntoa(iph->daddr)); |
daddr | 411 | net/ipv4/icmp.c | printk(KERN_INFO "ICMP: %s: Source Route Failed.\n", in_ntoa(iph->daddr)); |
daddr | 457 | net/ipv4/icmp.c | iph->daddr, iph->saddr, ipprot); |
daddr | 470 | 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 | 480 | net/ipv4/icmp.c | ip = iph->daddr; |
daddr | 540 | 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 | 547 | net/ipv4/icmp.c | if (ip_options_echo(&icmp_param.replyopts, NULL, daddr, saddr, skb)==0) |
daddr | 548 | net/ipv4/icmp.c | icmp_build_xmit(&icmp_param, daddr, saddr); |
daddr | 560 | 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 | 592 | net/ipv4/icmp.c | if (ip_options_echo(&icmp_param.replyopts, NULL, daddr, saddr, skb)==0) |
daddr | 593 | net/ipv4/icmp.c | icmp_build_xmit(&icmp_param, daddr, saddr); |
daddr | 610 | 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 | 621 | net/ipv4/icmp.c | if (ip_options_echo(&icmp_param.replyopts, NULL, daddr, saddr, skb)==0) |
daddr | 622 | net/ipv4/icmp.c | icmp_build_xmit(&icmp_param, daddr, saddr); |
daddr | 627 | 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 | 637 | net/ipv4/icmp.c | __u32 daddr, unsigned short len, |
daddr | 673 | net/ipv4/icmp.c | if (daddr!=dev->pa_addr && ip_chk_addr(daddr) != IS_MYADDR) |
daddr | 691 | net/ipv4/icmp.c | daddr=dev->pa_addr; |
daddr | 696 | net/ipv4/icmp.c | (icmp_pointers[icmph->type].handler)(icmph,skb,skb->dev,saddr,daddr,len); |
daddr | 427 | net/ipv4/igmp.c | __u32 daddr, unsigned short len, __u32 saddr, int redo, |
daddr | 465 | net/ipv4/igmp.c | if(ih->type==IGMP_HOST_MEMBERSHIP_QUERY && daddr==IGMP_ALL_HOSTS) |
daddr | 467 | net/ipv4/igmp.c | if(ih->type==IGMP_HOST_MEMBERSHIP_REPORT && daddr==ih->group) |
daddr | 469 | net/ipv4/igmp.c | if(ih->type==IGMP_HOST_NEW_MEMBERSHIP_REPORT && daddr==ih->group) |
daddr | 45 | net/ipv4/ip_forward.c | static void ip_encap(struct sk_buff *skb, int len, struct device *out, __u32 daddr) |
daddr | 59 | net/ipv4/ip_forward.c | iph->daddr = daddr; |
daddr | 69 | net/ipv4/ip_forward.c | skb->raddr=daddr; |
daddr | 211 | net/ipv4/ip_forward.c | if (dev == dev2 && !((iph->saddr^iph->daddr)&dev->pa_mask) && |
daddr | 389 | net/ipv4/ip_forward.c | iph->daddr = target_addr; |
daddr | 139 | net/ipv4/ip_fragment.c | iph->daddr == qp->iph->daddr && iph->protocol == qp->iph->protocol) |
daddr | 222 | net/ipv4/ip_fw.c | dst = ip->daddr; |
daddr | 269 | net/ipv4/ip_fw.c | dst = ip->daddr; |
daddr | 324 | net/ipv4/ip_fw.c | dprint_ip(ip->daddr); |
daddr | 461 | net/ipv4/ip_fw.c | print_ip(ip->daddr); |
daddr | 687 | net/ipv4/ip_fw.c | ms->dst = iph->daddr; |
daddr | 792 | net/ipv4/ip_fw.c | unsigned long daddr, int len) |
daddr | 795 | net/ipv4/ip_fw.c | uh->check=csum_tcpudp_magic(saddr,daddr,len, |
daddr | 827 | net/ipv4/ip_fw.c | ntohl(iph->daddr), ntohs(portptr[1])); |
daddr | 832 | net/ipv4/ip_fw.c | iph->saddr == ms->src && iph->daddr == ms->dst && |
daddr | 855 | net/ipv4/ip_fw.c | ms->dst = iph->daddr; |
daddr | 875 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
daddr | 900 | net/ipv4/ip_fw.c | tcp_send_check(th,iph->saddr,iph->daddr,size,skb); |
daddr | 938 | net/ipv4/ip_fw.c | ntohl(iph->daddr), ntohs(portptr[1])); |
daddr | 960 | net/ipv4/ip_fw.c | iph->daddr = ms->src; |
daddr | 975 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
daddr | 1005 | net/ipv4/ip_fw.c | tcp_send_check((struct tcphdr *)portptr,iph->saddr,iph->daddr,size,skb); |
daddr | 1009 | net/ipv4/ip_fw.c | printk("I-routed to %lX:%X\n",ntohl(iph->daddr),ntohs(portptr[1])); |
daddr | 208 | net/ipv4/ip_input.c | __u32 daddr; |
daddr | 285 | net/ipv4/ip_input.c | if (iph->daddr != skb->dev->pa_addr && net_alias_has(skb->dev)) |
daddr | 286 | net/ipv4/ip_input.c | skb->dev = dev = net_alias_dev_rcv_sel32(skb->dev, AF_INET, iph->saddr, iph->daddr); |
daddr | 341 | net/ipv4/ip_input.c | daddr = iph->daddr; |
daddr | 342 | net/ipv4/ip_input.c | if ( iph->daddr == skb->dev->pa_addr || (brd = ip_chk_addr(iph->daddr)) != 0) |
daddr | 383 | net/ipv4/ip_input.c | memcpy(&daddr, &optptr[srrptr-1], 4); |
daddr | 401 | net/ipv4/ip_input.c | if(!(dev->flags&IFF_ALLMULTI) && brd==IS_MULTICAST && iph->daddr!=IGMP_ALL_HOSTS && !(dev->flags&IFF_LOOPBACK)) |
daddr | 414 | net/ipv4/ip_input.c | if(ip_mc->multiaddr==iph->daddr) |
daddr | 429 | net/ipv4/ip_input.c | if (ip_forward(skb, dev, is_frag|IPFWD_MASQUERADED, iph->daddr)) |
daddr | 461 | net/ipv4/ip_input.c | if(brd==IS_MULTICAST && (iph->daddr&htonl(0xFFFFFF00))!=htonl(0xE0000000)) |
daddr | 481 | net/ipv4/ip_input.c | raw_sk=get_sock_raw(raw_sk, iph->protocol, iph->saddr, iph->daddr); |
daddr | 487 | net/ipv4/ip_input.c | sknext=get_sock_raw(raw_sk->next, iph->protocol, iph->saddr, iph->daddr); |
daddr | 493 | net/ipv4/ip_input.c | raw_rcv(raw_sk, skb1, dev, iph->saddr,daddr); |
daddr | 548 | net/ipv4/ip_input.c | ipprot->handler(skb2, dev, opt, daddr, |
daddr | 585 | net/ipv4/ip_input.c | raw_rcv(raw_sk, skb, dev, iph->saddr, daddr); |
daddr | 621 | net/ipv4/ip_input.c | if (ip_forward(skb, dev, is_frag, iph->daddr)) |
daddr | 30 | net/ipv4/ip_options.c | __u32 daddr, __u32 saddr, |
daddr | 41 | net/ipv4/ip_options.c | memcpy(iph+opt->srr+iph[opt->srr+1]-4, &daddr, 4); |
daddr | 74 | net/ipv4/ip_options.c | __u32 daddr, __u32 saddr, |
daddr | 175 | net/ipv4/ip_options.c | memcpy(&start[doffset-1], &daddr, 4); |
daddr | 80 | net/ipv4/ip_output.c | newskb->daddr=skb->daddr; |
daddr | 90 | net/ipv4/ip_output.c | ip_send(NULL,newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr); |
daddr | 114 | net/ipv4/ip_output.c | int ip_send(struct rtable * rt, struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr) |
daddr | 134 | net/ipv4/ip_output.c | printk("ip_send: hh miss %08x via %08x\n", daddr, rt->rt_gateway); |
daddr | 137 | net/ipv4/ip_output.c | skb->raddr = daddr; |
daddr | 145 | net/ipv4/ip_output.c | skb->raddr = daddr; /* next routing address */ |
daddr | 151 | net/ipv4/ip_output.c | static int ip_send_room(struct rtable * rt, struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr) |
daddr | 167 | net/ipv4/ip_output.c | printk("ip_send_room: hh miss %08x via %08x\n", daddr, rt->rt_gateway); |
daddr | 170 | net/ipv4/ip_output.c | skb->raddr = daddr; |
daddr | 178 | net/ipv4/ip_output.c | skb->raddr = daddr; /* next routing address */ |
daddr | 192 | net/ipv4/ip_output.c | int ip_build_header(struct sk_buff *skb, __u32 saddr, __u32 daddr, |
daddr | 200 | net/ipv4/ip_output.c | __u32 final_daddr = daddr; |
daddr | 204 | net/ipv4/ip_output.c | daddr = opt->faddr; |
daddr | 211 | net/ipv4/ip_output.c | if(MULTICAST(daddr) && *dev==NULL && skb->sk && *skb->sk->ip_mc_name) |
daddr | 216 | net/ipv4/ip_output.c | rt = ip_check_route(rp, daddr, skb->localroute); |
daddr | 225 | net/ipv4/ip_output.c | rt = ip_rt_route(daddr, skb->localroute); |
daddr | 239 | net/ipv4/ip_output.c | if ((LOOPBACK(saddr) && !LOOPBACK(daddr)) || !saddr) |
daddr | 256 | net/ipv4/ip_output.c | raddr = daddr; |
daddr | 302 | net/ipv4/ip_output.c | iph->daddr = daddr; |
daddr | 480 | net/ipv4/ip_output.c | if (MULTICAST(iph->daddr) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 484 | net/ipv4/ip_output.c | if(iph->daddr==IGMP_ALL_HOSTS || (dev->flags&IFF_ALLMULTI)) |
daddr | 493 | net/ipv4/ip_output.c | if(imc->multiaddr==iph->daddr) |
daddr | 511 | net/ipv4/ip_output.c | if((dev->flags&IFF_BROADCAST) && (iph->daddr==dev->pa_brdaddr||iph->daddr==0xFFFFFFFF) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 569 | net/ipv4/ip_output.c | __u32 daddr, |
daddr | 586 | net/ipv4/ip_output.c | __u32 true_daddr = daddr; |
daddr | 589 | net/ipv4/ip_output.c | daddr = opt->faddr; |
daddr | 594 | net/ipv4/ip_output.c | if(sk && MULTICAST(daddr) && *sk->ip_mc_name) |
daddr | 600 | net/ipv4/ip_output.c | if (sk->saddr && (!LOOPBACK(sk->saddr) || LOOPBACK(daddr))) |
daddr | 608 | net/ipv4/ip_output.c | rt = ip_check_route(&sk->ip_route_cache, daddr, |
daddr | 620 | net/ipv4/ip_output.c | if (sk->saddr && (!LOOPBACK(sk->saddr) || LOOPBACK(daddr))) |
daddr | 632 | net/ipv4/ip_output.c | raddr = rt ? rt->rt_gateway : daddr; |
daddr | 646 | net/ipv4/ip_output.c | if(length <= dev->mtu && !MULTICAST(daddr) && daddr!=0xFFFFFFFF && daddr!=dev->pa_brdaddr) |
daddr | 696 | net/ipv4/ip_output.c | iph->daddr=daddr; |
daddr | 885 | net/ipv4/ip_output.c | if (MULTICAST(daddr)) |
daddr | 893 | net/ipv4/ip_output.c | iph->daddr = daddr; |
daddr | 935 | net/ipv4/ip_output.c | if (MULTICAST(daddr) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 946 | net/ipv4/ip_output.c | if(skb->daddr==IGMP_ALL_HOSTS || (dev->flags&IFF_ALLMULTI)) |
daddr | 953 | net/ipv4/ip_output.c | if(imc->multiaddr==daddr) |
daddr | 979 | net/ipv4/ip_output.c | if((dev->flags&IFF_BROADCAST) && (daddr==0xFFFFFFFF || daddr==dev->pa_brdaddr) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 1036 | net/ipv4/ip_output.c | void ip_netlink_msg(unsigned long msg, __u32 daddr, __u32 gw, __u32 mask, short flags, short metric, char *name) |
daddr | 1048 | net/ipv4/ip_output.c | s->sin_addr.s_addr=daddr; |
daddr | 53 | net/ipv4/ipip.c | __u32 daddr, unsigned short len, __u32 saddr, |
daddr | 108 | net/ipv4/ipip.c | if(ip_forward(skb, dev, 0, daddr)) |
daddr | 313 | net/ipv4/ipmr.c | cache->mfc_mcastgrp=skb->ip_hdr->daddr; |
daddr | 714 | net/ipv4/ipmr.c | skb->raddr=skb->h.iph->daddr; |
daddr | 742 | net/ipv4/ipmr.c | cache=ipmr_cache_find(skb->ip_hdr->saddr,skb->ip_hdr->daddr); |
daddr | 87 | net/ipv4/proc.c | dest = sp->daddr; |
daddr | 79 | net/ipv4/raw.c | void raw_err (int type, int code, unsigned char *header, __u32 daddr, |
daddr | 119 | net/ipv4/raw.c | int raw_rcv(struct sock *sk, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr) |
daddr | 127 | net/ipv4/raw.c | skb->saddr = daddr; |
daddr | 128 | net/ipv4/raw.c | skb->daddr = saddr; |
daddr | 223 | net/ipv4/raw.c | sin.sin_addr.s_addr = sk->daddr; |
daddr | 342 | net/ipv4/raw.c | sin->sin_addr.s_addr = skb->daddr; |
daddr | 995 | net/ipv4/route.c | __u32 daddr = rt->rt_dst; |
daddr | 1007 | net/ipv4/route.c | printk("rt_kick_free_queue: %08x is free\n", daddr); |
daddr | 1377 | net/ipv4/route.c | __u32 daddr = rth->rt_dst; |
daddr | 1394 | net/ipv4/route.c | if (rth->rt_gateway != daddr) |
daddr | 1424 | net/ipv4/route.c | printk("rt_cache @%02x: %08x", hash, daddr); |
daddr | 1444 | net/ipv4/route.c | || rth->rt_dst == daddr) |
daddr | 1469 | net/ipv4/route.c | struct rtable * ip_rt_slow_route (__u32 daddr, int local) |
daddr | 1471 | net/ipv4/route.c | unsigned hash = ip_rt_hash_code(daddr)^local; |
daddr | 1478 | net/ipv4/route.c | printk("rt_cache miss @%08x\n", daddr); |
daddr | 1489 | net/ipv4/route.c | f = fib_lookup_local(daddr); |
daddr | 1491 | net/ipv4/route.c | f = fib_lookup (daddr); |
daddr | 1505 | net/ipv4/route.c | printk("rt_route failed @%08x\n", daddr); |
daddr | 1510 | net/ipv4/route.c | daddr=ntohl(daddr); |
daddr | 1512 | net/ipv4/route.c | (int)(daddr >> 24) & 0xff, (int)(daddr >> 16) & 0xff, |
daddr | 1513 | net/ipv4/route.c | (int)(daddr >> 8) & 0xff, (int)daddr & 0xff); |
daddr | 1521 | net/ipv4/route.c | if (daddr == fi->fib_dev->pa_addr) |
daddr | 1538 | net/ipv4/route.c | rth->rt_dst = daddr; |
daddr | 1564 | net/ipv4/route.c | printk("rt_cache: route to %08x was born dead\n", daddr); |
daddr | 1578 | net/ipv4/route.c | struct rtable * ip_rt_route(__u32 daddr, int local) |
daddr | 1584 | net/ipv4/route.c | for (rth=ip_rt_hash_table[ip_rt_hash_code(daddr)^local]; rth; rth=rth->rt_next) |
daddr | 1586 | net/ipv4/route.c | if (rth->rt_dst == daddr) |
daddr | 1595 | net/ipv4/route.c | return ip_rt_slow_route (daddr, local); |
daddr | 1609 | net/ipv4/route.c | __u32 daddr, mask, gw; |
daddr | 1640 | net/ipv4/route.c | daddr = (__u32) ((struct sockaddr_in *) &r->rt_dst)->sin_addr.s_addr; |
daddr | 1669 | net/ipv4/route.c | if (bad_mask(mask, daddr)) |
daddr | 1693 | net/ipv4/route.c | dev = ip_dev_check(daddr); |
daddr | 1706 | net/ipv4/route.c | rt_add(flags, daddr, mask, gw, dev, r->rt_mss, r->rt_window, r->rt_irtt, metric); |
daddr | 513 | net/ipv4/tcp.c | void tcp_err(int type, int code, unsigned char *header, __u32 daddr, |
daddr | 526 | net/ipv4/tcp.c | sk = get_sock(&tcp_prot, th->source, daddr, th->dest, saddr); |
daddr | 807 | net/ipv4/tcp.c | unsigned long daddr, int len, struct sk_buff *skb) |
daddr | 813 | net/ipv4/tcp.c | th->check = tcp_check(th, len, saddr, daddr, |
daddr | 819 | net/ipv4/tcp.c | th->check = tcp_check(th, len, saddr, daddr, |
daddr | 1096 | net/ipv4/tcp.c | tmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
daddr | 1173 | net/ipv4/tcp.c | if (addr->sin_addr.s_addr != sk->daddr) |
daddr | 1253 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 1274 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), buff); |
daddr | 1323 | net/ipv4/tcp.c | sin->sin_addr.s_addr=sk->daddr; |
daddr | 1655 | net/ipv4/tcp.c | sin->sin_addr.s_addr=sk->daddr; |
daddr | 1930 | net/ipv4/tcp.c | if(sk->daddr) |
daddr | 1954 | net/ipv4/tcp.c | sk->daddr = usin->sin_addr.s_addr; |
daddr | 1977 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 2048 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, |
daddr | 131 | net/ipv4/tcp_input.c | static inline struct sock * get_tcp_sock(u32 saddr, u16 sport, u32 daddr, u16 dport) |
daddr | 136 | net/ipv4/tcp_input.c | if (!sk || saddr != th_cache_saddr || daddr != th_cache_daddr || |
daddr | 138 | net/ipv4/tcp_input.c | sk = get_sock(&tcp_prot, dport, saddr, sport, daddr); |
daddr | 141 | net/ipv4/tcp_input.c | th_cache_daddr=daddr; |
daddr | 169 | net/ipv4/tcp_input.c | tcp_send_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
daddr | 313 | net/ipv4/tcp_input.c | u32 daddr, u32 saddr, struct options *opt, struct device *dev, u32 seq) |
daddr | 330 | net/ipv4/tcp_input.c | tcp_send_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
daddr | 381 | net/ipv4/tcp_input.c | if (ip_options_echo(sk->opt, opt, daddr, saddr, skb)) |
daddr | 446 | net/ipv4/tcp_input.c | newsk->daddr = saddr; |
daddr | 447 | net/ipv4/tcp_input.c | newsk->saddr = daddr; |
daddr | 448 | net/ipv4/tcp_input.c | newsk->rcv_saddr = daddr; |
daddr | 1261 | net/ipv4/tcp_input.c | tcp_send_reset(sk->saddr, sk->daddr, skb->h.th, |
daddr | 1574 | net/ipv4/tcp_input.c | __u32 daddr, unsigned short len, |
daddr | 1608 | net/ipv4/tcp_input.c | if (tcp_check(th, len, saddr, daddr, skb->csum)) |
daddr | 1613 | net/ipv4/tcp_input.c | sk = get_tcp_sock(saddr, th->source, daddr, th->dest); |
daddr | 1624 | net/ipv4/tcp_input.c | skb->saddr = daddr; |
daddr | 1625 | net/ipv4/tcp_input.c | skb->daddr = saddr; |
daddr | 1682 | net/ipv4/tcp_input.c | tcp_send_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
daddr | 1691 | net/ipv4/tcp_input.c | if(th->rst || !th->syn || th->ack || ip_chk_addr(daddr)!=IS_MYADDR) |
daddr | 1701 | net/ipv4/tcp_input.c | tcp_conn_request(sk, skb, daddr, saddr, opt, dev, tcp_init_seq()); |
daddr | 1745 | net/ipv4/tcp_input.c | tcp_send_reset(daddr, saddr, th, |
daddr | 1757 | net/ipv4/tcp_input.c | tcp_send_reset(daddr, saddr, th, |
daddr | 1770 | net/ipv4/tcp_input.c | tcp_send_ack(sk->sent_seq,sk->acked_seq,sk,th,sk->daddr); |
daddr | 1793 | net/ipv4/tcp_input.c | if(sk->saddr==saddr && sk->daddr==daddr && |
daddr | 1842 | net/ipv4/tcp_input.c | sk=get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
daddr | 1848 | net/ipv4/tcp_input.c | tcp_conn_request(sk, skb, daddr, saddr,opt, dev,seq+128000); |
daddr | 1879 | net/ipv4/tcp_input.c | tcp_send_reset(daddr,saddr,th, &tcp_prot, opt, dev, skb->ip_hdr->tos, 255); |
daddr | 1898 | net/ipv4/tcp_input.c | tcp_send_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
daddr | 1942 | net/ipv4/tcp_input.c | tcp_send_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
daddr | 113 | net/ipv4/tcp_output.c | tcp_send_check(th, sk->saddr, sk->daddr, size, skb); |
daddr | 284 | net/ipv4/tcp_output.c | tcp_send_check(th, sk->saddr, sk->daddr, size, skb); |
daddr | 379 | net/ipv4/tcp_output.c | rt = ip_check_route(&sk->ip_route_cache, opt->srr?opt->faddr:iph->daddr, skb->localroute); |
daddr | 410 | net/ipv4/tcp_output.c | printk("tcp_do_retransmit: hh miss %08x via %08x\n", iph->daddr, rt->rt_gateway); |
daddr | 435 | net/ipv4/tcp_output.c | tcp_send_check(th, sk->saddr, sk->daddr, size, skb); |
daddr | 492 | net/ipv4/tcp_output.c | void tcp_send_reset(unsigned long saddr, unsigned long daddr, struct tcphdr *th, |
daddr | 525 | net/ipv4/tcp_output.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
daddr | 559 | net/ipv4/tcp_output.c | tcp_send_check(t1, saddr, daddr, sizeof(*t1), buff); |
daddr | 598 | net/ipv4/tcp_output.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
daddr | 635 | net/ipv4/tcp_output.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), buff); |
daddr | 688 | net/ipv4/tcp_output.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
daddr | 734 | net/ipv4/tcp_output.c | tcp_send_check(t1, newsk->saddr, newsk->daddr, sizeof(*t1)+4, buff); |
daddr | 757 | net/ipv4/tcp_output.c | struct tcphdr *th, u32 daddr) |
daddr | 802 | net/ipv4/tcp_output.c | tmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev, |
daddr | 848 | net/ipv4/tcp_output.c | tcp_send_check(t1, sk->saddr, daddr, sizeof(*t1), buff); |
daddr | 940 | net/ipv4/tcp_output.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 988 | net/ipv4/tcp_output.c | tcp_send_check(nth, sk->saddr, sk->daddr, |
daddr | 1006 | net/ipv4/tcp_output.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 1026 | net/ipv4/tcp_output.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), buff); |
daddr | 138 | 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 | 154 | net/ipv4/udp.c | void udp_err(int type, int code, unsigned char *header, __u32 daddr, |
daddr | 166 | net/ipv4/udp.c | sk = get_sock(&udp_prot, uh->source, daddr, uh->dest, saddr); |
daddr | 211 | net/ipv4/udp.c | static unsigned short udp_check(struct udphdr *uh, int len, unsigned long saddr, unsigned long daddr, unsigned long base) |
daddr | 213 | net/ipv4/udp.c | return(csum_tcpudp_magic(saddr, daddr, len, IPPROTO_UDP, base)); |
daddr | 219 | net/ipv4/udp.c | __u32 daddr; |
daddr | 255 | net/ipv4/udp.c | ufh->uh.check = csum_tcpudp_magic(saddr, ufh->daddr, |
daddr | 315 | net/ipv4/udp.c | ufh.daddr = sin->sin_addr.s_addr; |
daddr | 370 | net/ipv4/udp.c | sin.sin_addr.s_addr = sk->daddr; |
daddr | 539 | net/ipv4/udp.c | sin->sin_addr.s_addr = skb->daddr; |
daddr | 567 | net/ipv4/udp.c | sk->daddr = usin->sin_addr.s_addr; |
daddr | 593 | net/ipv4/udp.c | __u32 daddr, unsigned short len, |
daddr | 601 | net/ipv4/udp.c | if(!dev || dev->pa_addr!=daddr) |
daddr | 602 | net/ipv4/udp.c | addr_type=ip_chk_addr(daddr); |
daddr | 634 | net/ipv4/udp.c | ( (skb->ip_summed == CHECKSUM_HW) && udp_check(uh, len, saddr, daddr, skb->csum ) ) || |
daddr | 635 | net/ipv4/udp.c | ( (skb->ip_summed == CHECKSUM_NONE) && udp_check(uh, len, saddr, daddr,csum_partial((char*)uh, len, 0))) |
daddr | 648 | net/ipv4/udp.c | ntohl(daddr),ntohs(uh->dest), |
daddr | 666 | net/ipv4/udp.c | saddr, uh->source, daddr); |
daddr | 673 | net/ipv4/udp.c | sknext=get_sock_mcast(sk->next, uh->dest, saddr, uh->source, daddr); |
daddr | 679 | net/ipv4/udp.c | udp_deliver(sk, uh, skb1, dev,saddr,daddr,len); |
daddr | 689 | net/ipv4/udp.c | if(saddr==uh_cache_saddr && daddr==uh_cache_daddr && uh->dest==uh_cache_dport && uh->source==uh_cache_sport) |
daddr | 693 | net/ipv4/udp.c | sk = get_sock(&udp_prot, uh->dest, saddr, uh->source, daddr); |
daddr | 695 | net/ipv4/udp.c | uh_cache_daddr=daddr; |
daddr | 716 | net/ipv4/udp.c | return udp_deliver(sk,uh,skb,dev, saddr, daddr, len); |
daddr | 719 | 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 | 729 | net/ipv4/udp.c | skb->daddr = saddr; |
daddr | 730 | net/ipv4/udp.c | skb->saddr = daddr; |
daddr | 77 | net/netrom/nr_dev.c | void *daddr, void *saddr, unsigned len) |
daddr | 87 | net/netrom/nr_dev.c | if (daddr != NULL) |
daddr | 88 | net/netrom/nr_dev.c | memcpy(buff, daddr, dev->addr_len); |
daddr | 102 | net/netrom/nr_dev.c | if (daddr != NULL) |