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 | 376 | arch/m68k/kernel/traps.c | fp->un.fmtb.daddr, |
daddr | 390 | arch/m68k/kernel/traps.c | fp->un.fmtb.daddr, |
daddr | 415 | arch/m68k/kernel/traps.c | addr = fp->un.fmtb.daddr; |
daddr | 548 | arch/m68k/kernel/traps.c | if ((ssw & DF) && ((addr ^ fp->un.fmtb.daddr) & PAGE_MASK) == 0) |
daddr | 702 | arch/m68k/kernel/traps.c | fp->un.fmta.daddr, fp->un.fmta.dobuf); |
daddr | 708 | arch/m68k/kernel/traps.c | fp->un.fmtb.daddr, fp->un.fmtb.dobuf); |
daddr | 787 | arch/m68k/kernel/traps.c | fp->un.fmtb.daddr, space_names[ssw & DFC], |
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 | 2418 | arch/sparc/mm/srmmu.c | daddr = &(dest); \ |
daddr | 2419 | arch/sparc/mm/srmmu.c | *iaddr = SPARC_BRANCH((unsigned long) daddr, (unsigned long) iaddr); \ |
daddr | 2424 | arch/sparc/mm/srmmu.c | unsigned long *iaddr, *daddr; |
daddr | 1075 | drivers/isdn/isdn_net.c | void *daddr, void *saddr, unsigned len) |
daddr | 1107 | drivers/isdn/isdn_net.c | if(daddr) { |
daddr | 1108 | drivers/isdn/isdn_net.c | memcpy(eth->h_dest,daddr,dev->addr_len); |
daddr | 1122 | drivers/isdn/isdn_net.c | void *daddr, void *saddr, unsigned plen) |
daddr | 1129 | drivers/isdn/isdn_net.c | len = my_eth_header(skb, dev, type, daddr, saddr, plen); |
daddr | 498 | drivers/net/arcnet.c | daddr; /* Destination address */ |
daddr | 518 | drivers/net/arcnet.c | daddr, /* Destination address */ |
daddr | 617 | drivers/net/arcnet.c | char *data,int length,int daddr,int exceptA); |
daddr | 625 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
daddr | 630 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len); |
daddr | 640 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
daddr | 648 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
daddr | 650 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len); |
daddr | 1622 | drivers/net/arcnet.c | out->hdr->daddr,1); |
daddr | 1727 | drivers/net/arcnet.c | out->data,out->seglen,out->hdr->daddr,1); |
daddr | 1740 | drivers/net/arcnet.c | char *data,int length,int daddr,int exceptA) |
daddr | 1765 | drivers/net/arcnet.c | arcpacket->hardheader.destination=daddr; |
daddr | 1828 | drivers/net/arcnet.c | daddr,length); |
daddr | 1831 | drivers/net/arcnet.c | lp->lastload_dest=daddr; |
daddr | 2180 | drivers/net/arcnet.c | u_char daddr,saddr; |
daddr | 2185 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination; |
daddr | 2212 | drivers/net/arcnet.c | saddr,daddr,length); |
daddr | 2222 | drivers/net/arcnet.c | arcnetA_rx(lp->adev,arcsoft,length,saddr,daddr); |
daddr | 2226 | drivers/net/arcnet.c | arcnetE_rx(lp->edev,arcsoft,length,saddr,daddr); |
daddr | 2232 | drivers/net/arcnet.c | arcnetS_rx(lp->sdev,arcsoft,length,saddr,daddr); |
daddr | 2265 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
daddr | 2324 | drivers/net/arcnet.c | soft->daddr=daddr; |
daddr | 2509 | drivers/net/arcnet.c | soft->daddr=daddr; |
daddr | 2585 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len) |
daddr | 2593 | drivers/net/arcnet.c | daddr ? *(u_char*)daddr : -1, |
daddr | 2641 | drivers/net/arcnet.c | if(daddr) |
daddr | 2643 | drivers/net/arcnet.c | head->daddr=((u_char*)daddr)[0]; |
daddr | 2647 | drivers/net/arcnet.c | head->daddr=0; /* better fill one in anyway */ |
daddr | 2675 | drivers/net/arcnet.c | head->daddr=0; |
daddr | 2685 | drivers/net/arcnet.c | head->saddr,head->daddr,head->protocol_id); |
daddr | 2686 | drivers/net/arcnet.c | status=arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0; |
daddr | 2688 | drivers/net/arcnet.c | head->saddr,head->daddr,head->protocol_id); |
daddr | 2710 | drivers/net/arcnet.c | if (head->daddr==0) |
daddr | 2715 | drivers/net/arcnet.c | if (head->daddr != dev->dev_addr[0]) |
daddr | 2777 | drivers/net/arcnet.c | u_char *arcsoft,daddr; |
daddr | 2814 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination=0; |
daddr | 2816 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination= |
daddr | 2848 | drivers/net/arcnet.c | daddr,length); |
daddr | 2852 | drivers/net/arcnet.c | lp->lastload_dest=daddr; |
daddr | 2879 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
daddr | 2971 | drivers/net/arcnet.c | hdr->daddr,0); |
daddr | 3008 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
daddr | 3039 | drivers/net/arcnet.c | soft->daddr=daddr; |
daddr | 3058 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len) |
daddr | 3097 | drivers/net/arcnet.c | if(daddr) |
daddr | 3099 | drivers/net/arcnet.c | head->daddr=((u_char*)daddr)[0]; |
daddr | 3103 | drivers/net/arcnet.c | head->daddr=0; /* better fill one in anyway */ |
daddr | 3129 | drivers/net/arcnet.c | head->daddr=0; |
daddr | 3138 | drivers/net/arcnet.c | return arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0; |
daddr | 3159 | drivers/net/arcnet.c | if (head->daddr==0) |
daddr | 3164 | drivers/net/arcnet.c | if (head->daddr != dev->dev_addr[0]) |
daddr | 120 | drivers/net/dlci.c | unsigned short type, void *daddr, void *saddr, |
daddr | 159 | drivers/net/eql.c | unsigned short type, void *daddr, void *saddr, |
daddr | 417 | drivers/net/eql.c | unsigned short type, void *daddr, void *saddr, |
daddr | 1355 | drivers/net/ibmtr.c | (int)readb(trhhdr + offsetof(struct trh_hdr, daddr)), |
daddr | 1356 | drivers/net/ibmtr.c | (int)readb(trhhdr + offsetof(struct trh_hdr, daddr)+1), |
daddr | 1357 | drivers/net/ibmtr.c | (int)readb(trhhdr + offsetof(struct trh_hdr, daddr)+2), |
daddr | 1358 | drivers/net/ibmtr.c | (int)readb(trhhdr + offsetof(struct trh_hdr, daddr)+3), |
daddr | 1359 | drivers/net/ibmtr.c | (int)readb(trhhdr + offsetof(struct trh_hdr, daddr)+4), |
daddr | 1360 | drivers/net/ibmtr.c | (int)readb(trhhdr + offsetof(struct trh_hdr, daddr)+5)); |
daddr | 115 | drivers/net/new_tunnel.c | ipaddr=(unsigned char *)&ip->daddr; |
daddr | 167 | drivers/net/new_tunnel.c | if ((rt = ip_rt_route(iph->daddr, 0)) == NULL) |
daddr | 282 | drivers/net/new_tunnel.c | iph->daddr = target; |
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 | 3144 | drivers/net/ppp.c | __u16 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 | 539 | drivers/net/slip.c | void *daddr, void *saddr, unsigned len) |
daddr | 546 | drivers/net/slip.c | return ax25_encapsulate(skb, dev, type, daddr, saddr, len); |
daddr | 620 | drivers/net/strip.c | c.l = skb->daddr; |
daddr | 976 | drivers/net/strip.c | unsigned short type, void *daddr, void *saddr, unsigned len) |
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 | 73 | include/asm-m68k/checksum.h | csum_tcpudp_magic(unsigned long saddr, unsigned long daddr, unsigned short len, |
daddr | 85 | include/asm-m68k/checksum.h | : "0" (daddr), "1" (saddr), "d" (len + proto), |
daddr | 216 | include/asm-m68k/traps.h | unsigned long daddr; /* data cycle fault address */ |
daddr | 226 | include/asm-m68k/traps.h | unsigned long daddr; /* data cycle fault address */ |
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 | 22 | include/asm-sparc/checksum.h | unsigned long daddr, |
daddr | 53 | include/asm-sparc/checksum.h | : "0" (daddr), "1" (saddr), "r" (len+proto), "r" (sum)); |
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 | __u8 daddr[TR_ALEN]; /* destination address */ |
daddr | 108 | include/linux/ip.h | __u32 daddr; |
daddr | 174 | include/linux/netdevice.h | void *daddr, |
daddr | 188 | include/linux/netdevice.h | void (*header_cache_bind)(struct hh_cache **hhp, struct device *dev, unsigned short htype, __u32 daddr); |
daddr | 221 | include/linux/netdevice.h | extern struct device *ip_dev_check(unsigned long daddr); |
daddr | 82 | 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 | 53 | include/net/ip_masq.h | __u32 saddr, daddr, maddr; /* src, dst & masq addresses */ |
daddr | 93 | include/net/ip_masq.h | extern struct ip_masq *ip_masq_new(struct device *dev, int proto, __u32 saddr, __u16 sport, __u32 daddr, __u16 dport, unsigned flags); |
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 | 238 | include/net/route.h | extern struct rtable * ip_rt_route(__u32 daddr, int local); |
daddr | 240 | include/net/route.h | extern __inline__ struct rtable * ip_rt_route(__u32 daddr, int local) |
daddr | 247 | include/net/route.h | for (rth=ip_rt_hash_table[ip_rt_hash_code(daddr)^local]; rth; rth=rth->rt_next) |
daddr | 249 | include/net/route.h | if (rth->rt_dst == daddr) |
daddr | 258 | include/net/route.h | return ip_rt_slow_route (daddr, local); |
daddr | 266 | include/net/route.h | __u32 daddr, int local) |
daddr | 270 | include/net/route.h | if (!rt || rt->rt_dst != daddr || !(rt->rt_flags&RTF_UP) |
daddr | 274 | include/net/route.h | rt = ip_rt_route(daddr, local); |
daddr | 208 | include/net/sock.h | __u32 daddr; |
daddr | 339 | include/net/sock.h | __u32 daddr, |
daddr | 353 | include/net/sock.h | struct options *opt, __u32 daddr, |
daddr | 131 | include/net/tcp.h | extern void tcp_err(int type, int code, unsigned char *header, __u32 daddr, |
daddr | 135 | include/net/tcp.h | struct options *opt, __u32 daddr, |
daddr | 147 | include/net/tcp.h | unsigned long daddr, int len, struct sk_buff *skb); |
daddr | 159 | include/net/tcp.h | extern void tcp_send_reset(unsigned long saddr, unsigned long daddr, struct tcphdr *th, |
daddr | 283 | include/net/tcp.h | unsigned long saddr, unsigned long daddr, unsigned long base) |
daddr | 285 | 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 | 2487 | net/ax25/af_ax25.c | int ax25_encapsulate(struct sk_buff *skb, struct device *dev, unsigned short type, void *daddr, |
daddr | 2495 | net/ax25/af_ax25.c | if (daddr != NULL) |
daddr | 2496 | net/ax25/af_ax25.c | memcpy(buff, daddr, dev->addr_len); /* Address specified */ |
daddr | 2530 | net/ax25/af_ax25.c | if (daddr != NULL) |
daddr | 809 | net/core/skbuff.c | n->daddr=skb->daddr; |
daddr | 543 | net/core/sock.c | skb->saddr, skb->len, skb->daddr, 1, |
daddr | 91 | net/ethernet/eth.c | void *daddr, void *saddr, unsigned len) |
daddr | 124 | net/ethernet/eth.c | if(daddr) |
daddr | 126 | net/ethernet/eth.c | memcpy(eth->h_dest,daddr,dev->addr_len); |
daddr | 228 | net/ethernet/eth.c | unsigned short htype, __u32 daddr) |
daddr | 237 | net/ethernet/eth.c | if (arp_bind_cache(hhp, dev, htype, daddr)) |
daddr | 916 | net/ipv4/af_inet.c | sk->daddr = 0; |
daddr | 1103 | net/ipv4/af_inet.c | sin->sin_addr.s_addr = sk->daddr; |
daddr | 1351 | net/ipv4/af_inet.c | if (s->daddr) { |
daddr | 1352 | net/ipv4/af_inet.c | if (s->daddr != raddr) |
daddr | 1393 | net/ipv4/af_inet.c | if(s->daddr && s->daddr!=raddr) |
daddr | 1434 | net/ipv4/af_inet.c | if(s->daddr && s->daddr!=raddr) |
daddr | 287 | net/ipv4/icmp.c | __u32 daddr; /* Destination address */ |
daddr | 311 | net/ipv4/icmp.c | void (*handler)(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len); |
daddr | 360 | net/ipv4/icmp.c | xr->cache[entry].daddr = INADDR_NONE; |
daddr | 385 | net/ipv4/icmp.c | if (c->daddr == addr) |
daddr | 395 | net/ipv4/icmp.c | if (!d->daddr) { /* Unused entry */ |
daddr | 403 | net/ipv4/icmp.c | c->daddr = addr; |
daddr | 483 | net/ipv4/icmp.c | static void icmp_build_xmit(struct icmp_bxm *icmp_param, __u32 saddr, __u32 daddr, __u8 tos) |
daddr | 492 | net/ipv4/icmp.c | daddr, saddr, &icmp_param->replyopts, 0, IPPROTO_ICMP, 1); |
daddr | 531 | net/ipv4/icmp.c | atype=ip_chk_addr(iph->daddr); |
daddr | 578 | net/ipv4/icmp.c | saddr=iph->daddr; |
daddr | 601 | 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 | 629 | net/ipv4/icmp.c | in_ntoa(iph->daddr)); |
daddr | 684 | net/ipv4/icmp.c | printk(KERN_INFO "ICMP: %s: Source Route Failed.\n", in_ntoa(iph->daddr)); |
daddr | 730 | net/ipv4/icmp.c | iph->daddr, iph->saddr, ipprot); |
daddr | 743 | 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 | 753 | net/ipv4/icmp.c | ip = iph->daddr; |
daddr | 819 | 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 | 827 | net/ipv4/icmp.c | if (ip_options_echo(&icmp_param.replyopts, NULL, daddr, saddr, skb)==0) |
daddr | 828 | net/ipv4/icmp.c | icmp_build_xmit(&icmp_param, daddr, saddr, skb->ip_hdr->tos); |
daddr | 841 | 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 | 873 | net/ipv4/icmp.c | if (ip_options_echo(&icmp_param.replyopts, NULL, daddr, saddr, skb)==0) |
daddr | 874 | net/ipv4/icmp.c | icmp_build_xmit(&icmp_param, daddr, saddr, skb->ip_hdr->tos); |
daddr | 891 | 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 | 901 | net/ipv4/icmp.c | if (ip_options_echo(&icmp_param.replyopts, NULL, daddr, saddr, skb)==0) |
daddr | 902 | net/ipv4/icmp.c | icmp_build_xmit(&icmp_param, daddr, saddr, skb->iph->tos); |
daddr | 907 | 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 | 917 | net/ipv4/icmp.c | __u32 daddr, unsigned short len, |
daddr | 953 | net/ipv4/icmp.c | if (daddr!=dev->pa_addr && ip_chk_addr(daddr) != IS_MYADDR) |
daddr | 971 | net/ipv4/icmp.c | daddr=dev->pa_addr; |
daddr | 976 | net/ipv4/icmp.c | (icmp_pointers[icmph->type].handler)(icmph,skb,skb->dev,saddr,daddr,len); |
daddr | 430 | net/ipv4/igmp.c | __u32 daddr, unsigned short len, __u32 saddr, int redo, |
daddr | 468 | net/ipv4/igmp.c | if(ih->type==IGMP_HOST_MEMBERSHIP_QUERY && daddr==IGMP_ALL_HOSTS) |
daddr | 470 | net/ipv4/igmp.c | if(ih->type==IGMP_HOST_MEMBERSHIP_REPORT && daddr==ih->group) |
daddr | 472 | net/ipv4/igmp.c | if(ih->type==IGMP_HOST_NEW_MEMBERSHIP_REPORT && daddr==ih->group) |
daddr | 48 | net/ipv4/ip_forward.c | static void ip_encap(struct sk_buff *skb, int len, struct device *out, __u32 daddr) |
daddr | 62 | net/ipv4/ip_forward.c | iph->daddr = daddr; |
daddr | 72 | net/ipv4/ip_forward.c | skb->raddr=daddr; |
daddr | 222 | net/ipv4/ip_forward.c | iph->daddr != raddr/*ANK*/ && !opt->srr) |
daddr | 398 | net/ipv4/ip_forward.c | iph->daddr = target_addr; |
daddr | 127 | net/ipv4/ip_fragment.c | iph->daddr == qp->iph->daddr && iph->protocol == qp->iph->protocol) |
daddr | 220 | net/ipv4/ip_fw.c | dst = ip->daddr; |
daddr | 267 | net/ipv4/ip_fw.c | dst = ip->daddr; |
daddr | 322 | net/ipv4/ip_fw.c | dprint_ip(ip->daddr); |
daddr | 472 | net/ipv4/ip_fw.c | print_ip(ip->daddr); |
daddr | 211 | net/ipv4/ip_input.c | __u32 daddr; |
daddr | 273 | net/ipv4/ip_input.c | if (iph->daddr != skb->dev->pa_addr && net_alias_has(skb->dev)) |
daddr | 274 | net/ipv4/ip_input.c | skb->dev = dev = net_alias_dev_rcv_sel32(skb->dev, AF_INET, iph->saddr, iph->daddr); |
daddr | 344 | net/ipv4/ip_input.c | daddr = iph->daddr; |
daddr | 345 | net/ipv4/ip_input.c | if ( iph->daddr == skb->dev->pa_addr || (brd = ip_chk_addr(iph->daddr)) != 0) |
daddr | 386 | net/ipv4/ip_input.c | memcpy(&daddr, &optptr[srrptr-1], 4); |
daddr | 404 | net/ipv4/ip_input.c | if(!(dev->flags&IFF_ALLMULTI) && brd==IS_MULTICAST && iph->daddr!=IGMP_ALL_HOSTS && !(dev->flags&IFF_LOOPBACK)) |
daddr | 417 | net/ipv4/ip_input.c | if(ip_mc->multiaddr==iph->daddr) |
daddr | 432 | net/ipv4/ip_input.c | if (ip_forward(skb, dev, is_frag|IPFWD_MASQUERADED, iph->daddr)) |
daddr | 454 | net/ipv4/ip_input.c | if (ip_forward(skb, dev, IPFWD_MASQUERADED, iph->daddr)) |
daddr | 473 | net/ipv4/ip_input.c | if(brd==IS_MULTICAST && (iph->daddr&htonl(0xFFFFFF00))!=htonl(0xE0000000)) |
daddr | 493 | net/ipv4/ip_input.c | raw_sk=get_sock_raw(raw_sk, iph->protocol, iph->saddr, iph->daddr); |
daddr | 499 | net/ipv4/ip_input.c | sknext=get_sock_raw(raw_sk->next, iph->protocol, iph->saddr, iph->daddr); |
daddr | 505 | net/ipv4/ip_input.c | raw_rcv(raw_sk, skb1, dev, iph->saddr,daddr); |
daddr | 560 | net/ipv4/ip_input.c | ipprot->handler(skb2, dev, opt, daddr, |
daddr | 597 | net/ipv4/ip_input.c | raw_rcv(raw_sk, skb, dev, iph->saddr, daddr); |
daddr | 633 | net/ipv4/ip_input.c | if (ip_forward(skb, dev, is_frag, iph->daddr)) |
daddr | 206 | net/ipv4/ip_masq.c | d_addr = iph->daddr; |
daddr | 212 | net/ipv4/ip_masq.c | (s_addr==ms->daddr || ms->flags & IP_MASQ_F_NO_DADDR) && |
daddr | 237 | net/ipv4/ip_masq.c | d_addr = iph->daddr; |
daddr | 261 | net/ipv4/ip_masq.c | d_addr == ms->daddr && d_port == ms->dport ) |
daddr | 317 | net/ipv4/ip_masq.c | struct ip_masq * ip_masq_new(struct device *dev, int proto, __u32 saddr, __u16 sport, __u32 daddr, __u16 dport, unsigned mflags) |
daddr | 346 | net/ipv4/ip_masq.c | ms->daddr = daddr; |
daddr | 418 | net/ipv4/ip_masq.c | __u32 daddr, int len) |
daddr | 421 | net/ipv4/ip_masq.c | uh->check=csum_tcpudp_magic(saddr,daddr,len, |
daddr | 452 | net/ipv4/ip_masq.c | ntohl(iph->daddr), ntohs(portptr[1])); |
daddr | 467 | net/ipv4/ip_masq.c | iph->daddr, portptr[1], |
daddr | 506 | net/ipv4/ip_masq.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
daddr | 530 | net/ipv4/ip_masq.c | tcp_send_check(th,iph->saddr,iph->daddr,size,skb); |
daddr | 580 | net/ipv4/ip_masq.c | ntohl(iph->daddr), ntohs(portptr[1])); |
daddr | 606 | net/ipv4/ip_masq.c | ms->daddr = iph->saddr; |
daddr | 609 | net/ipv4/ip_masq.c | ntohs(ms->daddr)); |
daddr | 613 | net/ipv4/ip_masq.c | iph->daddr = ms->saddr; |
daddr | 643 | net/ipv4/ip_masq.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
daddr | 652 | net/ipv4/ip_masq.c | tcp_send_check((struct tcphdr *)portptr,iph->saddr,iph->daddr,size,skb); |
daddr | 665 | net/ipv4/ip_masq.c | printk("I-routed to %lX:%X\n",ntohl(iph->daddr),ntohs(portptr[1])); |
daddr | 713 | net/ipv4/ip_masq.c | ntohl(ms->daddr), ntohs(ms->dport), |
daddr | 108 | net/ipv4/ip_masq_ftp.c | printk("protocol %d %lX:%X %X:%X\n", iph->protocol, htonl(from), htons(port), iph->daddr, 0); |
daddr | 113 | net/ipv4/ip_masq_ftp.c | iph->daddr, 0); |
daddr | 121 | net/ipv4/ip_masq_ftp.c | iph->daddr, 0, |
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 | 85 | net/ipv4/ip_output.c | newskb->daddr=skb->daddr; |
daddr | 95 | net/ipv4/ip_output.c | ip_send(NULL,newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr); |
daddr | 119 | 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 | 139 | net/ipv4/ip_output.c | printk("ip_send: hh miss %08x via %08x\n", daddr, rt->rt_gateway); |
daddr | 142 | net/ipv4/ip_output.c | skb->raddr = daddr; |
daddr | 150 | net/ipv4/ip_output.c | skb->raddr = daddr; /* next routing address */ |
daddr | 156 | 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 | 172 | net/ipv4/ip_output.c | printk("ip_send_room: hh miss %08x via %08x\n", daddr, rt->rt_gateway); |
daddr | 175 | net/ipv4/ip_output.c | skb->raddr = daddr; |
daddr | 183 | net/ipv4/ip_output.c | skb->raddr = daddr; /* next routing address */ |
daddr | 197 | net/ipv4/ip_output.c | int ip_build_header(struct sk_buff *skb, __u32 saddr, __u32 daddr, |
daddr | 205 | net/ipv4/ip_output.c | __u32 final_daddr = daddr; |
daddr | 209 | net/ipv4/ip_output.c | daddr = opt->faddr; |
daddr | 216 | net/ipv4/ip_output.c | if(MULTICAST(daddr) && *dev==NULL && skb->sk && *skb->sk->ip_mc_name) |
daddr | 221 | net/ipv4/ip_output.c | rt = ip_check_route(rp, daddr, skb->localroute); |
daddr | 230 | net/ipv4/ip_output.c | rt = ip_rt_route(daddr, skb->localroute); |
daddr | 244 | net/ipv4/ip_output.c | if ((LOOPBACK(saddr) && !LOOPBACK(daddr)) || !saddr) |
daddr | 247 | net/ipv4/ip_output.c | raddr = rt ? rt->rt_gateway : daddr; |
daddr | 300 | net/ipv4/ip_output.c | iph->daddr = daddr; |
daddr | 483 | net/ipv4/ip_output.c | if (MULTICAST(iph->daddr) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 487 | net/ipv4/ip_output.c | if(iph->daddr==IGMP_ALL_HOSTS || (dev->flags&IFF_ALLMULTI)) |
daddr | 496 | net/ipv4/ip_output.c | if(imc->multiaddr==iph->daddr) |
daddr | 514 | net/ipv4/ip_output.c | if((dev->flags&IFF_BROADCAST) && (iph->daddr==dev->pa_brdaddr||iph->daddr==0xFFFFFFFF) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 572 | net/ipv4/ip_output.c | __u32 daddr, |
daddr | 589 | net/ipv4/ip_output.c | __u32 true_daddr = daddr; |
daddr | 592 | net/ipv4/ip_output.c | daddr = opt->faddr; |
daddr | 597 | net/ipv4/ip_output.c | if(sk && MULTICAST(daddr) && *sk->ip_mc_name) |
daddr | 603 | net/ipv4/ip_output.c | if (sk->saddr && (!LOOPBACK(sk->saddr) || LOOPBACK(daddr))) |
daddr | 611 | net/ipv4/ip_output.c | rt = ip_check_route(&sk->ip_route_cache, daddr, |
daddr | 623 | net/ipv4/ip_output.c | if (sk->saddr && (!LOOPBACK(sk->saddr) || LOOPBACK(daddr))) |
daddr | 635 | net/ipv4/ip_output.c | raddr = rt ? rt->rt_gateway : daddr; |
daddr | 650 | net/ipv4/ip_output.c | if(length <= dev->mtu && !MULTICAST(daddr) && daddr!=0xFFFFFFFF && daddr!=dev->pa_brdaddr) |
daddr | 700 | net/ipv4/ip_output.c | iph->daddr=daddr; |
daddr | 889 | net/ipv4/ip_output.c | if (MULTICAST(daddr)) |
daddr | 897 | net/ipv4/ip_output.c | iph->daddr = daddr; |
daddr | 939 | net/ipv4/ip_output.c | if (MULTICAST(daddr) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 950 | net/ipv4/ip_output.c | if(skb->daddr==IGMP_ALL_HOSTS || (dev->flags&IFF_ALLMULTI)) |
daddr | 957 | net/ipv4/ip_output.c | if(imc->multiaddr==daddr) |
daddr | 983 | net/ipv4/ip_output.c | if((dev->flags&IFF_BROADCAST) && (daddr==0xFFFFFFFF || daddr==dev->pa_brdaddr) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 1040 | 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 | 1052 | 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 | 88 | 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 | 133 | net/ipv4/raw.c | __u32 daddr, unsigned short len, |
daddr | 146 | net/ipv4/raw.c | int raw_rcv(struct sock *sk, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr) |
daddr | 154 | net/ipv4/raw.c | skb->saddr = daddr; |
daddr | 155 | net/ipv4/raw.c | skb->daddr = saddr; |
daddr | 245 | net/ipv4/raw.c | sin.sin_addr.s_addr = sk->daddr; |
daddr | 365 | net/ipv4/raw.c | sin->sin_addr.s_addr = skb->daddr; |
daddr | 999 | net/ipv4/route.c | __u32 daddr = rt->rt_dst; |
daddr | 1011 | net/ipv4/route.c | printk("rt_kick_free_queue: %08x is free\n", daddr); |
daddr | 1381 | net/ipv4/route.c | __u32 daddr = rth->rt_dst; |
daddr | 1398 | net/ipv4/route.c | if (rth->rt_gateway != daddr) |
daddr | 1428 | net/ipv4/route.c | printk("rt_cache @%02x: %08x", hash, daddr); |
daddr | 1448 | net/ipv4/route.c | || rth->rt_dst == daddr) |
daddr | 1473 | net/ipv4/route.c | struct rtable * ip_rt_slow_route (__u32 daddr, int local) |
daddr | 1475 | net/ipv4/route.c | unsigned hash = ip_rt_hash_code(daddr)^local; |
daddr | 1482 | net/ipv4/route.c | printk("rt_cache miss @%08x\n", daddr); |
daddr | 1493 | net/ipv4/route.c | f = fib_lookup_local(daddr); |
daddr | 1495 | net/ipv4/route.c | f = fib_lookup (daddr); |
daddr | 1509 | net/ipv4/route.c | printk("rt_route failed @%08x\n", daddr); |
daddr | 1514 | net/ipv4/route.c | daddr=ntohl(daddr); |
daddr | 1516 | net/ipv4/route.c | (int)(daddr >> 24) & 0xff, (int)(daddr >> 16) & 0xff, |
daddr | 1517 | net/ipv4/route.c | (int)(daddr >> 8) & 0xff, (int)daddr & 0xff); |
daddr | 1525 | net/ipv4/route.c | if (daddr == fi->fib_dev->pa_addr) |
daddr | 1542 | net/ipv4/route.c | rth->rt_dst = daddr; |
daddr | 1564 | net/ipv4/route.c | if (MULTICAST(daddr) || daddr == 0xFFFFFFFF) |
daddr | 1573 | net/ipv4/route.c | printk("rt_cache: route to %08x was born dead\n", daddr); |
daddr | 1587 | net/ipv4/route.c | struct rtable * ip_rt_route(__u32 daddr, int local) |
daddr | 1593 | net/ipv4/route.c | for (rth=ip_rt_hash_table[ip_rt_hash_code(daddr)^local]; rth; rth=rth->rt_next) |
daddr | 1595 | net/ipv4/route.c | if (rth->rt_dst == daddr) |
daddr | 1604 | net/ipv4/route.c | return ip_rt_slow_route (daddr, local); |
daddr | 1618 | net/ipv4/route.c | __u32 daddr, mask, gw; |
daddr | 1649 | net/ipv4/route.c | daddr = (__u32) ((struct sockaddr_in *) &r->rt_dst)->sin_addr.s_addr; |
daddr | 1678 | net/ipv4/route.c | if (bad_mask(mask, daddr)) |
daddr | 1702 | net/ipv4/route.c | dev = ip_dev_check(daddr); |
daddr | 1715 | net/ipv4/route.c | rt_add(flags, daddr, mask, gw, dev, r->rt_mss, r->rt_window, r->rt_irtt, metric); |
daddr | 500 | net/ipv4/tcp.c | void tcp_err(int type, int code, unsigned char *header, __u32 daddr, |
daddr | 513 | net/ipv4/tcp.c | sk = get_sock(&tcp_prot, th->source, daddr, th->dest, saddr); |
daddr | 795 | net/ipv4/tcp.c | unsigned long daddr, int len, struct sk_buff *skb) |
daddr | 801 | net/ipv4/tcp.c | th->check = tcp_check(th, len, saddr, daddr, |
daddr | 807 | net/ipv4/tcp.c | th->check = tcp_check(th, len, saddr, daddr, |
daddr | 1077 | net/ipv4/tcp.c | tmp = sk->prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
daddr | 1154 | net/ipv4/tcp.c | if (addr->sin_addr.s_addr != sk->daddr) |
daddr | 1249 | net/ipv4/tcp.c | sin->sin_addr.s_addr=sk->daddr; |
daddr | 1542 | net/ipv4/tcp.c | sin->sin_addr.s_addr=sk->daddr; |
daddr | 1866 | net/ipv4/tcp.c | if(sk->daddr) |
daddr | 1890 | net/ipv4/tcp.c | sk->daddr = usin->sin_addr.s_addr; |
daddr | 1914 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 1985 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, |
daddr | 140 | net/ipv4/tcp_input.c | static inline struct sock * get_tcp_sock(u32 saddr, u16 sport, u32 daddr, u16 dport) |
daddr | 145 | net/ipv4/tcp_input.c | if (!sk || saddr != th_cache_saddr || daddr != th_cache_daddr || |
daddr | 147 | net/ipv4/tcp_input.c | sk = get_sock(&tcp_prot, dport, saddr, sport, daddr); |
daddr | 150 | net/ipv4/tcp_input.c | th_cache_daddr=daddr; |
daddr | 178 | net/ipv4/tcp_input.c | tcp_send_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
daddr | 319 | net/ipv4/tcp_input.c | u32 daddr, u32 saddr, struct options *opt, struct device *dev, u32 seq) |
daddr | 336 | net/ipv4/tcp_input.c | tcp_send_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
daddr | 387 | net/ipv4/tcp_input.c | if (ip_options_echo(sk->opt, opt, daddr, saddr, skb)) |
daddr | 455 | net/ipv4/tcp_input.c | newsk->daddr = saddr; |
daddr | 456 | net/ipv4/tcp_input.c | newsk->saddr = daddr; |
daddr | 457 | net/ipv4/tcp_input.c | newsk->rcv_saddr = daddr; |
daddr | 1442 | net/ipv4/tcp_input.c | tcp_send_reset(sk->saddr, sk->daddr, skb->h.th, |
daddr | 1592 | net/ipv4/tcp_input.c | __u32 daddr, unsigned short len, |
daddr | 1626 | net/ipv4/tcp_input.c | if (tcp_check(th, len, saddr, daddr, skb->csum)) |
daddr | 1631 | net/ipv4/tcp_input.c | sk = get_tcp_sock(saddr, th->source, daddr, th->dest); |
daddr | 1642 | net/ipv4/tcp_input.c | skb->saddr = daddr; |
daddr | 1643 | net/ipv4/tcp_input.c | skb->daddr = saddr; |
daddr | 1702 | net/ipv4/tcp_input.c | tcp_send_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
daddr | 1711 | net/ipv4/tcp_input.c | if(th->rst || !th->syn || th->ack || ip_chk_addr(daddr)!=IS_MYADDR) |
daddr | 1721 | net/ipv4/tcp_input.c | tcp_conn_request(sk, skb, daddr, saddr, opt, dev, tcp_init_seq()); |
daddr | 1765 | net/ipv4/tcp_input.c | tcp_send_reset(daddr, saddr, th, |
daddr | 1777 | net/ipv4/tcp_input.c | tcp_send_reset(daddr, saddr, th, |
daddr | 1813 | net/ipv4/tcp_input.c | if(sk->saddr==saddr && sk->daddr==daddr && |
daddr | 1862 | net/ipv4/tcp_input.c | sk=get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
daddr | 1868 | net/ipv4/tcp_input.c | tcp_conn_request(sk, skb, daddr, saddr,opt, dev,seq+128000); |
daddr | 1899 | net/ipv4/tcp_input.c | tcp_send_reset(daddr,saddr,th, &tcp_prot, opt, dev, skb->ip_hdr->tos, 255); |
daddr | 1918 | net/ipv4/tcp_input.c | tcp_send_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
daddr | 1962 | net/ipv4/tcp_input.c | tcp_send_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
daddr | 126 | net/ipv4/tcp_output.c | tcp_send_check(th, sk->saddr, sk->daddr, size, skb); |
daddr | 293 | net/ipv4/tcp_output.c | tcp_send_check(th, sk->saddr, sk->daddr, size, skb); |
daddr | 386 | net/ipv4/tcp_output.c | rt = ip_check_route(&sk->ip_route_cache, opt->srr?opt->faddr:iph->daddr, skb->localroute); |
daddr | 417 | net/ipv4/tcp_output.c | printk("tcp_do_retransmit: hh miss %08x via %08x\n", iph->daddr, rt->rt_gateway); |
daddr | 441 | net/ipv4/tcp_output.c | tcp_send_check(th, sk->saddr, sk->daddr, size, skb); |
daddr | 499 | net/ipv4/tcp_output.c | void tcp_send_reset(unsigned long saddr, unsigned long daddr, struct tcphdr *th, |
daddr | 532 | net/ipv4/tcp_output.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
daddr | 566 | net/ipv4/tcp_output.c | tcp_send_check(t1, saddr, daddr, sizeof(*t1), buff); |
daddr | 605 | net/ipv4/tcp_output.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
daddr | 642 | net/ipv4/tcp_output.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), buff); |
daddr | 693 | net/ipv4/tcp_output.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
daddr | 738 | net/ipv4/tcp_output.c | tcp_send_check(t1, newsk->saddr, newsk->daddr, sizeof(*t1)+4, buff); |
daddr | 851 | net/ipv4/tcp_output.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 870 | net/ipv4/tcp_output.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), buff); |
daddr | 962 | net/ipv4/tcp_output.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 1010 | net/ipv4/tcp_output.c | tcp_send_check(nth, sk->saddr, sk->daddr, |
daddr | 1028 | net/ipv4/tcp_output.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 1048 | net/ipv4/tcp_output.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), buff); |
daddr | 152 | net/ipv4/udp.c | void udp_err(int type, int code, unsigned char *header, __u32 daddr, |
daddr | 164 | net/ipv4/udp.c | sk = get_sock(&udp_prot, uh->source, daddr, uh->dest, saddr); |
daddr | 209 | net/ipv4/udp.c | static unsigned short udp_check(struct udphdr *uh, int len, unsigned long saddr, unsigned long daddr, unsigned long base) |
daddr | 211 | net/ipv4/udp.c | return(csum_tcpudp_magic(saddr, daddr, len, IPPROTO_UDP, base)); |
daddr | 217 | net/ipv4/udp.c | __u32 daddr; |
daddr | 253 | net/ipv4/udp.c | ufh->uh.check = csum_tcpudp_magic(saddr, ufh->daddr, |
daddr | 313 | net/ipv4/udp.c | ufh.daddr = sin->sin_addr.s_addr; |
daddr | 368 | net/ipv4/udp.c | sin.sin_addr.s_addr = sk->daddr; |
daddr | 537 | net/ipv4/udp.c | sin->sin_addr.s_addr = skb->daddr; |
daddr | 565 | net/ipv4/udp.c | sk->daddr = usin->sin_addr.s_addr; |
daddr | 622 | net/ipv4/udp.c | __u32 daddr, unsigned short len, |
daddr | 645 | net/ipv4/udp.c | if(!dev || dev->pa_addr!=daddr) |
daddr | 646 | net/ipv4/udp.c | addr_type=ip_chk_addr(daddr); |
daddr | 678 | net/ipv4/udp.c | ( (skb->ip_summed == CHECKSUM_HW) && udp_check(uh, len, saddr, daddr, skb->csum ) ) || |
daddr | 679 | net/ipv4/udp.c | ( (skb->ip_summed == CHECKSUM_NONE) && udp_check(uh, len, saddr, daddr,csum_partial((char*)uh, len, 0))) |
daddr | 692 | net/ipv4/udp.c | ntohl(daddr),ntohs(uh->dest), |
daddr | 703 | net/ipv4/udp.c | skb->daddr = saddr; |
daddr | 704 | net/ipv4/udp.c | skb->saddr = daddr; |
daddr | 719 | net/ipv4/udp.c | saddr, uh->source, daddr); |
daddr | 726 | net/ipv4/udp.c | sknext=get_sock_mcast(sk->next, uh->dest, saddr, uh->source, daddr); |
daddr | 742 | net/ipv4/udp.c | if(saddr==uh_cache_saddr && daddr==uh_cache_daddr && uh->dest==uh_cache_dport && uh->source==uh_cache_sport) |
daddr | 746 | net/ipv4/udp.c | sk = get_sock(&udp_prot, uh->dest, saddr, uh->source, daddr); |
daddr | 748 | net/ipv4/udp.c | uh_cache_daddr=daddr; |
daddr | 78 | net/netrom/nr_dev.c | void *daddr, void *saddr, unsigned len) |
daddr | 88 | net/netrom/nr_dev.c | if (daddr != NULL) |
daddr | 89 | net/netrom/nr_dev.c | memcpy(buff, daddr, dev->addr_len); |
daddr | 103 | net/netrom/nr_dev.c | if (daddr != NULL) |