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 | 393 | drivers/net/arcnet.c | daddr; /* Destination address */ |
daddr | 413 | drivers/net/arcnet.c | daddr, /* Destination address */ |
daddr | 493 | drivers/net/arcnet.c | char *data,int length,int daddr,int exceptA); |
daddr | 501 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
daddr | 503 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
daddr | 505 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
daddr | 513 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len, |
daddr | 516 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len, |
daddr | 520 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len); |
daddr | 522 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len); |
daddr | 1348 | drivers/net/arcnet.c | out->hdr->daddr,1); |
daddr | 1453 | drivers/net/arcnet.c | out->data,out->seglen,out->hdr->daddr,1); |
daddr | 1466 | drivers/net/arcnet.c | char *data,int length,int daddr,int exceptA) |
daddr | 1486 | drivers/net/arcnet.c | arcpacket->hardheader.destination=daddr; |
daddr | 1540 | drivers/net/arcnet.c | daddr,length); |
daddr | 1560 | drivers/net/arcnet.c | lp->outgoing.lastload_dest=daddr; |
daddr | 1637 | drivers/net/arcnet.c | u_char *arcsoft,daddr; |
daddr | 1663 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination=0; |
daddr | 1665 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination= |
daddr | 1699 | drivers/net/arcnet.c | daddr,length); |
daddr | 1719 | drivers/net/arcnet.c | lp->outgoing.lastload_dest=daddr; |
daddr | 1872 | drivers/net/arcnet.c | hdr->daddr,0); |
daddr | 2147 | drivers/net/arcnet.c | u_char daddr,saddr; |
daddr | 2150 | drivers/net/arcnet.c | daddr=arcpacket->hardheader.destination; |
daddr | 2178 | drivers/net/arcnet.c | saddr,daddr,length); |
daddr | 2187 | drivers/net/arcnet.c | arcnetA_rx(lp->adev,arcsoft,length,saddr,daddr); |
daddr | 2190 | drivers/net/arcnet.c | arcnetE_rx(lp->edev,arcsoft,length,saddr,daddr); |
daddr | 2194 | drivers/net/arcnet.c | arcnetS_rx(lp->sdev,arcsoft,length,saddr,daddr); |
daddr | 2236 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
daddr | 2297 | drivers/net/arcnet.c | soft->daddr=daddr; |
daddr | 2490 | drivers/net/arcnet.c | soft->daddr=daddr; |
daddr | 2529 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
daddr | 2576 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
daddr | 2608 | drivers/net/arcnet.c | soft->daddr=daddr; |
daddr | 2680 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len, |
daddr | 2684 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len) |
daddr | 2698 | drivers/net/arcnet.c | daddr ? *(u_char*)daddr : -1, |
daddr | 2742 | drivers/net/arcnet.c | if(daddr) |
daddr | 2744 | drivers/net/arcnet.c | head->daddr=((u_char*)daddr)[0]; |
daddr | 2748 | drivers/net/arcnet.c | head->daddr=0; /* better fill one in anyway */ |
daddr | 2761 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len, |
daddr | 2765 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len) |
daddr | 2809 | drivers/net/arcnet.c | if(daddr) |
daddr | 2811 | drivers/net/arcnet.c | head->daddr=((u_char*)daddr)[0]; |
daddr | 2815 | drivers/net/arcnet.c | head->daddr=0; /* better fill one in anyway */ |
daddr | 2840 | drivers/net/arcnet.c | head->daddr=0; |
daddr | 2851 | drivers/net/arcnet.c | head->saddr,head->daddr,head->protocol_id); |
daddr | 2852 | drivers/net/arcnet.c | status=arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0; |
daddr | 2855 | drivers/net/arcnet.c | head->saddr,head->daddr,head->protocol_id); |
daddr | 2876 | drivers/net/arcnet.c | head->daddr=0; |
daddr | 2885 | drivers/net/arcnet.c | return arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0; |
daddr | 2910 | drivers/net/arcnet.c | if (head->daddr==0) |
daddr | 2915 | drivers/net/arcnet.c | if (head->daddr != dev->dev_addr[0]) |
daddr | 2954 | drivers/net/arcnet.c | if (head->daddr==0) |
daddr | 2959 | 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 | 37 | include/linux/etherdevice.h | extern void eth_header_cache(struct device *dev, struct sock *sk, unsigned long saddr, unsigned long daddr); |
daddr | 50 | include/linux/if_tr.h | unsigned char daddr[TR_ALEN]; /* destination address */ |
daddr | 108 | include/linux/ip.h | __u32 daddr; |
daddr | 156 | include/linux/netdevice.h | void *daddr, |
daddr | 170 | include/linux/netdevice.h | void (*header_cache)(struct device *dev, struct sock *sk, unsigned long saddr, unsigned long daddr); |
daddr | 200 | include/linux/netdevice.h | extern struct device *ip_dev_check(unsigned long daddr); |
daddr | 68 | include/linux/skbuff.h | unsigned long daddr; /* IP target address */ |
daddr | 32 | include/linux/trdevice.h | unsigned short type, void *daddr, |
daddr | 18 | include/net/arp.h | extern int arp_find_cache(unsigned char *dp, u32 daddr, struct device *dev); |
daddr | 29 | include/net/icmp.h | struct options *opt, __u32 daddr, |
daddr | 86 | include/net/ip.h | extern void ip_route_check(__u32 daddr); |
daddr | 87 | include/net/ip.h | extern int ip_send(struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr); |
daddr | 90 | include/net/ip.h | __u32 daddr, |
daddr | 97 | include/net/ip.h | __u32 daddr, __u32 saddr, |
daddr | 114 | include/net/ip.h | __u32 daddr, |
daddr | 140 | include/net/ip.h | extern void ip_options_build(struct sk_buff *skb, struct options *opt, __u32 daddr, __u32 saddr, int is_frag); |
daddr | 141 | 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 | 49 | include/net/route.h | extern struct rtable *ip_rt_route(__u32 daddr, struct options *opt, __u32 *src_addr); |
daddr | 50 | include/net/route.h | extern struct rtable *ip_rt_local(__u32 daddr, struct options *opt, __u32 *src_addr); |
daddr | 145 | include/net/sock.h | __u32 daddr; |
daddr | 286 | include/net/sock.h | __u32 daddr, |
daddr | 300 | 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 | 224 | net/ethernet/eth.c | void eth_header_cache(struct device *dev, struct sock *sk, unsigned long saddr, unsigned long daddr) |
daddr | 226 | net/ethernet/eth.c | int v=arp_find_cache(sk->ip_hcache_data, daddr, dev); |
daddr | 915 | net/ipv4/af_inet.c | sk->daddr = 0; |
daddr | 1099 | net/ipv4/af_inet.c | sin->sin_addr.s_addr = sk->daddr; |
daddr | 1332 | net/ipv4/af_inet.c | if (s->daddr) { |
daddr | 1333 | net/ipv4/af_inet.c | if (s->daddr != raddr) |
daddr | 1374 | net/ipv4/af_inet.c | if(s->daddr && s->daddr!=raddr) |
daddr | 1415 | net/ipv4/af_inet.c | if(s->daddr && s->daddr!=raddr) |
daddr | 1148 | net/ipv4/arp.c | int arp_find_cache(unsigned char *dp, u32 daddr, struct device *dev) |
daddr | 1158 | net/ipv4/arp.c | switch (ip_chk_addr(daddr)) |
daddr | 1171 | net/ipv4/arp.c | taddr=ntohl(daddr); |
daddr | 1189 | net/ipv4/arp.c | entry=arp_lookup(daddr, PROXY_NONE, dev->type); |
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 | 366 | net/ipv4/icmp.c | in_ntoa(iph->daddr)); |
daddr | 369 | net/ipv4/icmp.c | printk("ICMP: %s: Source Route Failed.\n", in_ntoa(iph->daddr)); |
daddr | 415 | net/ipv4/icmp.c | iph->daddr, iph->saddr, ipprot); |
daddr | 428 | 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 | 441 | net/ipv4/icmp.c | ip = iph->daddr; |
daddr | 509 | 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 | 516 | net/ipv4/icmp.c | if (ip_options_echo(&icmp_param.replyopts, NULL, daddr, saddr, skb)==0) |
daddr | 517 | net/ipv4/icmp.c | icmp_build_xmit(&icmp_param, daddr, saddr); |
daddr | 529 | 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 | 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 | 579 | 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 | 590 | net/ipv4/icmp.c | if (ip_options_echo(&icmp_param.replyopts, NULL, daddr, saddr, skb)==0) |
daddr | 591 | net/ipv4/icmp.c | icmp_build_xmit(&icmp_param, daddr, saddr); |
daddr | 596 | 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 | 606 | net/ipv4/icmp.c | __u32 daddr, unsigned short len, |
daddr | 642 | net/ipv4/icmp.c | if (daddr!=dev->pa_addr && ip_chk_addr(daddr) != IS_MYADDR) |
daddr | 660 | net/ipv4/icmp.c | daddr=dev->pa_addr; |
daddr | 665 | 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 | 215 | net/ipv4/ip_forward.c | if (dev == dev2 && !((iph->saddr^iph->daddr)&dev->pa_mask) && |
daddr | 363 | 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 | 661 | net/ipv4/ip_fw.c | ms->dst = iph->daddr; |
daddr | 766 | net/ipv4/ip_fw.c | unsigned long daddr, int len) |
daddr | 769 | net/ipv4/ip_fw.c | uh->check=csum_tcpudp_magic(saddr,daddr,len, |
daddr | 801 | net/ipv4/ip_fw.c | ntohl(iph->daddr), ntohs(portptr[1])); |
daddr | 806 | net/ipv4/ip_fw.c | iph->saddr == ms->src && iph->daddr == ms->dst && |
daddr | 829 | net/ipv4/ip_fw.c | ms->dst = iph->daddr; |
daddr | 849 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
daddr | 874 | net/ipv4/ip_fw.c | tcp_send_check(th,iph->saddr,iph->daddr,size,skb->sk); |
daddr | 912 | net/ipv4/ip_fw.c | ntohl(iph->daddr), ntohs(portptr[1])); |
daddr | 934 | net/ipv4/ip_fw.c | iph->daddr = ms->src; |
daddr | 949 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
daddr | 979 | net/ipv4/ip_fw.c | tcp_send_check((struct tcphdr *)portptr,iph->saddr,iph->daddr,size,skb_ptr->sk); |
daddr | 983 | 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(newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr); |
daddr | 113 | net/ipv4/ip_output.c | int ip_send(struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr) |
daddr | 131 | net/ipv4/ip_output.c | skb->raddr = daddr; /* next routing address */ |
daddr | 137 | net/ipv4/ip_output.c | static int ip_send_room(struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr) |
daddr | 151 | net/ipv4/ip_output.c | skb->raddr = daddr; /* next routing address */ |
daddr | 165 | net/ipv4/ip_output.c | int ip_build_header(struct sk_buff *skb, __u32 saddr, __u32 daddr, |
daddr | 173 | net/ipv4/ip_output.c | __u32 final_daddr = daddr; |
daddr | 176 | net/ipv4/ip_output.c | daddr = opt->faddr; |
daddr | 183 | net/ipv4/ip_output.c | if(MULTICAST(daddr) && *dev==NULL && skb->sk && *skb->sk->ip_mc_name) |
daddr | 189 | net/ipv4/ip_output.c | rt = ip_rt_local(daddr, NULL, &src); |
daddr | 191 | net/ipv4/ip_output.c | rt = ip_rt_route(daddr, NULL, &src); |
daddr | 203 | net/ipv4/ip_output.c | if (LOOPBACK(saddr) && !LOOPBACK(daddr)) |
daddr | 214 | net/ipv4/ip_output.c | rt = ip_rt_local(daddr, NULL, &src); |
daddr | 216 | net/ipv4/ip_output.c | rt = ip_rt_route(daddr, NULL, &src); |
daddr | 221 | net/ipv4/ip_output.c | if (LOOPBACK(saddr) && !LOOPBACK(daddr)) |
daddr | 237 | net/ipv4/ip_output.c | raddr = daddr; |
daddr | 281 | net/ipv4/ip_output.c | iph->daddr = daddr; |
daddr | 464 | net/ipv4/ip_output.c | if (MULTICAST(iph->daddr) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 468 | net/ipv4/ip_output.c | if(iph->daddr==IGMP_ALL_HOSTS || (dev->flags&IFF_ALLMULTI)) |
daddr | 477 | net/ipv4/ip_output.c | if(imc->multiaddr==iph->daddr) |
daddr | 495 | net/ipv4/ip_output.c | if((dev->flags&IFF_BROADCAST) && (iph->daddr==dev->pa_brdaddr||iph->daddr==0xFFFFFFFF) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 553 | net/ipv4/ip_output.c | __u32 daddr, |
daddr | 569 | net/ipv4/ip_output.c | __u32 true_daddr = daddr; |
daddr | 572 | net/ipv4/ip_output.c | daddr = opt->faddr; |
daddr | 577 | net/ipv4/ip_output.c | if(sk && MULTICAST(daddr) && *sk->ip_mc_name) |
daddr | 583 | net/ipv4/ip_output.c | if (sk->saddr && (!LOOPBACK(sk->saddr) || LOOPBACK(daddr))) |
daddr | 607 | net/ipv4/ip_output.c | daddr!=sk->ip_route_daddr || sk->ip_route_local!=local || |
daddr | 611 | net/ipv4/ip_output.c | rt = ip_rt_local(daddr, NULL, &saddr); |
daddr | 613 | net/ipv4/ip_output.c | rt = ip_rt_route(daddr, NULL, &saddr); |
daddr | 615 | net/ipv4/ip_output.c | sk->ip_route_daddr=daddr; |
daddr | 633 | net/ipv4/ip_output.c | rt->rt_dev->header_cache(rt->rt_dev,sk,saddr,daddr); |
daddr | 646 | net/ipv4/ip_output.c | if (sk->saddr && (!LOOPBACK(sk->saddr) || LOOPBACK(daddr))) |
daddr | 675 | net/ipv4/ip_output.c | if(length <= dev->mtu && !MULTICAST(daddr) && daddr!=0xFFFFFFFF && daddr!=dev->pa_brdaddr) |
daddr | 690 | net/ipv4/ip_output.c | skb->raddr=(rt&&rt->rt_gateway)?rt->rt_gateway:daddr; |
daddr | 717 | net/ipv4/ip_output.c | iph->daddr=daddr; |
daddr | 850 | net/ipv4/ip_output.c | skb->raddr = (rt&&rt->rt_gateway) ? rt->rt_gateway : daddr; |
daddr | 899 | net/ipv4/ip_output.c | if (MULTICAST(daddr)) |
daddr | 907 | net/ipv4/ip_output.c | iph->daddr = daddr; |
daddr | 949 | net/ipv4/ip_output.c | if (MULTICAST(daddr) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 960 | net/ipv4/ip_output.c | if(skb->daddr==IGMP_ALL_HOSTS || (dev->flags&IFF_ALLMULTI)) |
daddr | 967 | net/ipv4/ip_output.c | if(imc->multiaddr==daddr) |
daddr | 993 | net/ipv4/ip_output.c | if((dev->flags&IFF_BROADCAST) && (daddr==0xFFFFFFFF || daddr==dev->pa_brdaddr) && !(dev->flags&IFF_LOOPBACK)) |
daddr | 1050 | 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 | 1061 | 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 | 429 | net/ipv4/route.c | __u32 daddr, mask, gw; |
daddr | 460 | net/ipv4/route.c | daddr = (__u32) ((struct sockaddr_in *) &r->rt_dst)->sin_addr.s_addr; |
daddr | 489 | net/ipv4/route.c | if (bad_mask(mask, daddr)) |
daddr | 513 | net/ipv4/route.c | dev = ip_dev_check(daddr); |
daddr | 526 | net/ipv4/route.c | ip_rt_add(flags, daddr, mask, gw, dev, r->rt_mss, r->rt_window, r->rt_irtt, metric); |
daddr | 634 | net/ipv4/route.c | struct rtable * ip_rt_route(__u32 daddr, struct options *opt, __u32 *src_addr) |
daddr | 640 | net/ipv4/route.c | if (!((rt->rt_dst ^ daddr) & rt->rt_mask)) |
daddr | 648 | net/ipv4/route.c | (rt->rt_dev->pa_brdaddr == daddr)) |
daddr | 658 | net/ipv4/route.c | if (daddr == rt->rt_dev->pa_addr) { |
daddr | 668 | net/ipv4/route.c | struct rtable * ip_rt_local(__u32 daddr, struct options *opt, __u32 *src_addr) |
daddr | 680 | net/ipv4/route.c | if (!((rt->rt_dst ^ daddr) & rt->rt_mask)) |
daddr | 687 | net/ipv4/route.c | rt->rt_dev->pa_brdaddr == daddr) |
daddr | 694 | net/ipv4/route.c | if (daddr == rt->rt_dev->pa_addr) { |
daddr | 685 | net/ipv4/tcp.c | rt=ip_rt_local(iph->daddr,NULL,NULL); |
daddr | 687 | net/ipv4/tcp.c | rt=ip_rt_route(iph->daddr,NULL,NULL); |
daddr | 702 | net/ipv4/tcp.c | skb->raddr=iph->daddr; |
daddr | 724 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
daddr | 872 | net/ipv4/tcp.c | arp_destroy (sk->daddr, 0); |
daddr | 1040 | net/ipv4/tcp.c | void tcp_err(int type, int code, unsigned char *header, __u32 daddr, |
daddr | 1051 | net/ipv4/tcp.c | sk = get_sock(&tcp_prot, th->source, daddr, th->dest, saddr); |
daddr | 1306 | net/ipv4/tcp.c | unsigned long saddr, unsigned long daddr, unsigned long base) |
daddr | 1308 | net/ipv4/tcp.c | return csum_tcpudp_magic(saddr,daddr,len,IPPROTO_TCP,base); |
daddr | 1314 | net/ipv4/tcp.c | unsigned long daddr, int len, struct sock *sk) |
daddr | 1317 | net/ipv4/tcp.c | th->check = tcp_check(th, len, saddr, daddr, |
daddr | 1415 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
daddr | 1511 | net/ipv4/tcp.c | struct tcphdr *th, unsigned long daddr) |
daddr | 1555 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev, |
daddr | 1613 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, daddr, sizeof(*t1), sk); |
daddr | 1680 | net/ipv4/tcp.c | if (addr->sin_addr.s_addr != sk->daddr) |
daddr | 1924 | net/ipv4/tcp.c | tmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
daddr | 2040 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 2066 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
daddr | 2205 | net/ipv4/tcp.c | sin->sin_addr.s_addr=sk->daddr; |
daddr | 2451 | net/ipv4/tcp.c | sin->sin_addr.s_addr=sk->daddr; |
daddr | 2561 | net/ipv4/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
daddr | 2600 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
daddr | 2685 | net/ipv4/tcp.c | static void tcp_reset(unsigned long saddr, unsigned long daddr, struct tcphdr *th, |
daddr | 2717 | net/ipv4/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
daddr | 2759 | net/ipv4/tcp.c | tcp_send_check(t1, saddr, daddr, sizeof(*t1), NULL); |
daddr | 2862 | net/ipv4/tcp.c | unsigned long daddr, unsigned long saddr, |
daddr | 2885 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
daddr | 2930 | net/ipv4/tcp.c | if (ip_options_echo(sk->opt, opt, daddr, saddr, skb)) { |
daddr | 2992 | net/ipv4/tcp.c | newsk->daddr = saddr; |
daddr | 2993 | net/ipv4/tcp.c | newsk->saddr = daddr; |
daddr | 2994 | net/ipv4/tcp.c | newsk->rcv_saddr = daddr; |
daddr | 3039 | net/ipv4/tcp.c | if ((saddr ^ daddr) & default_mask(saddr)) |
daddr | 3041 | net/ipv4/tcp.c | if ((saddr ^ daddr) & dev->pa_mask) |
daddr | 3082 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
daddr | 3131 | net/ipv4/tcp.c | tcp_send_check(t1, daddr, saddr, sizeof(*t1)+4, newsk); |
daddr | 3288 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
daddr | 4074 | net/ipv4/tcp.c | tcp_reset(sk->saddr, sk->daddr, skb->h.th, |
daddr | 4478 | net/ipv4/tcp.c | if(sk->daddr) |
daddr | 4502 | net/ipv4/tcp.c | sk->daddr = usin->sin_addr.s_addr; |
daddr | 4526 | net/ipv4/tcp.c | rt=ip_rt_local(sk->daddr, NULL, sk->saddr ? NULL : &sk->saddr); |
daddr | 4528 | net/ipv4/tcp.c | rt=ip_rt_route(sk->daddr, NULL, sk->saddr ? NULL : &sk->saddr); |
daddr | 4540 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 4579 | net/ipv4/tcp.c | if ((sk->saddr ^ sk->daddr) & default_mask(sk->saddr)) |
daddr | 4581 | net/ipv4/tcp.c | if ((sk->saddr ^ sk->daddr) & dev->pa_mask) |
daddr | 4605 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, |
daddr | 4681 | net/ipv4/tcp.c | tcp_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
daddr | 4728 | net/ipv4/tcp.c | __u32 daddr, unsigned short len, |
daddr | 4748 | net/ipv4/tcp.c | if(saddr==th_cache_saddr && daddr==th_cache_daddr && th->dest==th_cache_dport && th->source==th_cache_sport) |
daddr | 4754 | net/ipv4/tcp.c | if(sk!=get_sock(&tcp_prot,th->dest, saddr, th->source, daddr)) |
daddr | 4759 | net/ipv4/tcp.c | sk = get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
daddr | 4761 | net/ipv4/tcp.c | th_cache_daddr=daddr; |
daddr | 4789 | net/ipv4/tcp.c | (skb->ip_summed && tcp_check(th, len, saddr, daddr, skb->csum ))|| |
daddr | 4790 | net/ipv4/tcp.c | (!skb->ip_summed && tcp_check(th, len, saddr, daddr, csum_partial((char *)th, len, 0))) |
daddr | 4809 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
daddr | 4821 | net/ipv4/tcp.c | skb->saddr = daddr; |
daddr | 4822 | net/ipv4/tcp.c | skb->daddr = saddr; |
daddr | 4839 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
daddr | 4878 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
daddr | 4887 | net/ipv4/tcp.c | if(th->rst || !th->syn || th->ack || ip_chk_addr(daddr)!=IS_MYADDR) |
daddr | 4898 | net/ipv4/tcp.c | tcp_conn_request(sk, skb, daddr, saddr, opt, dev, tcp_init_seq()); |
daddr | 4937 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, |
daddr | 4960 | net/ipv4/tcp.c | tcp_send_ack(sk->sent_seq,sk->acked_seq,sk,th,sk->daddr); |
daddr | 4983 | net/ipv4/tcp.c | if(sk->saddr==saddr && sk->daddr==daddr && |
daddr | 5029 | net/ipv4/tcp.c | sk=get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
daddr | 5035 | net/ipv4/tcp.c | tcp_conn_request(sk, skb, daddr, saddr,opt, dev,seq+128000); |
daddr | 5067 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th, &tcp_prot, opt, dev, skb->ip_hdr->tos, 255); |
daddr | 5084 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
daddr | 5223 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 5306 | net/ipv4/tcp.c | tcp_send_check(nth, sk->saddr, sk->daddr, |
daddr | 5323 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
daddr | 5351 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
daddr | 150 | net/ipv4/timer.c | arp_destroy (sk->daddr, 0); |
daddr | 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 | 563 | net/ipv4/udp.c | sk->daddr = usin->sin_addr.s_addr; |
daddr | 591 | net/ipv4/udp.c | __u32 daddr, unsigned short len, |
daddr | 599 | net/ipv4/udp.c | if(!dev || dev->pa_addr!=daddr) |
daddr | 600 | net/ipv4/udp.c | addr_type=ip_chk_addr(daddr); |
daddr | 632 | net/ipv4/udp.c | ( skb->ip_summed && udp_check(uh, len, saddr, daddr, skb->csum ) ) || |
daddr | 633 | net/ipv4/udp.c | ( !skb->ip_summed && udp_check(uh, len, saddr, daddr,csum_partial((char*)uh, len, 0))) |
daddr | 645 | net/ipv4/udp.c | ntohl(daddr),ntohs(uh->dest), |
daddr | 663 | net/ipv4/udp.c | saddr, uh->source, daddr); |
daddr | 670 | net/ipv4/udp.c | sknext=get_sock_mcast(sk->next, uh->dest, saddr, uh->source, daddr); |
daddr | 676 | net/ipv4/udp.c | udp_deliver(sk, uh, skb1, dev,saddr,daddr,len); |
daddr | 686 | net/ipv4/udp.c | if(saddr==uh_cache_saddr && daddr==uh_cache_daddr && uh->dest==uh_cache_dport && uh->source==uh_cache_sport) |
daddr | 690 | net/ipv4/udp.c | sk = get_sock(&udp_prot, uh->dest, saddr, uh->source, daddr); |
daddr | 692 | net/ipv4/udp.c | uh_cache_daddr=daddr; |
daddr | 713 | net/ipv4/udp.c | return udp_deliver(sk,uh,skb,dev, saddr, daddr, len); |
daddr | 716 | 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 | 726 | net/ipv4/udp.c | skb->daddr = saddr; |
daddr | 727 | 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) |