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 | 361 | drivers/net/arcnet.c | u_char saddr, /* Source address - needed for IPX */ |
saddr | 448 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
saddr | 450 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
saddr | 457 | drivers/net/arcnet.c | void *daddr,void *saddr,unsigned len); |
saddr | 1786 | drivers/net/arcnet.c | u_char daddr,saddr; |
saddr | 1788 | drivers/net/arcnet.c | saddr=arcpacket->hardheader.source; |
saddr | 1792 | drivers/net/arcnet.c | if (saddr==0) |
saddr | 1817 | drivers/net/arcnet.c | saddr,daddr,length); |
saddr | 1827 | drivers/net/arcnet.c | length,saddr,daddr); |
saddr | 1830 | drivers/net/arcnet.c | arcnetW_rx(dev,arcsoft,length,saddr,daddr); |
saddr | 1867 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
saddr | 1893 | drivers/net/arcnet.c | struct Incoming *in=&lp->incoming[saddr]; |
saddr | 1926 | drivers/net/arcnet.c | soft->saddr=saddr; |
saddr | 1947 | drivers/net/arcnet.c | saddr); |
saddr | 1948 | drivers/net/arcnet.c | *cptr=saddr; |
saddr | 1999 | drivers/net/arcnet.c | struct Incoming *in=&lp->incoming[saddr]; |
saddr | 2117 | drivers/net/arcnet.c | soft->saddr=saddr; |
saddr | 2152 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
saddr | 2239 | drivers/net/arcnet.c | void *daddr,void *saddr,unsigned len) |
saddr | 2277 | drivers/net/arcnet.c | if(saddr) |
saddr | 2278 | drivers/net/arcnet.c | head->saddr=((u_char*)saddr)[0]; |
saddr | 2280 | drivers/net/arcnet.c | head->saddr=((u_char*)(dev->dev_addr))[0]; |
saddr | 148 | drivers/net/eql.c | unsigned short type, void *daddr, void *saddr, |
saddr | 399 | drivers/net/eql.c | unsigned short type, void *daddr, void *saddr, |
saddr | 984 | drivers/net/ibmtr.c | if(!(((struct trh_hdr *)(&ti->current_skb->data))->saddr[0] & 0x80)) { |
saddr | 1070 | 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 | 1078 | drivers/net/pi2.c | void *daddr, void *saddr, unsigned len) |
saddr | 1080 | 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 | 1795 | drivers/net/ppp.c | dev->name, (int) proto, (int) len, (int) iph->saddr, |
saddr | 1847 | drivers/net/ppp.c | unsigned long daddr, unsigned long saddr, unsigned len) |
saddr | 1867 | drivers/net/ppp.c | void *daddr, void *saddr, unsigned len) |
saddr | 295 | drivers/net/slhc.c | if( ip->saddr == cs->cs_ip.saddr |
saddr | 472 | drivers/net/slip.c | void *daddr, void *saddr, unsigned len) |
saddr | 479 | drivers/net/slip.c | return ax25_encapsulate(skb, dev, type, daddr, saddr, len); |
saddr | 104 | drivers/net/tunnel.c | ipaddr=(unsigned char *)&ip->saddr; |
saddr | 178 | drivers/net/tunnel.c | if ( iph->protocol == IPPROTO_IPIP && iph->saddr == dev->pa_addr ) |
saddr | 227 | 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 | 40 | 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 | 150 | include/linux/netdevice.h | void *saddr, |
saddr | 163 | 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 | 29 | include/net/eth.h | void *saddr, unsigned len); |
saddr | 35 | include/net/eth.h | extern void eth_header_cache(struct device *dev, struct sock *sk, unsigned long saddr, unsigned long daddr); |
saddr | 32 | include/net/icmp.h | unsigned short len, unsigned long saddr, |
saddr | 83 | include/net/ip.h | unsigned long saddr, |
saddr | 2 | include/net/ipip.h | unsigned long daddr, unsigned short len, unsigned long saddr, |
saddr | 33 | include/net/protocol.h | unsigned short len, unsigned long saddr, |
saddr | 37 | include/net/protocol.h | unsigned short len, unsigned long saddr, |
saddr | 41 | include/net/protocol.h | unsigned long saddr, |
saddr | 25 | include/net/raw.h | unsigned long saddr, struct inet_protocol *protocol); |
saddr | 114 | include/net/sock.h | unsigned long saddr; |
saddr | 234 | include/net/sock.h | unsigned long saddr, |
saddr | 249 | include/net/sock.h | unsigned short len, unsigned long saddr, |
saddr | 127 | include/net/tcp.h | unsigned long saddr, struct inet_protocol *protocol); |
saddr | 131 | include/net/tcp.h | unsigned short len, unsigned long 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 | unsigned long saddr, struct inet_protocol *protocol); |
saddr | 36 | include/net/udp.h | extern void udp_send_check(struct udphdr *uh, unsigned long saddr, |
saddr | 47 | include/net/udp.h | unsigned short len, unsigned long 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 | 2041 | net/ax25/af_ax25.c | void *saddr, unsigned len) |
saddr | 2056 | net/ax25/af_ax25.c | if (saddr != NULL) |
saddr | 2057 | net/ax25/af_ax25.c | memcpy(buff, saddr, dev->addr_len); |
saddr | 618 | net/core/skbuff.c | n->saddr=skb->saddr; |
saddr | 528 | 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 | 201 | net/ipv4/af_inet.c | if ((mask & sk->saddr) && |
saddr | 202 | net/ipv4/af_inet.c | (mask & sk->saddr) != (mask & 0xffffffff)) |
saddr | 212 | net/ipv4/af_inet.c | if (!(sk2->saddr & mask)) |
saddr | 675 | net/ipv4/af_inet.c | sk->saddr = 0 /* ip_my_addr() */; |
saddr | 890 | net/ipv4/af_inet.c | sk->saddr = addr->sin_addr.s_addr; |
saddr | 910 | net/ipv4/af_inet.c | if (sk2->saddr != sk->saddr) |
saddr | 1147 | net/ipv4/af_inet.c | if (sk->saddr == 0) |
saddr | 1150 | net/ipv4/af_inet.c | sin->sin_addr.s_addr = sk->saddr; |
saddr | 1413 | net/ipv4/af_inet.c | if (s->saddr) { |
saddr | 1414 | net/ipv4/af_inet.c | if (s->saddr != laddr) |
saddr | 1463 | net/ipv4/af_inet.c | if(s->saddr && s->saddr!=laddr) |
saddr | 1506 | net/ipv4/af_inet.c | if(s->saddr && s->saddr!=laddr) |
saddr | 866 | net/ipv4/arp.c | u32 saddr, struct sk_buff *skb) |
saddr | 987 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, paddr, dev, saddr, NULL, |
saddr | 232 | net/ipv4/icmp.c | offset = ip_build_header(skb, our_addr, iph->saddr, |
saddr | 338 | net/ipv4/icmp.c | iph->daddr, iph->saddr, ipprot); |
saddr | 427 | net/ipv4/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
saddr | 450 | net/ipv4/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, |
saddr | 494 | net/ipv4/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
saddr | 527 | net/ipv4/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, IPPROTO_ICMP, opt, len, |
saddr | 579 | net/ipv4/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
saddr | 592 | net/ipv4/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
saddr | 617 | net/ipv4/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, |
saddr | 662 | net/ipv4/icmp.c | unsigned long saddr, int redo, struct inet_protocol *protocol) |
saddr | 690 | net/ipv4/icmp.c | printk("ICMP: failed checksum from %s!\n", in_ntoa(saddr)); |
saddr | 726 | net/ipv4/icmp.c | icmp_redirect(icmph, skb1, dev, saddr); |
saddr | 730 | net/ipv4/icmp.c | icmp_echo(icmph, skb1, dev, saddr, daddr, len, opt); |
saddr | 738 | net/ipv4/icmp.c | icmp_timestamp(icmph, skb1, dev, saddr, daddr, len, opt); |
saddr | 746 | net/ipv4/icmp.c | icmp_info(icmph, skb1, dev, saddr, daddr, len, opt); |
saddr | 754 | net/ipv4/icmp.c | icmp_address(icmph, skb1, dev, saddr, daddr, len, opt); |
saddr | 200 | net/ipv4/igmp.c | unsigned long daddr, unsigned short len, unsigned long saddr, int redo, |
saddr | 181 | net/ipv4/ip.c | static int ip_send(struct sk_buff *skb, unsigned long daddr, int len, struct device *dev, unsigned long saddr) |
saddr | 213 | net/ipv4/ip.c | int ip_build_header(struct sk_buff *skb, unsigned long saddr, unsigned long daddr, |
saddr | 247 | net/ipv4/ip.c | if (LOOPBACK(saddr) && !LOOPBACK(daddr)) |
saddr | 248 | net/ipv4/ip.c | saddr = src;/*rt->rt_dev->pa_addr;*/ |
saddr | 265 | net/ipv4/ip.c | if (LOOPBACK(saddr) && !LOOPBACK(daddr)) |
saddr | 266 | net/ipv4/ip.c | saddr = src;/*rt->rt_dev->pa_addr;*/ |
saddr | 274 | net/ipv4/ip.c | if (saddr == 0) |
saddr | 275 | net/ipv4/ip.c | saddr = src; |
saddr | 287 | net/ipv4/ip.c | tmp = ip_send(skb, raddr, len, *dev, saddr); |
saddr | 294 | net/ipv4/ip.c | skb->saddr = saddr; |
saddr | 296 | net/ipv4/ip.c | skb->sk->saddr = saddr; |
saddr | 322 | net/ipv4/ip.c | iph->saddr = saddr; |
saddr | 391 | net/ipv4/ip.c | if (iph->id== qp->iph->id && iph->saddr == qp->iph->saddr && |
saddr | 1151 | net/ipv4/ip.c | if (dev == dev2 && !((iph->saddr^iph->daddr)&dev->pa_mask) && (rt->rt_flags&RTF_MODIFIED)) |
saddr | 1567 | net/ipv4/ip.c | raw_sk=get_sock_raw(raw_sk, hash, iph->saddr, iph->daddr); |
saddr | 1573 | net/ipv4/ip.c | sknext=get_sock_raw(raw_sk->next, hash, iph->saddr, iph->daddr); |
saddr | 1579 | net/ipv4/ip.c | raw_rcv(raw_sk, skb1, dev, iph->saddr,iph->daddr); |
saddr | 1632 | net/ipv4/ip.c | iph->saddr, 0, ipprot); |
saddr | 1644 | net/ipv4/ip.c | raw_rcv(raw_sk, skb, dev, iph->saddr, iph->daddr); |
saddr | 1703 | net/ipv4/ip.c | newskb->saddr=skb->saddr; |
saddr | 1714 | net/ipv4/ip.c | ip_send(newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr); |
saddr | 2363 | net/ipv4/ip.c | unsigned long saddr; |
saddr | 2398 | net/ipv4/ip.c | saddr=sk->ip_route_saddr; |
saddr | 2399 | 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 | 2402 | net/ipv4/ip.c | rt = ip_rt_local(daddr, NULL, &saddr); |
saddr | 2404 | net/ipv4/ip.c | rt = ip_rt_route(daddr, NULL, &saddr); |
saddr | 2407 | net/ipv4/ip.c | sk->ip_route_saddr=saddr; |
saddr | 2424 | net/ipv4/ip.c | rt->rt_dev->header_cache(rt->rt_dev,sk,saddr,daddr); |
saddr | 2437 | net/ipv4/ip.c | if (sk->saddr && (!LOOPBACK(sk->saddr) || LOOPBACK(daddr))) |
saddr | 2438 | net/ipv4/ip.c | saddr = sk->saddr; |
saddr | 2468 | net/ipv4/ip.c | skb->saddr=saddr; |
saddr | 2493 | net/ipv4/ip.c | iph->saddr=saddr; |
saddr | 2497 | net/ipv4/ip.c | getfrag(frag,saddr,(void *)(iph+1),0, length-20); |
saddr | 2500 | net/ipv4/ip.c | getfrag(frag,saddr,(void *)iph,0,length); |
saddr | 2597 | net/ipv4/ip.c | skb->saddr = saddr; |
saddr | 2649 | net/ipv4/ip.c | iph->saddr = saddr; |
saddr | 2665 | net/ipv4/ip.c | getfrag(frag, saddr, data, offset, fraglen-fragheaderlen); |
saddr | 194 | net/ipv4/ip_fw.c | src = ip->saddr; |
saddr | 216 | net/ipv4/ip_fw.c | src = ip->saddr; |
saddr | 261 | net/ipv4/ip_fw.c | dprint_ip(ip->saddr); |
saddr | 389 | net/ipv4/ip_fw.c | print_ip(ip->saddr); |
saddr | 644 | net/ipv4/ip_fw.c | static void recalc_check(struct udphdr *uh, unsigned long saddr, |
saddr | 648 | net/ipv4/ip_fw.c | uh->check=csum_tcpudp_magic(saddr,daddr,len, |
saddr | 679 | net/ipv4/ip_fw.c | ntohl(iph->saddr), ntohs(portptr[0]), |
saddr | 685 | net/ipv4/ip_fw.c | iph->saddr == ms->src && iph->daddr == ms->dst && |
saddr | 707 | net/ipv4/ip_fw.c | ms->src = iph->saddr; |
saddr | 718 | net/ipv4/ip_fw.c | iph->saddr = dev->pa_addr; /* my own address */ |
saddr | 728 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
saddr | 752 | net/ipv4/ip_fw.c | tcp_send_check(th,iph->saddr,iph->daddr,size,skb->sk); |
saddr | 789 | net/ipv4/ip_fw.c | ntohl(iph->saddr), ntohs(portptr[0]), |
saddr | 805 | net/ipv4/ip_fw.c | (iph->saddr==ms->dst || iph->protocol==IPPROTO_UDP) && |
saddr | 817 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
saddr | 829 | net/ipv4/ip_fw.c | tcp_send_check((struct tcphdr *)portptr,iph->saddr,iph->daddr,size,skb_ptr->sk); |
saddr | 51 | net/ipv4/ipip.c | unsigned long daddr, unsigned short len, unsigned long 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 | 87 | net/ipv4/proc.c | src = sp->saddr; |
saddr | 67 | net/ipv4/raw.c | unsigned long saddr, struct inet_protocol *protocol) |
saddr | 97 | net/ipv4/raw.c | int raw_rcv(struct sock *sk, struct sk_buff *skb, struct device *dev, long saddr, long daddr) |
saddr | 104 | net/ipv4/raw.c | skb->saddr = daddr; |
saddr | 105 | net/ipv4/raw.c | skb->daddr = saddr; |
saddr | 130 | net/ipv4/raw.c | static void raw_getfrag(void *p, int saddr, char *to, unsigned int offset, unsigned int fraglen) |
saddr | 139 | net/ipv4/raw.c | static void raw_getrawfrag(void *p, int saddr, char *to, unsigned int offset, unsigned int fraglen) |
saddr | 145 | net/ipv4/raw.c | iph->saddr=saddr; |
saddr | 533 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
saddr | 848 | net/ipv4/tcp.c | unsigned long saddr, struct inet_protocol *protocol) |
saddr | 858 | net/ipv4/tcp.c | sk = get_sock(&tcp_prot, th->source, daddr, th->dest, saddr); |
saddr | 1116 | net/ipv4/tcp.c | unsigned long saddr, unsigned long daddr, unsigned long base) |
saddr | 1118 | net/ipv4/tcp.c | return csum_tcpudp_magic(saddr,daddr,len,IPPROTO_TCP,base); |
saddr | 1123 | net/ipv4/tcp.c | void tcp_send_check(struct tcphdr *th, unsigned long saddr, |
saddr | 1127 | net/ipv4/tcp.c | th->check = tcp_check(th, len, saddr, daddr, |
saddr | 1225 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
saddr | 1365 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev, |
saddr | 1423 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, daddr, sizeof(*t1), sk); |
saddr | 1710 | net/ipv4/tcp.c | tmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
saddr | 1848 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
saddr | 1874 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
saddr | 2352 | net/ipv4/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
saddr | 2391 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
saddr | 2507 | net/ipv4/tcp.c | static void tcp_reset(unsigned long saddr, unsigned long daddr, struct tcphdr *th, |
saddr | 2539 | net/ipv4/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
saddr | 2581 | net/ipv4/tcp.c | tcp_send_check(t1, saddr, daddr, sizeof(*t1), NULL); |
saddr | 2684 | net/ipv4/tcp.c | unsigned long daddr, unsigned long saddr, |
saddr | 2707 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
saddr | 2797 | net/ipv4/tcp.c | newsk->daddr = saddr; |
saddr | 2798 | net/ipv4/tcp.c | newsk->saddr = daddr; |
saddr | 2829 | net/ipv4/tcp.c | rt=ip_rt_route(saddr, NULL,NULL); |
saddr | 2843 | net/ipv4/tcp.c | if ((saddr ^ daddr) & default_mask(saddr)) |
saddr | 2845 | net/ipv4/tcp.c | if ((saddr ^ daddr) & dev->pa_mask) |
saddr | 2886 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
saddr | 2935 | net/ipv4/tcp.c | tcp_send_check(t1, daddr, saddr, sizeof(*t1)+4, newsk); |
saddr | 3092 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
saddr | 3116 | net/ipv4/tcp.c | extern __inline__ int tcp_ack(struct sock *sk, struct tcphdr *th, unsigned long saddr, int len) |
saddr | 3807 | net/ipv4/tcp.c | unsigned long saddr, unsigned short len) |
saddr | 3832 | net/ipv4/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq,sk, th, saddr); |
saddr | 3878 | net/ipv4/tcp.c | tcp_reset(sk->saddr, sk->daddr, skb->h.th, |
saddr | 4102 | net/ipv4/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq, sk, th, saddr); |
saddr | 4108 | net/ipv4/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq, sk, th, saddr); |
saddr | 4166 | net/ipv4/tcp.c | unsigned long saddr, unsigned long len) |
saddr | 4331 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
saddr | 4370 | net/ipv4/tcp.c | if ((sk->saddr ^ sk->daddr) & default_mask(sk->saddr)) |
saddr | 4372 | net/ipv4/tcp.c | if ((sk->saddr ^ sk->daddr) & dev->pa_mask) |
saddr | 4396 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, |
saddr | 4426 | net/ipv4/tcp.c | struct options *opt, unsigned long saddr, struct device *dev) |
saddr | 4468 | net/ipv4/tcp.c | tcp_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
saddr | 4473 | net/ipv4/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq, sk, th, saddr); |
saddr | 4516 | net/ipv4/tcp.c | unsigned long saddr, int redo, struct inet_protocol * protocol) |
saddr | 4535 | net/ipv4/tcp.c | if(saddr==th_cache_saddr && daddr==th_cache_daddr && th->dest==th_cache_dport && th->source==th_cache_sport) |
saddr | 4539 | net/ipv4/tcp.c | sk = get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
saddr | 4540 | net/ipv4/tcp.c | th_cache_saddr=saddr; |
saddr | 4569 | net/ipv4/tcp.c | (skb->ip_summed && tcp_check(th, len, saddr, daddr, skb->csum ))|| |
saddr | 4570 | net/ipv4/tcp.c | (!skb->ip_summed && tcp_check(th, len, saddr, daddr, csum_partial((char *)th, len, 0))) |
saddr | 4589 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
saddr | 4602 | net/ipv4/tcp.c | skb->saddr = daddr; |
saddr | 4603 | net/ipv4/tcp.c | skb->daddr = saddr; |
saddr | 4620 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
saddr | 4666 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
saddr | 4686 | net/ipv4/tcp.c | tcp_conn_request(sk, skb, daddr, saddr, opt, dev, tcp_init_seq()); |
saddr | 4720 | net/ipv4/tcp.c | if(!tcp_ack(sk,th,saddr,len)) |
saddr | 4725 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, |
saddr | 4771 | net/ipv4/tcp.c | if(sk->saddr==saddr && sk->daddr==daddr && |
saddr | 4817 | net/ipv4/tcp.c | sk=get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
saddr | 4823 | net/ipv4/tcp.c | tcp_conn_request(sk, skb, daddr, saddr,opt, dev,seq+128000); |
saddr | 4839 | net/ipv4/tcp.c | if(!tcp_sequence(sk,th,len,opt,saddr,dev)) |
saddr | 4855 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th, &tcp_prot, opt, dev, skb->ip_hdr->tos, 255); |
saddr | 4864 | net/ipv4/tcp.c | if(th->ack && !tcp_ack(sk,th,saddr,len)) |
saddr | 4872 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
saddr | 4885 | net/ipv4/tcp.c | if(tcp_urg(sk, th, saddr, len)) |
saddr | 4897 | net/ipv4/tcp.c | if(tcp_data(skb,sk, saddr, len)) |
saddr | 4995 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
saddr | 5078 | net/ipv4/tcp.c | tcp_send_check(nth, sk->saddr, sk->daddr, |
saddr | 5095 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
saddr | 5123 | net/ipv4/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
saddr | 110 | 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 | 127 | net/ipv4/udp.c | unsigned long saddr, struct inet_protocol *protocol) |
saddr | 141 | net/ipv4/udp.c | sk = get_sock(&udp_prot, th->source, daddr, th->dest, saddr); |
saddr | 169 | net/ipv4/udp.c | static unsigned short udp_check(struct udphdr *uh, int len, unsigned long saddr, unsigned long daddr, unsigned long base) |
saddr | 171 | net/ipv4/udp.c | return(csum_tcpudp_magic(saddr, daddr, len, IPPROTO_UDP, base)); |
saddr | 189 | net/ipv4/udp.c | static void udp_getfrag(void *p, int saddr, char * to, unsigned int offset, unsigned int fraglen) |
saddr | 212 | net/ipv4/udp.c | ufh->uh.check = csum_tcpudp_magic(saddr, ufh->daddr, |
saddr | 228 | net/ipv4/udp.c | static void udp_getfrag_nosum(void *p, int saddr, char * to, unsigned int offset, unsigned int fraglen) |
saddr | 486 | net/ipv4/udp.c | sk->saddr = sa; /* Update source address */ |
saddr | 516 | net/ipv4/udp.c | unsigned long saddr, int redo, struct inet_protocol *protocol) |
saddr | 549 | net/ipv4/udp.c | ( skb->ip_summed && udp_check(uh, len, saddr, daddr, skb->csum ) ) || |
saddr | 550 | net/ipv4/udp.c | ( !skb->ip_summed && udp_check(uh, len, saddr, daddr,csum_partial((char*)uh, len, 0))) |
saddr | 557 | net/ipv4/udp.c | ntohl(saddr),ntohs(uh->source), |
saddr | 576 | net/ipv4/udp.c | saddr, uh->source, daddr); |
saddr | 583 | net/ipv4/udp.c | sknext=get_sock_mcast(sk->next, uh->dest, saddr, uh->source, daddr); |
saddr | 589 | net/ipv4/udp.c | udp_deliver(sk, uh, skb1, dev,saddr,daddr,len); |
saddr | 599 | net/ipv4/udp.c | if(saddr==uh_cache_saddr && daddr==uh_cache_daddr && uh->dest==uh_cache_dport && uh->source==uh_cache_sport) |
saddr | 603 | net/ipv4/udp.c | sk = get_sock(&udp_prot, uh->dest, saddr, uh->source, daddr); |
saddr | 604 | net/ipv4/udp.c | uh_cache_saddr=saddr; |
saddr | 626 | net/ipv4/udp.c | return udp_deliver(sk,uh,skb,dev, saddr, daddr, len); |
saddr | 629 | 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 | 639 | net/ipv4/udp.c | skb->daddr = saddr; |
saddr | 640 | net/ipv4/udp.c | skb->saddr = daddr; |
saddr | 75 | net/netrom/nr_dev.c | void *daddr, void *saddr, unsigned len) |
saddr | 79 | net/netrom/nr_dev.c | memcpy(buff, (saddr != NULL) ? saddr : dev->dev_addr, dev->addr_len); |