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 | 455 | drivers/net/arcnet.c | daddr; /* Destination address */ |
daddr | 475 | drivers/net/arcnet.c | daddr, /* Destination address */ |
daddr | 563 | drivers/net/arcnet.c | char *data,int length,int daddr,int exceptA); |
daddr | 571 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
daddr | 573 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
daddr | 575 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
daddr | 583 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len, |
daddr | 586 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len, |
daddr | 590 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len); |
daddr | 592 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len); |
daddr | 1422 | drivers/net/arcnet.c | out->hdr->daddr,1); |
daddr | 1493 | drivers/net/arcnet.c | u_char *arcsoft,daddr; |
daddr | 1529 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination=0; |
daddr | 1531 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination= |
daddr | 1563 | drivers/net/arcnet.c | daddr,length); |
daddr | 1583 | drivers/net/arcnet.c | lp->outgoing.lastload_dest=daddr; |
daddr | 1649 | drivers/net/arcnet.c | hdr->daddr,0); |
daddr | 1714 | drivers/net/arcnet.c | out->data,out->seglen,out->hdr->daddr,1); |
daddr | 1727 | drivers/net/arcnet.c | char *data,int length,int daddr,int exceptA) |
daddr | 1746 | drivers/net/arcnet.c | arcpacket->hardheader.destination=daddr; |
daddr | 1800 | drivers/net/arcnet.c | daddr,length); |
daddr | 1820 | drivers/net/arcnet.c | lp->outgoing.lastload_dest=daddr; |
daddr | 2174 | drivers/net/arcnet.c | u_char daddr,saddr; |
daddr | 2179 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination; |
daddr | 2206 | drivers/net/arcnet.c | saddr,daddr,length); |
daddr | 2215 | 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 | 2222 | drivers/net/arcnet.c | arcnetS_rx(lp->sdev,arcsoft,length,saddr,daddr); |
daddr | 2266 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
daddr | 2326 | drivers/net/arcnet.c | soft->daddr=daddr; |
daddr | 2523 | drivers/net/arcnet.c | soft->daddr=daddr; |
daddr | 2566 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
daddr | 2611 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
daddr | 2642 | drivers/net/arcnet.c | soft->daddr=daddr; |
daddr | 2713 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len, |
daddr | 2717 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len) |
daddr | 2730 | drivers/net/arcnet.c | daddr ? *(u_char*)daddr : -1, |
daddr | 2778 | drivers/net/arcnet.c | if(daddr) |
daddr | 2780 | drivers/net/arcnet.c | head->daddr=((u_char*)daddr)[0]; |
daddr | 2784 | drivers/net/arcnet.c | head->daddr=0; /* better fill one in anyway */ |
daddr | 2797 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len, |
daddr | 2801 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len) |
daddr | 2845 | drivers/net/arcnet.c | if(daddr) |
daddr | 2847 | drivers/net/arcnet.c | head->daddr=((u_char*)daddr)[0]; |
daddr | 2851 | drivers/net/arcnet.c | head->daddr=0; /* better fill one in anyway */ |
daddr | 2879 | drivers/net/arcnet.c | head->daddr=0; |
daddr | 2889 | drivers/net/arcnet.c | head->saddr,head->daddr,head->protocol_id); |
daddr | 2890 | drivers/net/arcnet.c | status=arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0; |
daddr | 2892 | drivers/net/arcnet.c | head->saddr,head->daddr,head->protocol_id); |
daddr | 2916 | drivers/net/arcnet.c | head->daddr=0; |
daddr | 2925 | drivers/net/arcnet.c | return arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0; |
daddr | 2950 | drivers/net/arcnet.c | if (head->daddr==0) |
daddr | 2955 | drivers/net/arcnet.c | if (head->daddr != dev->dev_addr[0]) |
daddr | 2994 | drivers/net/arcnet.c | if (head->daddr==0) |
daddr | 2999 | drivers/net/arcnet.c | if (head->daddr != dev->dev_addr[0]) |
daddr | 149 | drivers/net/eql.c | unsigned short type, void *daddr, void *saddr, |
daddr | 410 | 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 | 3233 | drivers/net/ppp.c | sk_buff *skb, void *saddr, void *daddr) |
daddr | 3239 | drivers/net/ppp.c | int subid, void *saddr, void *daddr, void *opt) |
daddr | 3283 | drivers/net/ppp.c | unsigned short type, void *daddr, void *saddr, |
daddr | 3287 | drivers/net/ppp.c | unsigned short type, void *daddr, |
daddr | 295 | drivers/net/slhc.c | && ip->daddr == cs->cs_ip.daddr |
daddr | 531 | drivers/net/slip.c | void *daddr, void *saddr, unsigned len) |
daddr | 538 | drivers/net/slip.c | return ax25_encapsulate(skb, dev, type, daddr, saddr, len); |
daddr | 109 | drivers/net/tunnel.c | ipaddr=(unsigned char *)&ip->daddr; |
daddr | 191 | drivers/net/tunnel.c | if ( iph->daddr == dev->pa_addr ) |
daddr | 231 | drivers/net/tunnel.c | iph->daddr = dev->pa_dstaddr; |
daddr | 250 | 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 | 11 | include/asm-sparc/ipsum.h | extern inline unsigned short udp_check(struct udphdr *uh, int len, u32 saddr, u32 daddr) |
daddr | 20 | include/asm-sparc/ipsum.h | extern inline unsigned short tcp_check(struct tcphdr *th, int len, u32 saddr, u32 daddr) |
daddr | 32 | include/linux/etherdevice.h | unsigned short type, void *daddr, |
daddr | 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 | 168 | include/linux/netdevice.h | void *daddr, |
daddr | 183 | include/linux/netdevice.h | void (*header_cache_bind)(struct hh_cache **hhp, struct device *dev, unsigned short htype, __u32 daddr); |
daddr | 214 | include/linux/netdevice.h | extern struct device *ip_dev_check(unsigned long daddr); |
daddr | 68 | include/linux/skbuff.h | unsigned long daddr; /* IP target address */ |
daddr | 32 | include/linux/trdevice.h | unsigned short type, void *daddr, |
daddr | 15 | include/net/arp.h | extern int arp_bind_cache(struct hh_cache ** hhp, struct device *dev, unsigned short type, __u32 daddr); |
daddr | 29 | include/net/icmp.h | struct options *opt, __u32 daddr, |
daddr | 87 | include/net/ip.h | extern void ip_route_check(__u32 daddr); |
daddr | 88 | 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 | 91 | include/net/ip.h | __u32 daddr, |
daddr | 98 | include/net/ip.h | __u32 daddr, __u32 saddr, |
daddr | 115 | include/net/ip.h | __u32 daddr, |
daddr | 141 | include/net/ip.h | extern void ip_options_build(struct sk_buff *skb, struct options *opt, __u32 daddr, __u32 saddr, int is_frag); |
daddr | 142 | 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 | 33 | include/net/protocol.h | struct options *opt, __u32 daddr, |
daddr | 37 | include/net/protocol.h | __u32 daddr, |
daddr | 24 | include/net/raw.h | extern void raw_err(int type, int code, unsigned char *header, __u32 daddr, |
daddr | 142 | include/net/route.h | extern struct rtable *ip_rt_slow_route(__u32 daddr, int local); |
daddr | 188 | include/net/route.h | extern __inline__ struct rtable * ip_rt_route(__u32 daddr, int local) |
daddr | 195 | include/net/route.h | for (rth=ip_rt_hash_table[ip_rt_hash_code(daddr)^local]; rth; rth=rth->rt_next) |
daddr | 197 | include/net/route.h | if (rth->rt_dst == daddr) |
daddr | 206 | include/net/route.h | return ip_rt_slow_route (daddr, local); |
daddr | 213 | include/net/route.h | __u32 daddr, int local) |
daddr | 217 | include/net/route.h | if (!rt || rt->rt_dst != daddr || !(rt->rt_flags&RTF_UP) |
daddr | 221 | include/net/route.h | rt = ip_rt_route(daddr, local); |
daddr | 146 | include/net/sock.h | __u32 daddr; |
daddr | 274 | include/net/sock.h | __u32 daddr, |
daddr | 288 | include/net/sock.h | struct options *opt, __u32 daddr, |
daddr | 126 | include/net/tcp.h | extern void tcp_err(int type, int code, unsigned char *header, __u32 daddr, |
daddr | 130 | include/net/tcp.h | struct options *opt, __u32 daddr, |
daddr | 138 | include/net/tcp.h | unsigned long daddr, int len, struct sock *sk); |
daddr | 34 | include/net/udp.h | extern void udp_err(int type, int code, unsigned char *header, __u32 daddr, |
daddr | 37 | include/net/udp.h | __u32 daddr, int len, struct sock *sk); |
daddr | 46 | include/net/udp.h | struct options *opt, __u32 daddr, |
daddr | 42 | net/802/tr.c | void *daddr, void *saddr, unsigned len) |
daddr | 62 | net/802/tr.c | if(daddr) { |
daddr | 63 | net/802/tr.c | memcpy(trh->daddr,daddr,dev->addr_len); |
daddr | 82 | net/802/tr.c | if(arp_find(trh->daddr, dest, dev, dev->pa_addr, skb)) { |
daddr | 103 | net/802/tr.c | if(*trh->daddr & 1) |
daddr | 105 | net/802/tr.c | if(!memcmp(trh->daddr,dev->broadcast,TR_ALEN)) |
daddr | 113 | net/802/tr.c | if(memcmp(trh->daddr, dev->dev_addr, TR_ALEN)) |
daddr | 129 | net/802/tr.c | if(!memcmp(&(trh->daddr[0]),&(dev->broadcast[0]),TR_ALEN)) { |
daddr | 135 | net/802/tr.c | for(i=0,hash=0;i<TR_ALEN;hash+=trh->daddr[i++]); |
daddr | 137 | net/802/tr.c | for(entry=rif_table[hash];entry && memcmp(&(entry->addr[0]),&(trh->daddr[0]),TR_ALEN);entry=entry->next); |
daddr | 141 | net/802/tr.c | printk("source routing for %02X %02X %02X %02X %02X %02X\n",trh->daddr[0], |
daddr | 142 | net/802/tr.c | trh->daddr[1],trh->daddr[2],trh->daddr[3],trh->daddr[4],trh->daddr[5]); |
daddr | 2207 | net/ax25/af_ax25.c | int ax25_encapsulate(struct sk_buff *skb, struct device *dev, unsigned short type, void *daddr, |
daddr | 2215 | net/ax25/af_ax25.c | if (daddr != NULL) |
daddr | 2216 | net/ax25/af_ax25.c | memcpy(buff, daddr, dev->addr_len); /* Address specified */ |
daddr | 2249 | net/ax25/af_ax25.c | if (daddr != NULL) |
daddr | 629 | net/core/skbuff.c | n->daddr=skb->daddr; |
daddr | 557 | 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 | 916 | net/ipv4/af_inet.c | sk->daddr = 0; |
daddr | 1101 | net/ipv4/af_inet.c | sin->sin_addr.s_addr = sk->daddr; |
daddr | 1337 | net/ipv4/af_inet.c | if (s->daddr) { |
daddr | 1338 | net/ipv4/af_inet.c | if (s->daddr != raddr) |
daddr | 1379 | net/ipv4/af_inet.c | if(s->daddr && s->daddr!=raddr) |
daddr | 1420 | 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("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 | 214 | net/ipv4/igmp.c | __u32 daddr, unsigned short len, __u32 saddr, int redo, |
daddr | 240 | net/ipv4/igmp.c | if(ih->type==IGMP_HOST_MEMBERSHIP_QUERY && daddr==IGMP_ALL_HOSTS) |
daddr | 242 | net/ipv4/igmp.c | if(ih->type==IGMP_HOST_MEMBERSHIP_REPORT && daddr==ih->group) |
daddr | 42 | net/ipv4/ip_forward.c | static void ip_encap(struct sk_buff *skb, int len, struct device *out, __u32 daddr) |
daddr | 56 | net/ipv4/ip_forward.c | iph->daddr = daddr; |
daddr | 66 | net/ipv4/ip_forward.c | skb->raddr=daddr; |
daddr | 208 | net/ipv4/ip_forward.c | if (dev == dev2 && !((iph->saddr^iph->daddr)&dev->pa_mask) && |
daddr | 370 | 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 | 209 | net/ipv4/ip_fw.c | dst = ip->daddr; |
daddr | 256 | net/ipv4/ip_fw.c | dst = ip->daddr; |
daddr | 309 | net/ipv4/ip_fw.c | dprint_ip(ip->daddr); |
daddr | 454 | net/ipv4/ip_fw.c | print_ip(ip->daddr); |
daddr | 676 | net/ipv4/ip_fw.c | ms->dst = iph->daddr; |
daddr | 781 | net/ipv4/ip_fw.c | unsigned long daddr, int len) |
daddr | 784 | net/ipv4/ip_fw.c | uh->check=csum_tcpudp_magic(saddr,daddr,len, |
daddr | 816 | net/ipv4/ip_fw.c | ntohl(iph->daddr), ntohs(portptr[1])); |
daddr | 821 | net/ipv4/ip_fw.c | iph->saddr == ms->src && iph->daddr == ms->dst && |
daddr | 844 | net/ipv4/ip_fw.c | ms->dst = iph->daddr; |
daddr | 864 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
daddr | 889 | net/ipv4/ip_fw.c | tcp_send_check(th,iph->saddr,iph->daddr,size,skb->sk); |
daddr | 927 | net/ipv4/ip_fw.c | ntohl(iph->daddr), ntohs(portptr[1])); |
daddr | 949 | net/ipv4/ip_fw.c | iph->daddr = ms->src; |
daddr | 964 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
daddr | 994 | net/ipv4/ip_fw.c | tcp_send_check((struct tcphdr *)portptr,iph->saddr,iph->daddr,size,skb_ptr->sk); |
daddr | 998 | net/ipv4/ip_fw.c | printk("I-routed to %lX:%X\n",ntohl(iph->daddr),ntohs(portptr[1])); |
daddr | 316 | net/ipv4/ip_input.c | if ( iph->daddr == skb->dev->pa_addr || (brd = ip_chk_addr(iph->daddr)) != 0) |
daddr | 374 | net/ipv4/ip_input.c | if(!(dev->flags&IFF_ALLMULTI) && brd==IS_MULTICAST && iph->daddr!=IGMP_ALL_HOSTS && !(dev->flags&IFF_LOOPBACK)) |
daddr | 387 | net/ipv4/ip_input.c | if(ip_mc->multiaddr==iph->daddr) |
daddr | 402 | net/ipv4/ip_input.c | if (ip_forward(skb, dev, is_frag|4, iph->daddr)) |
daddr | 442 | net/ipv4/ip_input.c | if(brd==IS_MULTICAST && (iph->daddr&htonl(0xFFFFFF00))!=htonl(0xE0000000)) |
daddr | 462 | net/ipv4/ip_input.c | raw_sk=get_sock_raw(raw_sk, iph->protocol, iph->saddr, iph->daddr); |
daddr | 468 | net/ipv4/ip_input.c | sknext=get_sock_raw(raw_sk->next, iph->protocol, iph->saddr, iph->daddr); |
daddr | 474 | net/ipv4/ip_input.c | raw_rcv(raw_sk, skb1, dev, iph->saddr,iph->daddr); |
daddr | 529 | net/ipv4/ip_input.c | ipprot->handler(skb2, dev, opt, iph->daddr, |
daddr | 566 | net/ipv4/ip_input.c | raw_rcv(raw_sk, skb, dev, iph->saddr, iph->daddr); |
daddr | 602 | 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 | 79 | net/ipv4/ip_output.c | newskb->daddr=skb->daddr; |
daddr | 89 | net/ipv4/ip_output.c | ip_send(NULL,newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr); |
daddr | 113 | 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 | 132 | net/ipv4/ip_output.c | printk("ip_send: hh miss %08x via %08x\n", daddr, rt->rt_gateway); |
daddr | 135 | net/ipv4/ip_output.c | skb->raddr = daddr; |
daddr | 143 | net/ipv4/ip_output.c | skb->raddr = daddr; /* next routing address */ |
daddr | 149 | 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 | 164 | net/ipv4/ip_output.c | printk("ip_send_room: hh miss %08x via %08x\n", daddr, rt->rt_gateway); |
daddr | 167 | net/ipv4/ip_output.c | skb->raddr = daddr; |
daddr | 175 | net/ipv4/ip_output.c | skb->raddr = daddr; /* next routing address */ |
daddr | 189 | net/ipv4/ip_output.c | int ip_build_header(struct sk_buff *skb, __u32 saddr, __u32 daddr, |
daddr | 197 | net/ipv4/ip_output.c | __u32 final_daddr = daddr; |
daddr | 201 | net/ipv4/ip_output.c | daddr = opt->faddr; |
daddr | 208 | net/ipv4/ip_output.c | if(MULTICAST(daddr) && *dev==NULL && skb->sk && *skb->sk->ip_mc_name) |
daddr | 213 | net/ipv4/ip_output.c | rt = ip_check_route(rp, daddr, skb->localroute); |
daddr | 222 | net/ipv4/ip_output.c | rt = ip_rt_route(daddr, skb->localroute); |
daddr | 236 | net/ipv4/ip_output.c | if ((LOOPBACK(saddr) && !LOOPBACK(daddr)) || !saddr) |
daddr | 253 | net/ipv4/ip_output.c | raddr = daddr; |
daddr | 299 | net/ipv4/ip_output.c | iph->daddr = daddr; |
daddr | 477 | net/ipv4/ip_output.c | if (MULTICAST(iph->daddr) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 481 | net/ipv4/ip_output.c | if(iph->daddr==IGMP_ALL_HOSTS || (dev->flags&IFF_ALLMULTI)) |
daddr | 490 | net/ipv4/ip_output.c | if(imc->multiaddr==iph->daddr) |
daddr | 508 | net/ipv4/ip_output.c | if((dev->flags&IFF_BROADCAST) && (iph->daddr==dev->pa_brdaddr||iph->daddr==0xFFFFFFFF) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 566 | net/ipv4/ip_output.c | __u32 daddr, |
daddr | 583 | net/ipv4/ip_output.c | __u32 true_daddr = daddr; |
daddr | 586 | net/ipv4/ip_output.c | daddr = opt->faddr; |
daddr | 591 | net/ipv4/ip_output.c | if(sk && MULTICAST(daddr) && *sk->ip_mc_name) |
daddr | 597 | net/ipv4/ip_output.c | if (sk->saddr && (!LOOPBACK(sk->saddr) || LOOPBACK(daddr))) |
daddr | 605 | net/ipv4/ip_output.c | rt = ip_check_route(&sk->ip_route_cache, daddr, |
daddr | 617 | net/ipv4/ip_output.c | if (sk->saddr && (!LOOPBACK(sk->saddr) || LOOPBACK(daddr))) |
daddr | 629 | net/ipv4/ip_output.c | raddr = rt ? rt->rt_gateway : daddr; |
daddr | 643 | net/ipv4/ip_output.c | if(length <= dev->mtu && !MULTICAST(daddr) && daddr!=0xFFFFFFFF && daddr!=dev->pa_brdaddr) |
daddr | 692 | net/ipv4/ip_output.c | iph->daddr=daddr; |
daddr | 881 | net/ipv4/ip_output.c | if (MULTICAST(daddr)) |
daddr | 889 | net/ipv4/ip_output.c | iph->daddr = daddr; |
daddr | 931 | net/ipv4/ip_output.c | if (MULTICAST(daddr) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 942 | net/ipv4/ip_output.c | if(skb->daddr==IGMP_ALL_HOSTS || (dev->flags&IFF_ALLMULTI)) |
daddr | 949 | net/ipv4/ip_output.c | if(imc->multiaddr==daddr) |
daddr | 975 | net/ipv4/ip_output.c | if((dev->flags&IFF_BROADCAST) && (daddr==0xFFFFFFFF || daddr==dev->pa_brdaddr) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 1032 | 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 | 312 | net/ipv4/ipmr.c | cache->mfc_mcastgrp=skb->ip_hdr->daddr; |
daddr | 712 | net/ipv4/ipmr.c | skb->raddr=skb->h.iph->daddr; |
daddr | 736 | 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 | 78 | net/ipv4/raw.c | void raw_err (int type, int code, unsigned char *header, __u32 daddr, |
daddr | 118 | net/ipv4/raw.c | int raw_rcv(struct sock *sk, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr) |
daddr | 126 | net/ipv4/raw.c | skb->saddr = daddr; |
daddr | 127 | net/ipv4/raw.c | skb->daddr = saddr; |
daddr | 213 | net/ipv4/raw.c | sin.sin_addr.s_addr = sk->daddr; |
daddr | 328 | net/ipv4/raw.c | sin->sin_addr.s_addr = skb->daddr; |
daddr | 988 | net/ipv4/route.c | __u32 daddr = rt->rt_dst; |
daddr | 1000 | net/ipv4/route.c | printk("rt_kick_free_queue: %08x is free\n", daddr); |
daddr | 1370 | net/ipv4/route.c | __u32 daddr = rth->rt_dst; |
daddr | 1387 | net/ipv4/route.c | if (rth->rt_gateway != daddr) |
daddr | 1417 | net/ipv4/route.c | printk("rt_cache @%02x: %08x", hash, daddr); |
daddr | 1437 | net/ipv4/route.c | || rth->rt_dst == daddr) |
daddr | 1462 | net/ipv4/route.c | struct rtable * ip_rt_slow_route (__u32 daddr, int local) |
daddr | 1464 | net/ipv4/route.c | unsigned hash = ip_rt_hash_code(daddr)^local; |
daddr | 1471 | net/ipv4/route.c | printk("rt_cache miss @%08x\n", daddr); |
daddr | 1482 | net/ipv4/route.c | f = fib_lookup_local(daddr); |
daddr | 1484 | net/ipv4/route.c | f = fib_lookup (daddr); |
daddr | 1495 | net/ipv4/route.c | printk("rt_route failed @%08x\n", daddr); |
daddr | 1504 | net/ipv4/route.c | if (daddr == fi->fib_dev->pa_addr) |
daddr | 1521 | net/ipv4/route.c | rth->rt_dst = daddr; |
daddr | 1547 | net/ipv4/route.c | printk("rt_cache: route to %08x was born dead\n", daddr); |
daddr | 1561 | net/ipv4/route.c | struct rtable * ip_rt_route(__u32 daddr, int local) |
daddr | 1567 | net/ipv4/route.c | for (rth=ip_rt_hash_table[ip_rt_hash_code(daddr)^local]; rth; rth=rth->rt_next) |
daddr | 1569 | net/ipv4/route.c | if (rth->rt_dst == daddr) |
daddr | 1578 | net/ipv4/route.c | return ip_rt_slow_route (daddr, local); |
daddr | 1593 | net/ipv4/route.c | __u32 daddr, mask, gw; |
daddr | 1624 | net/ipv4/route.c | daddr = (__u32) ((struct sockaddr_in *) &r->rt_dst)->sin_addr.s_addr; |
daddr | 1653 | net/ipv4/route.c | if (bad_mask(mask, daddr)) |
daddr | 1677 | net/ipv4/route.c | dev = ip_dev_check(daddr); |
daddr | 1690 | net/ipv4/route.c | rt_add(flags, daddr, mask, gw, dev, r->rt_mss, r->rt_window, r->rt_irtt, metric); |
daddr | 685 | net/ipv4/tcp.c | rt = ip_check_route(&sk->ip_route_cache, opt->srr?opt->faddr:iph->daddr, skb->localroute); |
daddr | 716 | net/ipv4/tcp.c | printk("tcp_do_retransmit: hh miss %08x via %08x\n", iph->daddr, rt->rt_gateway); |
daddr | 739 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
daddr | 1054 | net/ipv4/tcp.c | void tcp_err(int type, int code, unsigned char *header, __u32 daddr, |
daddr | 1067 | net/ipv4/tcp.c | sk = get_sock(&tcp_prot, th->source, daddr, th->dest, saddr); |
daddr | 1343 | net/ipv4/tcp.c | unsigned long saddr, unsigned long daddr, unsigned long base) |
daddr | 1345 | net/ipv4/tcp.c | return csum_tcpudp_magic(saddr,daddr,len,IPPROTO_TCP,base); |
daddr | 1351 | net/ipv4/tcp.c | unsigned long daddr, int len, struct sock *sk) |
daddr | 1354 | net/ipv4/tcp.c | th->check = tcp_check(th, len, saddr, daddr, |
daddr | 1452 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
daddr | 1548 | net/ipv4/tcp.c | struct tcphdr *th, unsigned long daddr) |
daddr | 1592 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev, |
daddr | 1650 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, daddr, sizeof(*t1), sk); |
daddr | 1717 | net/ipv4/tcp.c | if (addr->sin_addr.s_addr != sk->daddr) |
daddr | 1978 | net/ipv4/tcp.c | tmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
daddr | 2097 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 2123 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
daddr | 2262 | net/ipv4/tcp.c | sin->sin_addr.s_addr=sk->daddr; |
daddr | 2508 | net/ipv4/tcp.c | sin->sin_addr.s_addr=sk->daddr; |
daddr | 2618 | net/ipv4/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
daddr | 2657 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
daddr | 2742 | net/ipv4/tcp.c | static void tcp_reset(unsigned long saddr, unsigned long daddr, struct tcphdr *th, |
daddr | 2774 | net/ipv4/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
daddr | 2816 | net/ipv4/tcp.c | tcp_send_check(t1, saddr, daddr, sizeof(*t1), NULL); |
daddr | 2919 | net/ipv4/tcp.c | unsigned long daddr, unsigned long saddr, |
daddr | 2942 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
daddr | 2988 | net/ipv4/tcp.c | if (ip_options_echo(sk->opt, opt, daddr, saddr, skb)) { |
daddr | 3050 | net/ipv4/tcp.c | newsk->daddr = saddr; |
daddr | 3051 | net/ipv4/tcp.c | newsk->saddr = daddr; |
daddr | 3052 | net/ipv4/tcp.c | newsk->rcv_saddr = daddr; |
daddr | 3146 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
daddr | 3195 | net/ipv4/tcp.c | tcp_send_check(t1, daddr, saddr, sizeof(*t1)+4, newsk); |
daddr | 3359 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
daddr | 4145 | net/ipv4/tcp.c | tcp_reset(sk->saddr, sk->daddr, skb->h.th, |
daddr | 4549 | net/ipv4/tcp.c | if(sk->daddr) |
daddr | 4573 | net/ipv4/tcp.c | sk->daddr = usin->sin_addr.s_addr; |
daddr | 4596 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 4671 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, |
daddr | 4747 | net/ipv4/tcp.c | tcp_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
daddr | 4794 | net/ipv4/tcp.c | __u32 daddr, unsigned short len, |
daddr | 4814 | net/ipv4/tcp.c | if(saddr==th_cache_saddr && daddr==th_cache_daddr && th->dest==th_cache_dport && th->source==th_cache_sport) |
daddr | 4820 | net/ipv4/tcp.c | if(sk!=get_sock(&tcp_prot,th->dest, saddr, th->source, daddr)) |
daddr | 4825 | net/ipv4/tcp.c | sk = get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
daddr | 4827 | net/ipv4/tcp.c | th_cache_daddr=daddr; |
daddr | 4855 | net/ipv4/tcp.c | (skb->ip_summed && tcp_check(th, len, saddr, daddr, skb->csum ))|| |
daddr | 4856 | net/ipv4/tcp.c | (!skb->ip_summed && tcp_check(th, len, saddr, daddr, csum_partial((char *)th, len, 0))) |
daddr | 4875 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
daddr | 4887 | net/ipv4/tcp.c | skb->saddr = daddr; |
daddr | 4888 | net/ipv4/tcp.c | skb->daddr = saddr; |
daddr | 4905 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
daddr | 4944 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
daddr | 4953 | net/ipv4/tcp.c | if(th->rst || !th->syn || th->ack || ip_chk_addr(daddr)!=IS_MYADDR) |
daddr | 4964 | net/ipv4/tcp.c | tcp_conn_request(sk, skb, daddr, saddr, opt, dev, tcp_init_seq()); |
daddr | 5003 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, |
daddr | 5026 | net/ipv4/tcp.c | tcp_send_ack(sk->sent_seq,sk->acked_seq,sk,th,sk->daddr); |
daddr | 5049 | net/ipv4/tcp.c | if(sk->saddr==saddr && sk->daddr==daddr && |
daddr | 5095 | net/ipv4/tcp.c | sk=get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
daddr | 5101 | net/ipv4/tcp.c | tcp_conn_request(sk, skb, daddr, saddr,opt, dev,seq+128000); |
daddr | 5133 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th, &tcp_prot, opt, dev, skb->ip_hdr->tos, 255); |
daddr | 5150 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
daddr | 5289 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 5372 | net/ipv4/tcp.c | tcp_send_check(nth, sk->saddr, sk->daddr, |
daddr | 5389 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 5417 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
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 | 205 | net/ipv4/udp.c | static unsigned short udp_check(struct udphdr *uh, int len, unsigned long saddr, unsigned long daddr, unsigned long base) |
daddr | 207 | net/ipv4/udp.c | return(csum_tcpudp_magic(saddr, daddr, len, IPPROTO_UDP, base)); |
daddr | 213 | net/ipv4/udp.c | int daddr; |
daddr | 249 | net/ipv4/udp.c | ufh->uh.check = csum_tcpudp_magic(saddr, ufh->daddr, |
daddr | 309 | net/ipv4/udp.c | ufh.daddr = sin->sin_addr.s_addr; |
daddr | 364 | net/ipv4/udp.c | sin.sin_addr.s_addr = sk->daddr; |
daddr | 533 | net/ipv4/udp.c | sin->sin_addr.s_addr = skb->daddr; |
daddr | 562 | net/ipv4/udp.c | sk->daddr = usin->sin_addr.s_addr; |
daddr | 589 | net/ipv4/udp.c | __u32 daddr, unsigned short len, |
daddr | 597 | net/ipv4/udp.c | if(!dev || dev->pa_addr!=daddr) |
daddr | 598 | net/ipv4/udp.c | addr_type=ip_chk_addr(daddr); |
daddr | 630 | net/ipv4/udp.c | ( skb->ip_summed && udp_check(uh, len, saddr, daddr, skb->csum ) ) || |
daddr | 631 | net/ipv4/udp.c | ( !skb->ip_summed && udp_check(uh, len, saddr, daddr,csum_partial((char*)uh, len, 0))) |
daddr | 643 | net/ipv4/udp.c | ntohl(daddr),ntohs(uh->dest), |
daddr | 661 | net/ipv4/udp.c | saddr, uh->source, daddr); |
daddr | 668 | net/ipv4/udp.c | sknext=get_sock_mcast(sk->next, uh->dest, saddr, uh->source, daddr); |
daddr | 674 | net/ipv4/udp.c | udp_deliver(sk, uh, skb1, dev,saddr,daddr,len); |
daddr | 684 | net/ipv4/udp.c | if(saddr==uh_cache_saddr && daddr==uh_cache_daddr && uh->dest==uh_cache_dport && uh->source==uh_cache_sport) |
daddr | 688 | net/ipv4/udp.c | sk = get_sock(&udp_prot, uh->dest, saddr, uh->source, daddr); |
daddr | 690 | net/ipv4/udp.c | uh_cache_daddr=daddr; |
daddr | 711 | net/ipv4/udp.c | return udp_deliver(sk,uh,skb,dev, saddr, daddr, len); |
daddr | 714 | 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 | 724 | net/ipv4/udp.c | skb->daddr = saddr; |
daddr | 725 | 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) |