tag | line | file | source code |
saddr | 29 | arch/alpha/lib/checksum.c | unsigned short int csum_tcpudp_magic(unsigned long saddr, |
saddr | 35 | arch/alpha/lib/checksum.c | return ~from64to16(saddr + daddr + sum + |
saddr | 349 | drivers/net/arcnet.c | u_char saddr, /* Source address - needed for IPX */ |
saddr | 436 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
saddr | 438 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
saddr | 446 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len, |
saddr | 450 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len); |
saddr | 1807 | drivers/net/arcnet.c | u_char daddr,saddr; |
saddr | 1809 | drivers/net/arcnet.c | saddr=arcpacket->hardheader.source; |
saddr | 1813 | drivers/net/arcnet.c | if (saddr==0) |
saddr | 1838 | drivers/net/arcnet.c | saddr,daddr,length); |
saddr | 1848 | drivers/net/arcnet.c | length,saddr,daddr); |
saddr | 1851 | drivers/net/arcnet.c | arcnetE_rx(dev,arcsoft,length,saddr,daddr); |
saddr | 1893 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
saddr | 1919 | drivers/net/arcnet.c | struct Incoming *in=&lp->incoming[saddr]; |
saddr | 1952 | drivers/net/arcnet.c | soft->saddr=saddr; |
saddr | 1973 | drivers/net/arcnet.c | saddr); |
saddr | 1974 | drivers/net/arcnet.c | *cptr=saddr; |
saddr | 2027 | drivers/net/arcnet.c | struct Incoming *in=&lp->incoming[saddr]; |
saddr | 2145 | drivers/net/arcnet.c | soft->saddr=saddr; |
saddr | 2183 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
saddr | 2273 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len, |
saddr | 2277 | drivers/net/arcnet.c | unsigned short type,void *daddr,void *saddr,unsigned len) |
saddr | 2320 | drivers/net/arcnet.c | if(saddr) |
saddr | 2321 | drivers/net/arcnet.c | head->saddr=((u_char*)saddr)[0]; |
saddr | 2323 | drivers/net/arcnet.c | head->saddr=((u_char*)(dev->dev_addr))[0]; |
saddr | 153 | drivers/net/eql.c | unsigned short type, void *daddr, void *saddr, |
saddr | 418 | drivers/net/eql.c | unsigned short type, void *daddr, void *saddr, |
saddr | 1100 | drivers/net/ibmtr.c | if(!(trhdr->saddr[0] & 0x80)) { |
saddr | 1187 | drivers/net/ibmtr.c | llc->ssap,llc->dsap,trhdr->saddr[0],trhdr->saddr[1],trhdr->saddr[2],trhdr->saddr[3],trhdr->saddr[4],trhdr->saddr[5], |
saddr | 1079 | drivers/net/pi2.c | void *daddr, void *saddr, unsigned len) |
saddr | 1081 | drivers/net/pi2.c | return ax25_encapsulate(skb, dev, type, daddr, saddr, len); |
saddr | 122 | drivers/net/ppp.c | unsigned long saddr, unsigned len); |
saddr | 1148 | drivers/net/ppp.c | iph->saddr, iph->daddr, count)) |
saddr | 1817 | drivers/net/ppp.c | dev->name, (int) proto, (int) len, (int) iph->saddr, |
saddr | 1869 | drivers/net/ppp.c | unsigned long daddr, unsigned long saddr, unsigned len) |
saddr | 1889 | drivers/net/ppp.c | void *daddr, void *saddr, unsigned len) |
saddr | 297 | drivers/net/slhc.c | if( ip->saddr == cs->cs_ip.saddr |
saddr | 534 | drivers/net/slip.c | void *daddr, void *saddr, unsigned len) |
saddr | 541 | drivers/net/slip.c | return ax25_encapsulate(skb, dev, type, daddr, saddr, len); |
saddr | 111 | drivers/net/tunnel.c | ipaddr=(unsigned char *)&ip->saddr; |
saddr | 185 | drivers/net/tunnel.c | if ( iph->protocol == IPPROTO_IPIP && iph->saddr == dev->pa_addr ) |
saddr | 235 | drivers/net/tunnel.c | iph->saddr = dev->pa_addr; |
saddr | 15 | include/asm-alpha/checksum.h | extern unsigned short int csum_tcpudp_magic(unsigned long saddr, |
saddr | 7 | include/asm-alpha/ipsum.h | extern inline unsigned short udp_check(struct udphdr *uh, int len, u32 saddr, u32 daddr) |
saddr | 16 | include/asm-alpha/ipsum.h | extern inline unsigned short tcp_check(struct tcphdr *th, int len, u32 saddr, u32 daddr) |
saddr | 81 | include/asm-i386/checksum.h | static inline unsigned short int csum_tcpudp_magic(unsigned long saddr, |
saddr | 97 | include/asm-i386/checksum.h | : "=&r" (sum), "=&r" (saddr) |
saddr | 98 | include/asm-i386/checksum.h | : "0" (daddr), "1"(saddr), "r"((ntohs(len)<<16)+proto*256), "r"(sum)); |
saddr | 11 | include/asm-sparc/ipsum.h | extern inline unsigned short udp_check(struct udphdr *uh, int len, u32 saddr, u32 daddr) |
saddr | 20 | include/asm-sparc/ipsum.h | extern inline unsigned short tcp_check(struct tcphdr *th, int len, u32 saddr, u32 daddr) |
saddr | 33 | include/linux/etherdevice.h | void *saddr, unsigned len); |
saddr | 37 | include/linux/etherdevice.h | extern void eth_header_cache(struct device *dev, struct sock *sk, unsigned long saddr, unsigned long daddr); |
saddr | 51 | include/linux/if_tr.h | unsigned char saddr[TR_ALEN]; /* source address */ |
saddr | 91 | include/linux/ip.h | __u32 saddr; |
saddr | 155 | include/linux/netdevice.h | void *saddr, |
saddr | 168 | include/linux/netdevice.h | void (*header_cache)(struct device *dev, struct sock *sk, unsigned long saddr, unsigned long daddr); |
saddr | 67 | include/linux/skbuff.h | unsigned long saddr; /* IP source address */ |
saddr | 33 | include/linux/trdevice.h | void *saddr, unsigned len); |
saddr | 12 | include/net/arp.h | struct device *dev, u32 saddr, struct sk_buff *skb); |
saddr | 30 | include/net/icmp.h | unsigned short len, __u32 saddr, |
saddr | 81 | include/net/ip.h | __u32 saddr, |
saddr | 2 | include/net/ipip.h | __u32 daddr, unsigned short len, __u32 saddr, |
saddr | 34 | include/net/protocol.h | unsigned short len, __u32 saddr, |
saddr | 38 | include/net/protocol.h | __u32 saddr, |
saddr | 25 | include/net/raw.h | __u32 saddr, struct inet_protocol *protocol); |
saddr | 131 | include/net/sock.h | __u32 saddr; |
saddr | 264 | include/net/sock.h | __u32 saddr, |
saddr | 280 | include/net/sock.h | unsigned short len, __u32 saddr, |
saddr | 131 | include/net/tcp.h | unsigned short len, __u32 saddr, int redo, |
saddr | 137 | include/net/tcp.h | extern void tcp_send_check(struct tcphdr *th, unsigned long saddr, |
saddr | 35 | include/net/udp.h | __u32 saddr, struct inet_protocol *protocol); |
saddr | 36 | include/net/udp.h | extern void udp_send_check(struct udphdr *uh, __u32 saddr, |
saddr | 47 | include/net/udp.h | unsigned short len, __u32 saddr, int redo, |
saddr | 42 | net/802/tr.c | void *daddr, void *saddr, unsigned len) |
saddr | 51 | net/802/tr.c | if(saddr) |
saddr | 52 | net/802/tr.c | memcpy(trh->saddr,saddr,dev->addr_len); |
saddr | 54 | net/802/tr.c | memset(trh->saddr,0,dev->addr_len); /* Adapter fills in address */ |
saddr | 100 | net/802/tr.c | if(trh->saddr[0] & TR_RII) |
saddr | 132 | net/802/tr.c | trh->saddr[0]|=TR_RII; |
saddr | 150 | net/802/tr.c | trh->saddr[0]|=TR_RII; |
saddr | 157 | net/802/tr.c | trh->saddr[0]|=TR_RII; |
saddr | 170 | net/802/tr.c | trh->saddr[0]&=0x7f; |
saddr | 171 | net/802/tr.c | for(i=0,hash=0;i<TR_ALEN;hash+=trh->saddr[i++]); |
saddr | 176 | net/802/tr.c | for(entry=rif_table[hash];entry && memcmp(&(entry->addr[0]),&(trh->saddr[0]),TR_ALEN);entry=entry->next); |
saddr | 181 | net/802/tr.c | trh->saddr[0],trh->saddr[1],trh->saddr[2], |
saddr | 182 | net/802/tr.c | trh->saddr[3],trh->saddr[4],trh->saddr[5], |
saddr | 192 | net/802/tr.c | memcpy(&(entry->addr[0]),&(trh->saddr[0]),TR_ALEN); |
saddr | 203 | net/802/tr.c | trh->saddr[0],trh->saddr[1],trh->saddr[2], |
saddr | 204 | net/802/tr.c | trh->saddr[3],trh->saddr[4],trh->saddr[5], |
saddr | 2227 | net/ax25/af_ax25.c | void *saddr, unsigned len) |
saddr | 2242 | net/ax25/af_ax25.c | if (saddr != NULL) |
saddr | 2243 | net/ax25/af_ax25.c | memcpy(buff, saddr, dev->addr_len); |
saddr | 618 | net/core/skbuff.c | n->saddr=skb->saddr; |
saddr | 543 | net/core/sock.c | skb->saddr, skb->len, skb->daddr, 1, |
saddr | 88 | net/ethernet/eth.c | void *daddr, void *saddr, unsigned len) |
saddr | 106 | net/ethernet/eth.c | if(saddr) |
saddr | 107 | net/ethernet/eth.c | memcpy(eth->h_source,saddr,dev->addr_len); |
saddr | 217 | net/ethernet/eth.c | void eth_header_cache(struct device *dev, struct sock *sk, unsigned long saddr, unsigned long daddr) |
saddr | 210 | net/ipv4/af_inet.c | if ((mask & sk->saddr) && |
saddr | 211 | net/ipv4/af_inet.c | (mask & sk->saddr) != (mask & 0xffffffff)) |
saddr | 221 | net/ipv4/af_inet.c | if (!(sk2->saddr & mask)) |
saddr | 677 | net/ipv4/af_inet.c | sk->saddr = 0 /* ip_my_addr() */; |
saddr | 897 | net/ipv4/af_inet.c | sk->saddr = addr->sin_addr.s_addr; |
saddr | 917 | net/ipv4/af_inet.c | if (sk2->saddr != sk->saddr) |
saddr | 1139 | net/ipv4/af_inet.c | if (sk->saddr == 0) |
saddr | 1142 | net/ipv4/af_inet.c | sin->sin_addr.s_addr = sk->saddr; |
saddr | 1404 | net/ipv4/af_inet.c | if (s->saddr) { |
saddr | 1405 | net/ipv4/af_inet.c | if (s->saddr != laddr) |
saddr | 1454 | net/ipv4/af_inet.c | if(s->saddr && s->saddr!=laddr) |
saddr | 1497 | net/ipv4/af_inet.c | if(s->saddr && s->saddr!=laddr) |
saddr | 920 | net/ipv4/arp.c | u32 saddr, struct sk_buff *skb) |
saddr | 1042 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, paddr, dev, saddr, NULL, |
saddr | 148 | net/ipv4/icmp.c | void (*handler)(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len); |
saddr | 195 | net/ipv4/icmp.c | static void icmp_glue_bits(const void *p, __u32 saddr, char *to, unsigned int offset, unsigned int fraglen) |
saddr | 228 | net/ipv4/icmp.c | static void icmp_build_xmit(struct icmp_bxm *icmp_param, __u32 saddr, __u32 daddr) |
saddr | 231 | net/ipv4/icmp.c | sk->saddr=saddr; |
saddr | 256 | net/ipv4/icmp.c | __u32 saddr; |
saddr | 313 | net/ipv4/icmp.c | saddr=iph->daddr; |
saddr | 314 | net/ipv4/icmp.c | if(saddr!=dev->pa_addr && ip_chk_addr(saddr)!=IS_MYADDR) |
saddr | 315 | net/ipv4/icmp.c | saddr=dev->pa_addr; |
saddr | 328 | net/ipv4/icmp.c | icmp_build_xmit(&icmp_param, saddr, iph->saddr); |
saddr | 336 | net/ipv4/icmp.c | static void icmp_unreach(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len) |
saddr | 412 | net/ipv4/icmp.c | iph->daddr, iph->saddr, ipprot); |
saddr | 502 | net/ipv4/icmp.c | static void icmp_echo(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len) |
saddr | 509 | net/ipv4/icmp.c | icmp_build_xmit(&icmp_param, daddr, saddr); |
saddr | 521 | net/ipv4/icmp.c | static void icmp_timestamp(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len) |
saddr | 549 | net/ipv4/icmp.c | icmp_build_xmit(&icmp_param, daddr,saddr); |
saddr | 566 | net/ipv4/icmp.c | static void icmp_address(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len) |
saddr | 577 | net/ipv4/icmp.c | icmp_build_xmit(&icmp_param, daddr, saddr); |
saddr | 582 | net/ipv4/icmp.c | static void icmp_discard(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len) |
saddr | 593 | net/ipv4/icmp.c | __u32 saddr, int redo, struct inet_protocol *protocol) |
saddr | 606 | net/ipv4/icmp.c | printk("ICMP: failed checksum from %s!\n", in_ntoa(saddr)); |
saddr | 646 | net/ipv4/icmp.c | (icmp_pointers[icmph->type].handler)(icmph,skb,skb->dev,saddr,daddr,len); |
saddr | 214 | net/ipv4/igmp.c | __u32 daddr, unsigned short len, __u32 saddr, int redo, |
saddr | 228 | net/ipv4/igmp.c | dev=ip_dev_find(saddr); |
saddr | 190 | net/ipv4/ip.c | static int ip_send(struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr) |
saddr | 214 | net/ipv4/ip.c | static int ip_send_room(struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr) |
saddr | 242 | net/ipv4/ip.c | int ip_build_header(struct sk_buff *skb, __u32 saddr, __u32 daddr, |
saddr | 276 | net/ipv4/ip.c | if (LOOPBACK(saddr) && !LOOPBACK(daddr)) |
saddr | 277 | net/ipv4/ip.c | saddr = src;/*rt->rt_dev->pa_addr;*/ |
saddr | 294 | net/ipv4/ip.c | if (LOOPBACK(saddr) && !LOOPBACK(daddr)) |
saddr | 295 | net/ipv4/ip.c | saddr = src;/*rt->rt_dev->pa_addr;*/ |
saddr | 303 | net/ipv4/ip.c | if (saddr == 0) |
saddr | 304 | net/ipv4/ip.c | saddr = src; |
saddr | 317 | net/ipv4/ip.c | tmp = ip_send_room(skb, raddr, len, *dev, saddr); |
saddr | 319 | net/ipv4/ip.c | tmp = ip_send(skb, raddr, len, *dev, saddr); |
saddr | 326 | net/ipv4/ip.c | skb->saddr = saddr; |
saddr | 328 | net/ipv4/ip.c | skb->sk->saddr = saddr; |
saddr | 354 | net/ipv4/ip.c | iph->saddr = saddr; |
saddr | 423 | net/ipv4/ip.c | if (iph->id== qp->iph->id && iph->saddr == qp->iph->saddr && |
saddr | 1190 | net/ipv4/ip.c | if (dev == dev2 && !((iph->saddr^iph->daddr)&dev->pa_mask) && (rt->rt_flags&RTF_MODIFIED)) |
saddr | 1626 | net/ipv4/ip.c | raw_sk=get_sock_raw(raw_sk, iph->protocol, iph->saddr, iph->daddr); |
saddr | 1632 | net/ipv4/ip.c | sknext=get_sock_raw(raw_sk->next, iph->protocol, iph->saddr, iph->daddr); |
saddr | 1638 | net/ipv4/ip.c | raw_rcv(raw_sk, skb1, dev, iph->saddr,iph->daddr); |
saddr | 1691 | net/ipv4/ip.c | iph->saddr, 0, ipprot); |
saddr | 1703 | net/ipv4/ip.c | raw_rcv(raw_sk, skb, dev, iph->saddr, iph->daddr); |
saddr | 1761 | net/ipv4/ip.c | newskb->saddr=skb->saddr; |
saddr | 1772 | net/ipv4/ip.c | ip_send(newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr); |
saddr | 2454 | net/ipv4/ip.c | __u32 saddr; |
saddr | 2470 | net/ipv4/ip.c | if (sk->saddr && (!LOOPBACK(sk->saddr) || LOOPBACK(daddr))) |
saddr | 2471 | net/ipv4/ip.c | saddr = sk->saddr; |
saddr | 2473 | net/ipv4/ip.c | saddr = dev->pa_addr; |
saddr | 2492 | net/ipv4/ip.c | saddr=sk->ip_route_saddr; |
saddr | 2493 | net/ipv4/ip.c | if(!rt || sk->ip_route_stamp != rt_stamp || daddr!=sk->ip_route_daddr || sk->ip_route_local!=local || sk->saddr!=sk->ip_route_saddr) |
saddr | 2496 | net/ipv4/ip.c | rt = ip_rt_local(daddr, NULL, &saddr); |
saddr | 2498 | net/ipv4/ip.c | rt = ip_rt_route(daddr, NULL, &saddr); |
saddr | 2501 | net/ipv4/ip.c | sk->ip_route_saddr=saddr; |
saddr | 2518 | net/ipv4/ip.c | rt->rt_dev->header_cache(rt->rt_dev,sk,saddr,daddr); |
saddr | 2531 | net/ipv4/ip.c | if (sk->saddr && (!LOOPBACK(sk->saddr) || LOOPBACK(daddr))) |
saddr | 2532 | net/ipv4/ip.c | saddr = sk->saddr; |
saddr | 2562 | net/ipv4/ip.c | skb->saddr=saddr; |
saddr | 2590 | net/ipv4/ip.c | iph->saddr=saddr; |
saddr | 2594 | net/ipv4/ip.c | getfrag(frag,saddr,(void *)(iph+1),0, length-20); |
saddr | 2597 | net/ipv4/ip.c | getfrag(frag,saddr,(void *)iph,0,length-20); |
saddr | 2709 | net/ipv4/ip.c | skb->saddr = saddr; |
saddr | 2761 | net/ipv4/ip.c | iph->saddr = saddr; |
saddr | 2777 | net/ipv4/ip.c | getfrag(frag, saddr, data, offset, fraglen-fragheaderlen); |
saddr | 205 | net/ipv4/ip_fw.c | src = ip->saddr; |
saddr | 252 | net/ipv4/ip_fw.c | src = ip->saddr; |
saddr | 301 | net/ipv4/ip_fw.c | dprint_ip(ip->saddr); |
saddr | 447 | net/ipv4/ip_fw.c | print_ip(ip->saddr); |
saddr | 724 | net/ipv4/ip_fw.c | static void recalc_check(struct udphdr *uh, unsigned long saddr, |
saddr | 728 | net/ipv4/ip_fw.c | uh->check=csum_tcpudp_magic(saddr,daddr,len, |
saddr | 759 | net/ipv4/ip_fw.c | ntohl(iph->saddr), ntohs(portptr[0]), |
saddr | 765 | net/ipv4/ip_fw.c | iph->saddr == ms->src && iph->daddr == ms->dst && |
saddr | 787 | net/ipv4/ip_fw.c | ms->src = iph->saddr; |
saddr | 798 | net/ipv4/ip_fw.c | iph->saddr = dev->pa_addr; /* my own address */ |
saddr | 808 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
saddr | 833 | net/ipv4/ip_fw.c | tcp_send_check(th,iph->saddr,iph->daddr,size,skb->sk); |
saddr | 870 | net/ipv4/ip_fw.c | ntohl(iph->saddr), ntohs(portptr[0]), |
saddr | 886 | net/ipv4/ip_fw.c | (iph->saddr==ms->dst || iph->protocol==IPPROTO_UDP) && |
saddr | 898 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
saddr | 910 | net/ipv4/ip_fw.c | tcp_send_check((struct tcphdr *)portptr,iph->saddr,iph->daddr,size,skb_ptr->sk); |
saddr | 64 | net/ipv4/ipip.c | __u32 daddr, unsigned short len, __u32 saddr, |
saddr | 150 | net/ipv4/packet.c | struct sockaddr *saddr=(struct sockaddr *)usin; |
saddr | 165 | net/ipv4/packet.c | if (addr_len < sizeof(*saddr)) |
saddr | 175 | net/ipv4/packet.c | saddr->sa_data[13] = 0; |
saddr | 176 | net/ipv4/packet.c | dev = dev_get(saddr->sa_data); |
saddr | 293 | net/ipv4/packet.c | struct sockaddr *saddr; |
saddr | 296 | net/ipv4/packet.c | saddr = (struct sockaddr *)sin; |
saddr | 307 | net/ipv4/packet.c | *addr_len=sizeof(*saddr); |
saddr | 340 | net/ipv4/packet.c | if (saddr) |
saddr | 342 | net/ipv4/packet.c | saddr->sa_family = skb->dev->type; |
saddr | 343 | net/ipv4/packet.c | memcpy(saddr->sa_data,skb->dev->name, 14); |
saddr | 89 | net/ipv4/proc.c | src = sp->saddr; |
saddr | 77 | net/ipv4/raw.c | __u32 saddr, struct inet_protocol *protocol) |
saddr | 116 | net/ipv4/raw.c | int raw_rcv(struct sock *sk, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr) |
saddr | 124 | net/ipv4/raw.c | skb->saddr = daddr; |
saddr | 125 | net/ipv4/raw.c | skb->daddr = saddr; |
saddr | 150 | net/ipv4/raw.c | static void raw_getfrag(const void *p, __u32 saddr, char *to, unsigned int offset, unsigned int fraglen) |
saddr | 159 | net/ipv4/raw.c | static void raw_getrawfrag(const void *p, __u32 saddr, char *to, unsigned int offset, unsigned int fraglen) |
saddr | 165 | net/ipv4/raw.c | iph->saddr=saddr; |
saddr | 720 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
saddr | 1037 | net/ipv4/tcp.c | __u32 saddr, struct inet_protocol *protocol) |
saddr | 1047 | net/ipv4/tcp.c | sk = get_sock(&tcp_prot, th->source, daddr, th->dest, saddr); |
saddr | 1302 | net/ipv4/tcp.c | unsigned long saddr, unsigned long daddr, unsigned long base) |
saddr | 1304 | net/ipv4/tcp.c | return csum_tcpudp_magic(saddr,daddr,len,IPPROTO_TCP,base); |
saddr | 1309 | net/ipv4/tcp.c | void tcp_send_check(struct tcphdr *th, unsigned long saddr, |
saddr | 1313 | net/ipv4/tcp.c | th->check = tcp_check(th, len, saddr, daddr, |
saddr | 1411 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
saddr | 1551 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev, |
saddr | 1609 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, daddr, sizeof(*t1), sk); |
saddr | 1896 | net/ipv4/tcp.c | tmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
saddr | 2034 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
saddr | 2060 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
saddr | 2538 | net/ipv4/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
saddr | 2577 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
saddr | 2693 | net/ipv4/tcp.c | static void tcp_reset(unsigned long saddr, unsigned long daddr, struct tcphdr *th, |
saddr | 2725 | net/ipv4/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
saddr | 2767 | net/ipv4/tcp.c | tcp_send_check(t1, saddr, daddr, sizeof(*t1), NULL); |
saddr | 2870 | net/ipv4/tcp.c | unsigned long daddr, unsigned long saddr, |
saddr | 2893 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
saddr | 2983 | net/ipv4/tcp.c | newsk->daddr = saddr; |
saddr | 2984 | net/ipv4/tcp.c | newsk->saddr = daddr; |
saddr | 3015 | net/ipv4/tcp.c | rt=ip_rt_route(saddr, NULL,NULL); |
saddr | 3029 | net/ipv4/tcp.c | if ((saddr ^ daddr) & default_mask(saddr)) |
saddr | 3031 | net/ipv4/tcp.c | if ((saddr ^ daddr) & dev->pa_mask) |
saddr | 3072 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
saddr | 3121 | net/ipv4/tcp.c | tcp_send_check(t1, daddr, saddr, sizeof(*t1)+4, newsk); |
saddr | 3278 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
saddr | 3302 | net/ipv4/tcp.c | extern __inline__ int tcp_ack(struct sock *sk, struct tcphdr *th, unsigned long saddr, int len) |
saddr | 3993 | net/ipv4/tcp.c | unsigned long saddr, unsigned short len) |
saddr | 4018 | net/ipv4/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq,sk, th, saddr); |
saddr | 4064 | net/ipv4/tcp.c | tcp_reset(sk->saddr, sk->daddr, skb->h.th, |
saddr | 4288 | net/ipv4/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq, sk, th, saddr); |
saddr | 4294 | net/ipv4/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq, sk, th, saddr); |
saddr | 4352 | net/ipv4/tcp.c | unsigned long saddr, unsigned long len) |
saddr | 4517 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
saddr | 4556 | net/ipv4/tcp.c | if ((sk->saddr ^ sk->daddr) & default_mask(sk->saddr)) |
saddr | 4558 | net/ipv4/tcp.c | if ((sk->saddr ^ sk->daddr) & dev->pa_mask) |
saddr | 4582 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, |
saddr | 4612 | net/ipv4/tcp.c | struct options *opt, unsigned long saddr, struct device *dev) |
saddr | 4654 | net/ipv4/tcp.c | tcp_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
saddr | 4659 | net/ipv4/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq, sk, th, saddr); |
saddr | 4702 | net/ipv4/tcp.c | __u32 saddr, int redo, struct inet_protocol * protocol) |
saddr | 4721 | net/ipv4/tcp.c | if(saddr==th_cache_saddr && daddr==th_cache_daddr && th->dest==th_cache_dport && th->source==th_cache_sport) |
saddr | 4725 | net/ipv4/tcp.c | sk = get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
saddr | 4726 | net/ipv4/tcp.c | th_cache_saddr=saddr; |
saddr | 4755 | net/ipv4/tcp.c | (skb->ip_summed && tcp_check(th, len, saddr, daddr, skb->csum ))|| |
saddr | 4756 | net/ipv4/tcp.c | (!skb->ip_summed && tcp_check(th, len, saddr, daddr, csum_partial((char *)th, len, 0))) |
saddr | 4775 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
saddr | 4788 | net/ipv4/tcp.c | skb->saddr = daddr; |
saddr | 4789 | net/ipv4/tcp.c | skb->daddr = saddr; |
saddr | 4806 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
saddr | 4852 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
saddr | 4872 | net/ipv4/tcp.c | tcp_conn_request(sk, skb, daddr, saddr, opt, dev, tcp_init_seq()); |
saddr | 4906 | net/ipv4/tcp.c | if(!tcp_ack(sk,th,saddr,len)) |
saddr | 4911 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, |
saddr | 4957 | net/ipv4/tcp.c | if(sk->saddr==saddr && sk->daddr==daddr && |
saddr | 5003 | net/ipv4/tcp.c | sk=get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
saddr | 5009 | net/ipv4/tcp.c | tcp_conn_request(sk, skb, daddr, saddr,opt, dev,seq+128000); |
saddr | 5025 | net/ipv4/tcp.c | if(!tcp_sequence(sk,th,len,opt,saddr,dev)) |
saddr | 5041 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th, &tcp_prot, opt, dev, skb->ip_hdr->tos, 255); |
saddr | 5050 | net/ipv4/tcp.c | if(th->ack && !tcp_ack(sk,th,saddr,len)) |
saddr | 5058 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
saddr | 5071 | net/ipv4/tcp.c | if(tcp_urg(sk, th, saddr, len)) |
saddr | 5083 | net/ipv4/tcp.c | if(tcp_data(skb,sk, saddr, len)) |
saddr | 5181 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
saddr | 5264 | net/ipv4/tcp.c | tcp_send_check(nth, sk->saddr, sk->daddr, |
saddr | 5281 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
saddr | 5309 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
saddr | 137 | 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); |
saddr | 154 | net/ipv4/udp.c | __u32 saddr, struct inet_protocol *protocol) |
saddr | 165 | net/ipv4/udp.c | sk = get_sock(&udp_prot, uh->source, daddr, uh->dest, saddr); |
saddr | 204 | net/ipv4/udp.c | static unsigned short udp_check(struct udphdr *uh, int len, unsigned long saddr, unsigned long daddr, unsigned long base) |
saddr | 206 | net/ipv4/udp.c | return(csum_tcpudp_magic(saddr, daddr, len, IPPROTO_UDP, base)); |
saddr | 224 | net/ipv4/udp.c | static void udp_getfrag(const void *p, __u32 saddr, char * to, unsigned int offset, unsigned int fraglen) |
saddr | 248 | net/ipv4/udp.c | ufh->uh.check = csum_tcpudp_magic(saddr, ufh->daddr, |
saddr | 264 | net/ipv4/udp.c | static void udp_getfrag_nosum(const void *p, __u32 saddr, char * to, unsigned int offset, unsigned int fraglen) |
saddr | 544 | net/ipv4/udp.c | sk->saddr = sa; /* Update source address */ |
saddr | 574 | net/ipv4/udp.c | __u32 saddr, int redo, struct inet_protocol *protocol) |
saddr | 614 | net/ipv4/udp.c | ( skb->ip_summed && udp_check(uh, len, saddr, daddr, skb->csum ) ) || |
saddr | 615 | net/ipv4/udp.c | ( !skb->ip_summed && udp_check(uh, len, saddr, daddr,csum_partial((char*)uh, len, 0))) |
saddr | 626 | net/ipv4/udp.c | ntohl(saddr),ntohs(uh->source), |
saddr | 645 | net/ipv4/udp.c | saddr, uh->source, daddr); |
saddr | 652 | net/ipv4/udp.c | sknext=get_sock_mcast(sk->next, uh->dest, saddr, uh->source, daddr); |
saddr | 658 | net/ipv4/udp.c | udp_deliver(sk, uh, skb1, dev,saddr,daddr,len); |
saddr | 668 | net/ipv4/udp.c | if(saddr==uh_cache_saddr && daddr==uh_cache_daddr && uh->dest==uh_cache_dport && uh->source==uh_cache_sport) |
saddr | 672 | net/ipv4/udp.c | sk = get_sock(&udp_prot, uh->dest, saddr, uh->source, daddr); |
saddr | 673 | net/ipv4/udp.c | uh_cache_saddr=saddr; |
saddr | 695 | net/ipv4/udp.c | return udp_deliver(sk,uh,skb,dev, saddr, daddr, len); |
saddr | 698 | 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) |
saddr | 708 | net/ipv4/udp.c | skb->daddr = saddr; |
saddr | 709 | net/ipv4/udp.c | skb->saddr = daddr; |
saddr | 76 | net/netrom/nr_dev.c | void *daddr, void *saddr, unsigned len) |
saddr | 80 | net/netrom/nr_dev.c | memcpy(buff, (saddr != NULL) ? saddr : dev->dev_addr, dev->addr_len); |