tag | line | file | source code |
saddr | 407 | drivers/net/plip.c | void *saddr, unsigned len, struct sk_buff *skb) |
saddr | 417 | drivers/net/plip.c | return eth_header(buff, dev, type, daddr, saddr, len, skb); |
saddr | 118 | drivers/net/ppp.c | unsigned long saddr, unsigned len); |
saddr | 1130 | drivers/net/ppp.c | iph->saddr, iph->daddr, count)) |
saddr | 1763 | drivers/net/ppp.c | dev->name, (int) proto, (int) len, (int) iph->saddr, |
saddr | 1821 | drivers/net/ppp.c | unsigned long daddr, unsigned long saddr, unsigned len) |
saddr | 1841 | drivers/net/ppp.c | void *daddr, void *saddr, unsigned len, struct sk_buff *skb) |
saddr | 282 | drivers/net/slhc.c | if( ip->saddr == cs->cs_ip.saddr |
saddr | 498 | drivers/net/slip.c | void *daddr, void *saddr, unsigned len, struct sk_buff *skb) |
saddr | 504 | drivers/net/slip.c | return ax25_encapsulate(buff,dev,type,daddr,saddr,len,skb); |
saddr | 33 | include/linux/etherdevice.h | void *saddr, unsigned len, |
saddr | 93 | include/linux/ip.h | unsigned long saddr; |
saddr | 128 | include/linux/netdevice.h | void *saddr, |
saddr | 64 | include/linux/skbuff.h | unsigned long saddr; |
saddr | 162 | net/inet/af_inet.c | if ((mask & sk->saddr) && |
saddr | 163 | net/inet/af_inet.c | (mask & sk->saddr) != (mask & 0xffffffff)) |
saddr | 173 | net/inet/af_inet.c | if (!(sk2->saddr & mask)) |
saddr | 618 | net/inet/af_inet.c | sk->saddr = ip_my_addr(); |
saddr | 787 | net/inet/af_inet.c | sk->saddr = addr->sin_addr.s_addr; |
saddr | 810 | net/inet/af_inet.c | if (sk2->saddr != sk->saddr) |
saddr | 1024 | net/inet/af_inet.c | if (sk->saddr == 0) |
saddr | 1027 | net/inet/af_inet.c | sin->sin_addr.s_addr = sk->saddr; |
saddr | 1276 | net/inet/af_inet.c | if(ip_addr_match(s->saddr,laddr) == 0) |
saddr | 754 | net/inet/arp.c | unsigned long saddr, struct sk_buff *skb) |
saddr | 853 | net/inet/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, paddr, dev, saddr, NULL, |
saddr | 11 | net/inet/arp.h | struct device *dev, unsigned long saddr, struct sk_buff *skb); |
saddr | 83 | net/inet/eth.c | void *daddr, void *saddr, unsigned len, |
saddr | 102 | net/inet/eth.c | if(saddr) |
saddr | 103 | net/inet/eth.c | memcpy(eth->h_source,saddr,dev->addr_len); |
saddr | 29 | net/inet/eth.h | unsigned long saddr, unsigned len); |
saddr | 178 | net/inet/icmp.c | offset = ip_build_header(skb, dev->pa_addr, iph->saddr, |
saddr | 276 | net/inet/icmp.c | iph->daddr, iph->saddr, ipprot); |
saddr | 352 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
saddr | 375 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, |
saddr | 419 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
saddr | 443 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, IPPROTO_ICMP, opt, len, |
saddr | 495 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
saddr | 508 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
saddr | 533 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, |
saddr | 578 | net/inet/icmp.c | unsigned long saddr, int redo, struct inet_protocol *protocol) |
saddr | 606 | net/inet/icmp.c | printk("ICMP: failed checksum from %s!\n", in_ntoa(saddr)); |
saddr | 642 | net/inet/icmp.c | icmp_redirect(icmph, skb1, dev, saddr); |
saddr | 646 | net/inet/icmp.c | icmp_echo(icmph, skb1, dev, saddr, daddr, len, opt); |
saddr | 654 | net/inet/icmp.c | icmp_timestamp(icmph, skb1, dev, saddr, daddr, len, opt); |
saddr | 662 | net/inet/icmp.c | icmp_info(icmph, skb1, dev, saddr, daddr, len, opt); |
saddr | 670 | net/inet/icmp.c | icmp_address(icmph, skb1, dev, saddr, daddr, len, opt); |
saddr | 32 | net/inet/icmp.h | unsigned short len, unsigned long saddr, |
saddr | 161 | net/inet/ip.c | static int ip_send(struct sk_buff *skb, unsigned long daddr, int len, struct device *dev, unsigned long saddr) |
saddr | 192 | net/inet/ip.c | int ip_build_header(struct sk_buff *skb, unsigned long saddr, unsigned long daddr, |
saddr | 207 | net/inet/ip.c | if (saddr == 0) |
saddr | 208 | net/inet/ip.c | saddr = ip_my_addr(); |
saddr | 233 | net/inet/ip.c | if (LOOPBACK(saddr) && !LOOPBACK(daddr)) |
saddr | 234 | net/inet/ip.c | saddr = src;/*rt->rt_dev->pa_addr;*/ |
saddr | 252 | net/inet/ip.c | if (LOOPBACK(saddr) && !LOOPBACK(daddr)) |
saddr | 253 | net/inet/ip.c | saddr = src;/*rt->rt_dev->pa_addr;*/ |
saddr | 268 | net/inet/ip.c | tmp = ip_send(skb, raddr, len, *dev, saddr); |
saddr | 277 | net/inet/ip.c | skb->saddr = saddr; |
saddr | 279 | net/inet/ip.c | skb->sk->saddr = saddr; |
saddr | 299 | net/inet/ip.c | iph->saddr = saddr; |
saddr | 607 | net/inet/ip.c | if (iph->id== qp->iph->id && iph->saddr == qp->iph->saddr && |
saddr | 1604 | net/inet/ip.c | iph->saddr, 0, ipprot); |
saddr | 1842 | net/inet/ip.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
saddr | 73 | net/inet/ip.h | unsigned long saddr, |
saddr | 129 | net/inet/packet.c | struct sockaddr *saddr=(struct sockaddr *)usin; |
saddr | 144 | net/inet/packet.c | if (addr_len < sizeof(*saddr)) |
saddr | 154 | net/inet/packet.c | saddr->sa_data[13] = 0; |
saddr | 155 | net/inet/packet.c | dev = dev_get(saddr->sa_data); |
saddr | 272 | net/inet/packet.c | struct sockaddr *saddr; |
saddr | 276 | net/inet/packet.c | saddr = (struct sockaddr *)sin; |
saddr | 287 | net/inet/packet.c | *addr_len=sizeof(*saddr); |
saddr | 320 | net/inet/packet.c | if (saddr) |
saddr | 322 | net/inet/packet.c | saddr->sa_family = skb->dev->type; |
saddr | 323 | net/inet/packet.c | memcpy(saddr->sa_data,skb->dev->name, 14); |
saddr | 83 | net/inet/proc.c | src = sp->saddr; |
saddr | 33 | net/inet/protocol.h | unsigned short len, unsigned long saddr, |
saddr | 37 | net/inet/protocol.h | unsigned short len, unsigned long saddr, |
saddr | 41 | net/inet/protocol.h | unsigned long saddr, |
saddr | 65 | net/inet/raw.c | unsigned long saddr, struct inet_protocol *protocol) |
saddr | 95 | net/inet/raw.c | unsigned long daddr, unsigned short len, unsigned long saddr, |
saddr | 122 | net/inet/raw.c | skb->saddr = daddr; |
saddr | 123 | net/inet/raw.c | skb->daddr = saddr; |
saddr | 230 | net/inet/raw.c | tmp = sk->prot->build_header(skb, sk->saddr, |
saddr | 256 | net/inet/raw.c | iph->saddr = sk->saddr; |
saddr | 25 | net/inet/raw.h | unsigned long saddr, struct inet_protocol *protocol); |
saddr | 28 | net/inet/raw.h | unsigned short len, unsigned long saddr, |
saddr | 512 | net/inet/skbuff.c | n->saddr=skb->saddr; |
saddr | 426 | net/inet/sock.c | skb->saddr, skb->len, skb->daddr, 1, |
saddr | 103 | net/inet/sock.h | unsigned long saddr; |
saddr | 204 | net/inet/sock.h | unsigned long saddr, |
saddr | 219 | net/inet/sock.h | unsigned short len, unsigned long saddr, |
saddr | 308 | net/inet/tcp.c | unsigned long saddr, struct inet_protocol *protocol) |
saddr | 318 | net/inet/tcp.c | sk = get_sock(&tcp_prot, th->source/*dest*/, daddr, th->dest/*source*/, saddr); |
saddr | 571 | net/inet/tcp.c | unsigned long saddr, unsigned long daddr) |
saddr | 575 | net/inet/tcp.c | if (saddr == 0) saddr = ip_my_addr(); |
saddr | 588 | net/inet/tcp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_TCP*256) |
saddr | 652 | net/inet/tcp.c | void tcp_send_check(struct tcphdr *th, unsigned long saddr, |
saddr | 656 | net/inet/tcp.c | th->check = tcp_check(th, len, saddr, daddr); |
saddr | 715 | net/inet/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
saddr | 808 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev, |
saddr | 856 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, daddr, sizeof(*t1), sk); |
saddr | 1148 | net/inet/tcp.c | tmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
saddr | 1273 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
saddr | 1300 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
saddr | 1677 | net/inet/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
saddr | 1719 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
saddr | 1787 | net/inet/tcp.c | static void tcp_reset(unsigned long saddr, unsigned long daddr, struct tcphdr *th, |
saddr | 1815 | net/inet/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
saddr | 1858 | net/inet/tcp.c | tcp_send_check(t1, saddr, daddr, sizeof(*t1), NULL); |
saddr | 1941 | net/inet/tcp.c | unsigned long daddr, unsigned long saddr, |
saddr | 1962 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
saddr | 2047 | net/inet/tcp.c | newsk->daddr = saddr; |
saddr | 2048 | net/inet/tcp.c | newsk->saddr = daddr; |
saddr | 2078 | net/inet/tcp.c | rt=ip_rt_route(saddr, NULL,NULL); |
saddr | 2092 | net/inet/tcp.c | if ((saddr ^ daddr) & default_mask(saddr)) |
saddr | 2094 | net/inet/tcp.c | if ((saddr ^ daddr) & dev->pa_mask) |
saddr | 2134 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
saddr | 2183 | net/inet/tcp.c | tcp_send_check(t1, daddr, saddr, sizeof(*t1)+4, newsk); |
saddr | 2340 | net/inet/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
saddr | 2384 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
saddr | 2476 | net/inet/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
saddr | 2528 | net/inet/tcp.c | static int tcp_ack(struct sock *sk, struct tcphdr *th, unsigned long saddr, int len) |
saddr | 3059 | net/inet/tcp.c | unsigned long saddr, unsigned short len) |
saddr | 3081 | net/inet/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq,sk, th, saddr); |
saddr | 3099 | net/inet/tcp.c | tcp_reset(sk->saddr, sk->daddr, skb->h.th, |
saddr | 3327 | net/inet/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq, sk, th, saddr); |
saddr | 3334 | net/inet/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq, sk, th, saddr); |
saddr | 3380 | net/inet/tcp.c | unsigned long saddr, unsigned long len) |
saddr | 3419 | net/inet/tcp.c | unsigned long saddr, struct device *dev) |
saddr | 3597 | net/inet/tcp.c | if(sk->saddr == usin->sin_addr.s_addr && sk->num==ntohs(usin->sin_port)) |
saddr | 3633 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
saddr | 3673 | net/inet/tcp.c | if ((sk->saddr ^ sk->daddr) & default_mask(sk->saddr)) |
saddr | 3675 | net/inet/tcp.c | if ((sk->saddr ^ sk->daddr) & dev->pa_mask) |
saddr | 3699 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, |
saddr | 3724 | net/inet/tcp.c | struct options *opt, unsigned long saddr, struct device *dev) |
saddr | 3765 | net/inet/tcp.c | tcp_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
saddr | 3770 | net/inet/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq, sk, th, saddr); |
saddr | 3795 | net/inet/tcp.c | unsigned long saddr, int redo, struct inet_protocol * protocol) |
saddr | 3824 | net/inet/tcp.c | sk = get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
saddr | 3836 | net/inet/tcp.c | if (tcp_check(th, len, saddr, daddr )) |
saddr | 3852 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
saddr | 3863 | net/inet/tcp.c | skb->saddr = daddr; |
saddr | 3864 | net/inet/tcp.c | skb->daddr = saddr; |
saddr | 3927 | net/inet/tcp.c | if(th->ack && !tcp_ack(sk, th, saddr, len)) |
saddr | 3951 | net/inet/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq, sk, th , saddr); |
saddr | 3968 | net/inet/tcp.c | if(!tcp_sequence(sk, th, len, opt, saddr, dev)) |
saddr | 3974 | net/inet/tcp.c | if(th->ack && !tcp_ack(sk, th, saddr, len)) |
saddr | 3980 | net/inet/tcp.c | if(tcp_data(skb, sk, saddr, len)) |
saddr | 4021 | net/inet/tcp.c | if (!tcp_sequence(sk, th, len, opt, saddr,dev)) |
saddr | 4059 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt,dev, sk->ip_tos,sk->ip_ttl); |
saddr | 4068 | net/inet/tcp.c | if (th->ack && !tcp_ack(sk, th, saddr, len)) { |
saddr | 4074 | net/inet/tcp.c | if (tcp_urg(sk, th, saddr, len)) { |
saddr | 4081 | net/inet/tcp.c | if (tcp_data(skb, sk, saddr, len)) { |
saddr | 4087 | net/inet/tcp.c | if (th->fin && tcp_fin(skb, sk, th, saddr, dev)) { |
saddr | 4106 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
saddr | 4119 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
saddr | 4133 | net/inet/tcp.c | tcp_conn_request(sk, skb, daddr, saddr, opt, dev); |
saddr | 4152 | net/inet/tcp.c | if (!tcp_sequence(sk, th, len, opt, saddr,dev)) |
saddr | 4189 | net/inet/tcp.c | if (!tcp_ack(sk, th, saddr, len)) |
saddr | 4192 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, |
saddr | 4217 | net/inet/tcp.c | if (!tcp_ack(sk, th, saddr, len)) |
saddr | 4220 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, |
saddr | 4264 | net/inet/tcp.c | if (tcp_urg(sk, th, saddr, len)) |
saddr | 4271 | net/inet/tcp.c | if (tcp_data(skb, sk, saddr, len)) |
saddr | 4275 | net/inet/tcp.c | tcp_fin(skb, sk, th, saddr, dev); |
saddr | 4282 | net/inet/tcp.c | if (tcp_urg(sk, th, saddr, len)) |
saddr | 4289 | net/inet/tcp.c | if (tcp_data(skb, sk, saddr, len)) |
saddr | 4301 | net/inet/tcp.c | tcp_fin(skb, sk, th, saddr, dev); |
saddr | 4349 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
saddr | 4378 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
saddr | 117 | net/inet/tcp.h | unsigned long saddr, struct inet_protocol *protocol); |
saddr | 121 | net/inet/tcp.h | unsigned short len, unsigned long saddr, int redo, |
saddr | 127 | net/inet/tcp.h | extern void tcp_send_check(struct tcphdr *th, unsigned long saddr, |
saddr | 98 | net/inet/udp.c | unsigned long saddr, struct inet_protocol *protocol) |
saddr | 112 | net/inet/udp.c | sk = get_sock(&udp_prot, th->source, daddr, th->dest, saddr); |
saddr | 153 | net/inet/udp.c | static unsigned short udp_check(struct udphdr *uh, int len, unsigned long saddr, unsigned long daddr) |
saddr | 161 | net/inet/udp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_UDP*256) |
saddr | 231 | net/inet/udp.c | static void udp_send_check(struct udphdr *uh, unsigned long saddr, |
saddr | 237 | net/inet/udp.c | uh->check = udp_check(uh, len, saddr, daddr); |
saddr | 256 | net/inet/udp.c | unsigned long saddr; |
saddr | 279 | net/inet/udp.c | saddr = 0; |
saddr | 281 | net/inet/udp.c | tmp = sk->prot->build_header(skb, saddr, sin->sin_addr.s_addr, |
saddr | 296 | net/inet/udp.c | saddr = skb->saddr; /*dev->pa_addr;*/ |
saddr | 320 | net/inet/udp.c | udp_send_check(uh, saddr, sin->sin_addr.s_addr, skb->len - tmp, sk); |
saddr | 554 | net/inet/udp.c | unsigned long saddr, int redo, struct inet_protocol *protocol) |
saddr | 582 | net/inet/udp.c | sk = get_sock(&udp_prot, uh->dest, saddr, uh->source, daddr); |
saddr | 599 | net/inet/udp.c | if (uh->check && udp_check(uh, len, saddr, daddr)) |
saddr | 615 | net/inet/udp.c | skb->daddr = saddr; |
saddr | 616 | net/inet/udp.c | skb->saddr = daddr; |
saddr | 35 | net/inet/udp.h | unsigned long saddr, struct inet_protocol *protocol); |
saddr | 45 | net/inet/udp.h | unsigned short len, unsigned long saddr, int redo, |