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 | 1445 | arch/sparc/mm/srmmu.c | daddr = &(dest); \ |
daddr | 1446 | arch/sparc/mm/srmmu.c | *iaddr = SPARC_BRANCH((unsigned long) daddr, (unsigned long) iaddr); \ |
daddr | 1451 | arch/sparc/mm/srmmu.c | unsigned long *iaddr, *daddr; |
daddr | 1038 | drivers/isdn/isdn_net.c | void *daddr, void *saddr, unsigned len) |
daddr | 1070 | drivers/isdn/isdn_net.c | if(daddr) { |
daddr | 1071 | drivers/isdn/isdn_net.c | memcpy(eth->h_dest,daddr,dev->addr_len); |
daddr | 1085 | drivers/isdn/isdn_net.c | void *daddr, void *saddr, unsigned plen) |
daddr | 1092 | drivers/isdn/isdn_net.c | len = my_eth_header(skb, dev, type, daddr, saddr, plen); |
daddr | 492 | drivers/net/arcnet.c | daddr; /* Destination address */ |
daddr | 512 | drivers/net/arcnet.c | daddr, /* Destination address */ |
daddr | 611 | drivers/net/arcnet.c | char *data,int length,int daddr,int exceptA); |
daddr | 619 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
daddr | 624 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len); |
daddr | 634 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
daddr | 642 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
daddr | 644 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len); |
daddr | 1614 | drivers/net/arcnet.c | out->hdr->daddr,1); |
daddr | 1719 | drivers/net/arcnet.c | out->data,out->seglen,out->hdr->daddr,1); |
daddr | 1732 | drivers/net/arcnet.c | char *data,int length,int daddr,int exceptA) |
daddr | 1757 | drivers/net/arcnet.c | arcpacket->hardheader.destination=daddr; |
daddr | 1820 | drivers/net/arcnet.c | daddr,length); |
daddr | 1823 | drivers/net/arcnet.c | lp->lastload_dest=daddr; |
daddr | 2172 | drivers/net/arcnet.c | u_char daddr,saddr; |
daddr | 2177 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination; |
daddr | 2204 | drivers/net/arcnet.c | saddr,daddr,length); |
daddr | 2214 | drivers/net/arcnet.c | arcnetA_rx(lp->adev,arcsoft,length,saddr,daddr); |
daddr | 2218 | drivers/net/arcnet.c | arcnetE_rx(lp->edev,arcsoft,length,saddr,daddr); |
daddr | 2224 | drivers/net/arcnet.c | arcnetS_rx(lp->sdev,arcsoft,length,saddr,daddr); |
daddr | 2257 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
daddr | 2316 | drivers/net/arcnet.c | soft->daddr=daddr; |
daddr | 2501 | drivers/net/arcnet.c | soft->daddr=daddr; |
daddr | 2577 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len) |
daddr | 2585 | drivers/net/arcnet.c | daddr ? *(u_char*)daddr : -1, |
daddr | 2633 | drivers/net/arcnet.c | if(daddr) |
daddr | 2635 | drivers/net/arcnet.c | head->daddr=((u_char*)daddr)[0]; |
daddr | 2639 | drivers/net/arcnet.c | head->daddr=0; /* better fill one in anyway */ |
daddr | 2667 | drivers/net/arcnet.c | head->daddr=0; |
daddr | 2677 | drivers/net/arcnet.c | head->saddr,head->daddr,head->protocol_id); |
daddr | 2678 | drivers/net/arcnet.c | status=arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0; |
daddr | 2680 | drivers/net/arcnet.c | head->saddr,head->daddr,head->protocol_id); |
daddr | 2702 | drivers/net/arcnet.c | if (head->daddr==0) |
daddr | 2707 | drivers/net/arcnet.c | if (head->daddr != dev->dev_addr[0]) |
daddr | 2769 | drivers/net/arcnet.c | u_char *arcsoft,daddr; |
daddr | 2806 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination=0; |
daddr | 2808 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination= |
daddr | 2840 | drivers/net/arcnet.c | daddr,length); |
daddr | 2844 | drivers/net/arcnet.c | lp->lastload_dest=daddr; |
daddr | 2871 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
daddr | 2963 | drivers/net/arcnet.c | hdr->daddr,0); |
daddr | 3000 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
daddr | 3031 | drivers/net/arcnet.c | soft->daddr=daddr; |
daddr | 3050 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len) |
daddr | 3089 | drivers/net/arcnet.c | if(daddr) |
daddr | 3091 | drivers/net/arcnet.c | head->daddr=((u_char*)daddr)[0]; |
daddr | 3095 | drivers/net/arcnet.c | head->daddr=0; /* better fill one in anyway */ |
daddr | 3121 | drivers/net/arcnet.c | head->daddr=0; |
daddr | 3130 | drivers/net/arcnet.c | return arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0; |
daddr | 3151 | drivers/net/arcnet.c | if (head->daddr==0) |
daddr | 3156 | 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 | 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 | 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 | 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 | __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 | 83 | 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 | 52 | include/net/ip_masq.h | __u32 saddr, daddr, maddr; /* src, dst & masq addresses */ |
daddr | 91 | 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 | 127 | include/net/tcp.h | extern void tcp_err(int type, int code, unsigned char *header, __u32 daddr, |
daddr | 131 | include/net/tcp.h | struct options *opt, __u32 daddr, |
daddr | 143 | include/net/tcp.h | unsigned long daddr, int len, struct sk_buff *skb); |
daddr | 155 | include/net/tcp.h | extern void tcp_send_reset(unsigned long saddr, unsigned long daddr, struct tcphdr *th, |
daddr | 279 | include/net/tcp.h | unsigned long saddr, unsigned long daddr, unsigned long base) |
daddr | 281 | 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 | 2486 | net/ax25/af_ax25.c | int ax25_encapsulate(struct sk_buff *skb, struct device *dev, unsigned short type, void *daddr, |
daddr | 2494 | net/ax25/af_ax25.c | if (daddr != NULL) |
daddr | 2495 | net/ax25/af_ax25.c | memcpy(buff, daddr, dev->addr_len); /* Address specified */ |
daddr | 2529 | net/ax25/af_ax25.c | if (daddr != NULL) |
daddr | 807 | 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 | 152 | net/ipv4/icmp.c | void (*handler)(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len); |
daddr | 232 | net/ipv4/icmp.c | static void icmp_build_xmit(struct icmp_bxm *icmp_param, __u32 saddr, __u32 daddr) |
daddr | 240 | net/ipv4/icmp.c | daddr, saddr, &icmp_param->replyopts, 0, IPPROTO_ICMP, 1); |
daddr | 279 | net/ipv4/icmp.c | atype=ip_chk_addr(iph->daddr); |
daddr | 317 | net/ipv4/icmp.c | saddr=iph->daddr; |
daddr | 340 | 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 | 368 | net/ipv4/icmp.c | in_ntoa(iph->daddr)); |
daddr | 423 | net/ipv4/icmp.c | printk(KERN_INFO "ICMP: %s: Source Route Failed.\n", in_ntoa(iph->daddr)); |
daddr | 469 | net/ipv4/icmp.c | iph->daddr, iph->saddr, ipprot); |
daddr | 482 | 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 | 492 | net/ipv4/icmp.c | ip = iph->daddr; |
daddr | 554 | 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 | 561 | net/ipv4/icmp.c | if (ip_options_echo(&icmp_param.replyopts, NULL, daddr, saddr, skb)==0) |
daddr | 562 | net/ipv4/icmp.c | icmp_build_xmit(&icmp_param, daddr, saddr); |
daddr | 574 | 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 | 606 | net/ipv4/icmp.c | if (ip_options_echo(&icmp_param.replyopts, NULL, daddr, saddr, skb)==0) |
daddr | 607 | net/ipv4/icmp.c | icmp_build_xmit(&icmp_param, daddr, saddr); |
daddr | 624 | 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 | 635 | net/ipv4/icmp.c | if (ip_options_echo(&icmp_param.replyopts, NULL, daddr, saddr, skb)==0) |
daddr | 636 | net/ipv4/icmp.c | icmp_build_xmit(&icmp_param, daddr, saddr); |
daddr | 641 | 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 | 651 | net/ipv4/icmp.c | __u32 daddr, unsigned short len, |
daddr | 687 | net/ipv4/icmp.c | if (daddr!=dev->pa_addr && ip_chk_addr(daddr) != IS_MYADDR) |
daddr | 705 | net/ipv4/icmp.c | daddr=dev->pa_addr; |
daddr | 710 | 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 | 205 | net/ipv4/ip_masq.c | d_addr = iph->daddr; |
daddr | 211 | net/ipv4/ip_masq.c | (s_addr==ms->daddr || ms->flags & IP_MASQ_F_NO_DADDR) && |
daddr | 238 | net/ipv4/ip_masq.c | d_addr = iph->daddr; |
daddr | 245 | net/ipv4/ip_masq.c | d_addr == ms->daddr && d_port == ms->dport ) |
daddr | 301 | 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 | 330 | net/ipv4/ip_masq.c | ms->daddr = daddr; |
daddr | 401 | net/ipv4/ip_masq.c | __u32 daddr, int len) |
daddr | 404 | net/ipv4/ip_masq.c | uh->check=csum_tcpudp_magic(saddr,daddr,len, |
daddr | 435 | net/ipv4/ip_masq.c | ntohl(iph->daddr), ntohs(portptr[1])); |
daddr | 450 | net/ipv4/ip_masq.c | iph->daddr, portptr[1], |
daddr | 489 | net/ipv4/ip_masq.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
daddr | 507 | net/ipv4/ip_masq.c | tcp_send_check(th,iph->saddr,iph->daddr,size,skb); |
daddr | 557 | net/ipv4/ip_masq.c | ntohl(iph->daddr), ntohs(portptr[1])); |
daddr | 583 | net/ipv4/ip_masq.c | ms->daddr = iph->saddr; |
daddr | 586 | net/ipv4/ip_masq.c | ntohs(ms->daddr)); |
daddr | 590 | net/ipv4/ip_masq.c | iph->daddr = ms->saddr; |
daddr | 614 | net/ipv4/ip_masq.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
daddr | 619 | net/ipv4/ip_masq.c | tcp_send_check((struct tcphdr *)portptr,iph->saddr,iph->daddr,size,skb); |
daddr | 623 | net/ipv4/ip_masq.c | printk("I-routed to %lX:%X\n",ntohl(iph->daddr),ntohs(portptr[1])); |
daddr | 659 | net/ipv4/ip_masq.c | ntohl(ms->daddr),ntohs(ms->dport), |
daddr | 109 | 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 | 82 | net/ipv4/ip_output.c | newskb->daddr=skb->daddr; |
daddr | 92 | net/ipv4/ip_output.c | ip_send(NULL,newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr); |
daddr | 116 | 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 | 136 | net/ipv4/ip_output.c | printk("ip_send: hh miss %08x via %08x\n", daddr, rt->rt_gateway); |
daddr | 139 | net/ipv4/ip_output.c | skb->raddr = daddr; |
daddr | 147 | net/ipv4/ip_output.c | skb->raddr = daddr; /* next routing address */ |
daddr | 153 | 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 | 169 | net/ipv4/ip_output.c | printk("ip_send_room: hh miss %08x via %08x\n", daddr, rt->rt_gateway); |
daddr | 172 | net/ipv4/ip_output.c | skb->raddr = daddr; |
daddr | 180 | net/ipv4/ip_output.c | skb->raddr = daddr; /* next routing address */ |
daddr | 194 | net/ipv4/ip_output.c | int ip_build_header(struct sk_buff *skb, __u32 saddr, __u32 daddr, |
daddr | 202 | net/ipv4/ip_output.c | __u32 final_daddr = daddr; |
daddr | 206 | net/ipv4/ip_output.c | daddr = opt->faddr; |
daddr | 213 | net/ipv4/ip_output.c | if(MULTICAST(daddr) && *dev==NULL && skb->sk && *skb->sk->ip_mc_name) |
daddr | 218 | net/ipv4/ip_output.c | rt = ip_check_route(rp, daddr, skb->localroute); |
daddr | 227 | net/ipv4/ip_output.c | rt = ip_rt_route(daddr, skb->localroute); |
daddr | 241 | net/ipv4/ip_output.c | if ((LOOPBACK(saddr) && !LOOPBACK(daddr)) || !saddr) |
daddr | 244 | net/ipv4/ip_output.c | raddr = rt ? rt->rt_gateway : daddr; |
daddr | 297 | net/ipv4/ip_output.c | iph->daddr = daddr; |
daddr | 475 | net/ipv4/ip_output.c | if (MULTICAST(iph->daddr) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 479 | net/ipv4/ip_output.c | if(iph->daddr==IGMP_ALL_HOSTS || (dev->flags&IFF_ALLMULTI)) |
daddr | 488 | net/ipv4/ip_output.c | if(imc->multiaddr==iph->daddr) |
daddr | 506 | net/ipv4/ip_output.c | if((dev->flags&IFF_BROADCAST) && (iph->daddr==dev->pa_brdaddr||iph->daddr==0xFFFFFFFF) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 564 | net/ipv4/ip_output.c | __u32 daddr, |
daddr | 581 | net/ipv4/ip_output.c | __u32 true_daddr = daddr; |
daddr | 584 | net/ipv4/ip_output.c | daddr = opt->faddr; |
daddr | 589 | net/ipv4/ip_output.c | if(sk && MULTICAST(daddr) && *sk->ip_mc_name) |
daddr | 595 | net/ipv4/ip_output.c | if (sk->saddr && (!LOOPBACK(sk->saddr) || LOOPBACK(daddr))) |
daddr | 603 | net/ipv4/ip_output.c | rt = ip_check_route(&sk->ip_route_cache, daddr, |
daddr | 615 | net/ipv4/ip_output.c | if (sk->saddr && (!LOOPBACK(sk->saddr) || LOOPBACK(daddr))) |
daddr | 627 | net/ipv4/ip_output.c | raddr = rt ? rt->rt_gateway : daddr; |
daddr | 641 | net/ipv4/ip_output.c | if(length <= dev->mtu && !MULTICAST(daddr) && daddr!=0xFFFFFFFF && daddr!=dev->pa_brdaddr) |
daddr | 691 | net/ipv4/ip_output.c | iph->daddr=daddr; |
daddr | 880 | net/ipv4/ip_output.c | if (MULTICAST(daddr)) |
daddr | 888 | net/ipv4/ip_output.c | iph->daddr = daddr; |
daddr | 930 | net/ipv4/ip_output.c | if (MULTICAST(daddr) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 941 | net/ipv4/ip_output.c | if(skb->daddr==IGMP_ALL_HOSTS || (dev->flags&IFF_ALLMULTI)) |
daddr | 948 | net/ipv4/ip_output.c | if(imc->multiaddr==daddr) |
daddr | 974 | net/ipv4/ip_output.c | if((dev->flags&IFF_BROADCAST) && (daddr==0xFFFFFFFF || daddr==dev->pa_brdaddr) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 1031 | 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 | 1043 | 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 | 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 | 224 | net/ipv4/raw.c | sin.sin_addr.s_addr = sk->daddr; |
daddr | 344 | 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 | 524 | net/ipv4/tcp.c | void tcp_err(int type, int code, unsigned char *header, __u32 daddr, |
daddr | 537 | net/ipv4/tcp.c | sk = get_sock(&tcp_prot, th->source, daddr, th->dest, saddr); |
daddr | 818 | net/ipv4/tcp.c | unsigned long daddr, int len, struct sk_buff *skb) |
daddr | 824 | net/ipv4/tcp.c | th->check = tcp_check(th, len, saddr, daddr, |
daddr | 830 | net/ipv4/tcp.c | th->check = tcp_check(th, len, saddr, daddr, |
daddr | 1107 | net/ipv4/tcp.c | tmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
daddr | 1184 | net/ipv4/tcp.c | if (addr->sin_addr.s_addr != sk->daddr) |
daddr | 1279 | net/ipv4/tcp.c | sin->sin_addr.s_addr=sk->daddr; |
daddr | 1572 | net/ipv4/tcp.c | sin->sin_addr.s_addr=sk->daddr; |
daddr | 1879 | net/ipv4/tcp.c | if(sk->daddr) |
daddr | 1903 | net/ipv4/tcp.c | sk->daddr = usin->sin_addr.s_addr; |
daddr | 1927 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 1998 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, |
daddr | 134 | net/ipv4/tcp_input.c | static inline struct sock * get_tcp_sock(u32 saddr, u16 sport, u32 daddr, u16 dport) |
daddr | 139 | net/ipv4/tcp_input.c | if (!sk || saddr != th_cache_saddr || daddr != th_cache_daddr || |
daddr | 141 | net/ipv4/tcp_input.c | sk = get_sock(&tcp_prot, dport, saddr, sport, daddr); |
daddr | 144 | net/ipv4/tcp_input.c | th_cache_daddr=daddr; |
daddr | 172 | 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 | 449 | net/ipv4/tcp_input.c | newsk->daddr = saddr; |
daddr | 450 | net/ipv4/tcp_input.c | newsk->saddr = daddr; |
daddr | 451 | net/ipv4/tcp_input.c | newsk->rcv_saddr = daddr; |
daddr | 1404 | net/ipv4/tcp_input.c | tcp_send_reset(sk->saddr, sk->daddr, skb->h.th, |
daddr | 1554 | net/ipv4/tcp_input.c | __u32 daddr, unsigned short len, |
daddr | 1588 | net/ipv4/tcp_input.c | if (tcp_check(th, len, saddr, daddr, skb->csum)) |
daddr | 1593 | net/ipv4/tcp_input.c | sk = get_tcp_sock(saddr, th->source, daddr, th->dest); |
daddr | 1604 | net/ipv4/tcp_input.c | skb->saddr = daddr; |
daddr | 1605 | net/ipv4/tcp_input.c | skb->daddr = saddr; |
daddr | 1664 | net/ipv4/tcp_input.c | tcp_send_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
daddr | 1673 | net/ipv4/tcp_input.c | if(th->rst || !th->syn || th->ack || ip_chk_addr(daddr)!=IS_MYADDR) |
daddr | 1683 | net/ipv4/tcp_input.c | tcp_conn_request(sk, skb, daddr, saddr, opt, dev, tcp_init_seq()); |
daddr | 1727 | net/ipv4/tcp_input.c | tcp_send_reset(daddr, saddr, th, |
daddr | 1739 | net/ipv4/tcp_input.c | tcp_send_reset(daddr, saddr, th, |
daddr | 1775 | net/ipv4/tcp_input.c | if(sk->saddr==saddr && sk->daddr==daddr && |
daddr | 1824 | net/ipv4/tcp_input.c | sk=get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
daddr | 1830 | net/ipv4/tcp_input.c | tcp_conn_request(sk, skb, daddr, saddr,opt, dev,seq+128000); |
daddr | 1861 | net/ipv4/tcp_input.c | tcp_send_reset(daddr,saddr,th, &tcp_prot, opt, dev, skb->ip_hdr->tos, 255); |
daddr | 1880 | net/ipv4/tcp_input.c | tcp_send_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
daddr | 1924 | 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 | 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 | 592 | net/ipv4/udp.c | __u32 daddr, unsigned short len, |
daddr | 600 | net/ipv4/udp.c | if(!dev || dev->pa_addr!=daddr) |
daddr | 601 | net/ipv4/udp.c | addr_type=ip_chk_addr(daddr); |
daddr | 633 | net/ipv4/udp.c | ( (skb->ip_summed == CHECKSUM_HW) && udp_check(uh, len, saddr, daddr, skb->csum ) ) || |
daddr | 634 | net/ipv4/udp.c | ( (skb->ip_summed == CHECKSUM_NONE) && udp_check(uh, len, saddr, daddr,csum_partial((char*)uh, len, 0))) |
daddr | 647 | net/ipv4/udp.c | ntohl(daddr),ntohs(uh->dest), |
daddr | 665 | net/ipv4/udp.c | saddr, uh->source, daddr); |
daddr | 672 | net/ipv4/udp.c | sknext=get_sock_mcast(sk->next, uh->dest, saddr, uh->source, daddr); |
daddr | 678 | net/ipv4/udp.c | udp_deliver(sk, uh, skb1, dev,saddr,daddr,len); |
daddr | 688 | net/ipv4/udp.c | if(saddr==uh_cache_saddr && daddr==uh_cache_daddr && uh->dest==uh_cache_dport && uh->source==uh_cache_sport) |
daddr | 692 | net/ipv4/udp.c | sk = get_sock(&udp_prot, uh->dest, saddr, uh->source, daddr); |
daddr | 694 | net/ipv4/udp.c | uh_cache_daddr=daddr; |
daddr | 715 | net/ipv4/udp.c | return udp_deliver(sk,uh,skb,dev, saddr, daddr, len); |
daddr | 718 | 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 | 728 | net/ipv4/udp.c | skb->daddr = saddr; |
daddr | 729 | 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) |