tag | line | file | source code |
saddr | 438 | net/tcp/arp.c | arp_snd (unsigned long paddr, struct device *dev, unsigned long saddr) |
saddr | 444 | net/tcp/arp.c | PRINTK (("arp_snd (paddr=%X, dev=%X, saddr=%X)\n",paddr, dev, saddr)); |
saddr | 465 | net/tcp/arp.c | ETHERTYPE_ARP, 0, saddr, skb->len); |
saddr | 478 | net/tcp/arp.c | *arp_sourcep(arp) = saddr; |
saddr | 489 | net/tcp/arp.c | unsigned long saddr) |
saddr | 493 | net/tcp/arp.c | haddr, paddr, dev, saddr)); |
saddr | 525 | net/tcp/arp.c | arp_snd(paddr,dev,saddr); |
saddr | 82 | net/tcp/dev.h | unsigned long saddr, unsigned len); |
saddr | 74 | net/tcp/eth.c | PRINTK (("0x%2X ",eth->saddr[i])); |
saddr | 90 | net/tcp/eth.c | unsigned long saddr, unsigned len) |
saddr | 95 | net/tcp/eth.c | memcpy (eth->saddr, dev->dev_addr, dev->addr_len); |
saddr | 101 | net/tcp/eth.c | if (!arp_find (eth->daddr, daddr, dev, saddr)) |
saddr | 107 | net/tcp/eth.c | *(unsigned long *)eth->saddr = saddr; |
saddr | 118 | net/tcp/eth.c | *(unsigned long *)eth->saddr)) |
saddr | 120 | net/tcp/eth.c | memcpy (eth->saddr, dev->dev_addr, dev->addr_len); |
saddr | 129 | net/tcp/eth.c | arp_add (addr, eh->saddr, dev); |
saddr | 63 | net/tcp/eth.h | unsigned char saddr[ETHER_ADDR_LEN]; |
saddr | 96 | net/tcp/eth.h | unsigned long saddr, unsigned len); |
saddr | 151 | net/tcp/icmp.c | offset = ip_build_header( skb, iph->daddr, iph->saddr, |
saddr | 180 | net/tcp/icmp.c | unsigned long saddr, int redo, struct ip_protocol *protocol ) |
saddr | 244 | net/tcp/icmp.c | iph->daddr, iph->saddr, ipprot); |
saddr | 294 | net/tcp/icmp.c | offset = ip_build_header( skb, daddr, saddr, &dev, IPPROTO_ICMP, opt, len ); |
saddr | 73 | net/tcp/icmp.h | unsigned long saddr, int redo, struct ip_protocol *protocol); |
saddr | 512 | net/tcp/ip.c | ip_build_header (struct sk_buff *skb, unsigned long saddr, |
saddr | 522 | net/tcp/ip.c | if (saddr == 0) saddr = MY_IP_ADDR; |
saddr | 525 | net/tcp/ip.c | skb, saddr, daddr, *dev, type, opt, len)); |
saddr | 549 | net/tcp/ip.c | tmp = (*dev)->hard_header(buff, *dev, ETHERTYPE_IP, raddr, saddr, len); |
saddr | 574 | net/tcp/ip.c | iph->saddr = saddr; |
saddr | 835 | net/tcp/ip.c | PRINTK((" SRC = %s ", in_ntoa(iph->saddr))); |
saddr | 848 | net/tcp/ip.c | printk(" SRC = %s ", in_ntoa(iph->saddr)); |
saddr | 891 | net/tcp/ip.c | iph->saddr, 0, ipprot); |
saddr | 1045 | net/tcp/ip.c | PRINTK ((" saddr = %X, daddr = %X\n",ip->saddr, ip->daddr)); |
saddr | 100 | net/tcp/ip.h | unsigned long saddr; |
saddr | 140 | net/tcp/ip.h | unsigned short len, unsigned long saddr, |
saddr | 143 | net/tcp/ip.h | unsigned long saddr, struct ip_protocol *ipprot); |
saddr | 169 | net/tcp/ip.h | int ip_build_header(struct sk_buff *skb, unsigned long saddr, |
saddr | 139 | net/tcp/packet.c | struct sockaddr saddr; |
saddr | 148 | net/tcp/packet.c | if (addr_len < sizeof (saddr)) |
saddr | 151 | net/tcp/packet.c | memcpy_fromfs (&saddr, usin, sizeof(saddr)); |
saddr | 169 | net/tcp/packet.c | saddr.sa_data[13] = 0; |
saddr | 170 | net/tcp/packet.c | dev = get_dev (saddr.sa_data); |
saddr | 233 | net/tcp/packet.c | struct sockaddr *saddr; |
saddr | 234 | net/tcp/packet.c | saddr = (struct sockaddr *)sin; |
saddr | 244 | net/tcp/packet.c | put_fs_long (sizeof (*saddr), addr_len); |
saddr | 287 | net/tcp/packet.c | if (saddr) |
saddr | 292 | net/tcp/packet.c | verify_area (VERIFY_WRITE, saddr, sizeof (*saddr)); |
saddr | 293 | net/tcp/packet.c | memcpy_tofs(saddr, &addr, sizeof (*saddr)); |
saddr | 38 | net/tcp/protocols.c | unsigned long saddr, int redo, struct ip_protocol *protocol); |
saddr | 41 | net/tcp/protocols.c | unsigned long saddr, struct ip_protocol *protocol); |
saddr | 46 | net/tcp/protocols.c | unsigned long saddr, int redo, struct ip_protocol *protocol); |
saddr | 49 | net/tcp/protocols.c | unsigned long saddr, struct ip_protocol *protocol); |
saddr | 53 | net/tcp/protocols.c | unsigned long saddr, int redo, struct ip_protocol *protocol); |
saddr | 103 | net/tcp/raw.c | unsigned long saddr, struct ip_protocol *protocol) |
saddr | 138 | net/tcp/raw.c | unsigned long daddr, unsigned short len, unsigned long saddr, |
saddr | 146 | net/tcp/raw.c | skb, dev, opt, daddr, len, saddr, redo, protocol)); |
saddr | 165 | net/tcp/raw.c | skb->saddr = daddr; |
saddr | 166 | net/tcp/raw.c | skb->daddr = saddr; |
saddr | 301 | net/tcp/raw.c | tmp = sk->prot->build_header (skb, sk->saddr, |
saddr | 207 | net/tcp/sock.c | printk (" daddr = %X, saddr = %X\n", sk->daddr,sk->saddr); |
saddr | 386 | net/tcp/sock.c | if (mask & sk->saddr) |
saddr | 399 | net/tcp/sock.c | if (!(sk2->saddr & mask)) |
saddr | 1057 | net/tcp/sock.c | sk->saddr = MY_IP_ADDR; |
saddr | 1209 | net/tcp/sock.c | sk->saddr = addr.sin_addr.s_addr; |
saddr | 1220 | net/tcp/sock.c | if (sk2->saddr != sk->saddr) continue; |
saddr | 1409 | net/tcp/sock.c | if (sk->saddr == 0) |
saddr | 1412 | net/tcp/sock.c | sin.sin_addr.s_addr = sk->saddr; |
saddr | 1823 | net/tcp/sock.c | if (!ip_addr_match (s->saddr, laddr)) |
saddr | 1870 | net/tcp/sock.c | skb->saddr, skb->len, skb->daddr, 1, |
saddr | 86 | net/tcp/sock.h | unsigned long saddr; |
saddr | 129 | net/tcp/sock.h | int (*build_header) (struct sk_buff *skb, unsigned long saddr, |
saddr | 142 | net/tcp/sock.h | unsigned long saddr, int redo, struct ip_protocol *protocol); |
saddr | 185 | net/tcp/sock.h | unsigned long saddr; |
saddr | 211 | net/tcp/tcp.c | unsigned long saddr, struct ip_protocol *protocol) |
saddr | 217 | net/tcp/tcp.c | err, header, daddr, saddr, protocol)); |
saddr | 220 | net/tcp/tcp.c | sk = get_sock (&tcp_prot, net16(th->dest), saddr, th->source, daddr); |
saddr | 444 | net/tcp/tcp.c | tcp_check (struct tcp_header *th, int len, unsigned long saddr, |
saddr | 449 | net/tcp/tcp.c | if (saddr == 0) saddr = MY_IP_ADDR; |
saddr | 455 | net/tcp/tcp.c | : "0" (daddr), "c" (saddr), "d" ((net16(len) << 16) + IPPROTO_TCP*256) |
saddr | 512 | net/tcp/tcp.c | tcp_send_check (struct tcp_header *th, unsigned long saddr, |
saddr | 518 | net/tcp/tcp.c | th->check = tcp_check (th, len, saddr, daddr); |
saddr | 531 | net/tcp/tcp.c | tcp_send_check (skb->h.th, sk->saddr, sk->daddr, |
saddr | 599 | net/tcp/tcp.c | tmp = sk->prot->build_header (buff, sk->saddr, daddr, &dev, |
saddr | 640 | net/tcp/tcp.c | tcp_send_check (t1, sk->saddr, daddr, sizeof (*t1), sk); |
saddr | 882 | net/tcp/tcp.c | tmp = prot->build_header (skb, sk->saddr, sk->daddr, &dev, |
saddr | 927 | net/tcp/tcp.c | tcp_send_check ((struct tcp_header *)buff, sk->saddr, sk->daddr, |
saddr | 1014 | net/tcp/tcp.c | tmp = sk->prot->build_header (buff, sk->saddr, sk->daddr, &dev, |
saddr | 1040 | net/tcp/tcp.c | tcp_send_check (t1, sk->saddr, sk->daddr, sizeof (*t1), sk); |
saddr | 1470 | net/tcp/tcp.c | tmp = prot->build_header (buff,sk->saddr, sk->daddr, &dev, |
saddr | 1499 | net/tcp/tcp.c | tcp_send_check (t1, sk->saddr, sk->daddr, sizeof (*t1), sk); |
saddr | 1552 | net/tcp/tcp.c | tcp_reset(unsigned long saddr, unsigned long daddr, struct tcp_header *th, |
saddr | 1573 | net/tcp/tcp.c | tmp = prot->build_header (buff, saddr, daddr, &dev, IPPROTO_TCP, opt, |
saddr | 1595 | net/tcp/tcp.c | tcp_send_check (t1, saddr, daddr, sizeof (*t1), NULL); |
saddr | 1609 | net/tcp/tcp.c | unsigned long saddr, struct options *opt, struct device *dev) |
saddr | 1621 | net/tcp/tcp.c | sk, skb, daddr, saddr, opt, dev)); |
saddr | 1631 | net/tcp/tcp.c | tcp_reset (daddr, saddr, th, sk->prot, opt, dev); |
saddr | 1697 | net/tcp/tcp.c | newsk->daddr=saddr; |
saddr | 1698 | net/tcp/tcp.c | newsk->saddr=daddr; |
saddr | 1750 | net/tcp/tcp.c | tmp = sk->prot->build_header (buff, newsk->saddr, newsk->daddr, &dev, |
saddr | 1792 | net/tcp/tcp.c | tcp_send_check (t1, daddr, saddr, sizeof (*t1)+4, newsk); |
saddr | 1923 | net/tcp/tcp.c | tmp = prot->build_header (buff,sk->saddr, sk->daddr, &dev, |
saddr | 1950 | net/tcp/tcp.c | tcp_send_check (t1, sk->saddr, sk->daddr, sizeof (*t1), sk); |
saddr | 2022 | net/tcp/tcp.c | tcp_ack (volatile struct sock *sk, struct tcp_header *th, unsigned long saddr) |
saddr | 2306 | net/tcp/tcp.c | unsigned long saddr, unsigned short len) |
saddr | 2323 | net/tcp/tcp.c | tcp_send_ack (sk->send_seq, sk->acked_seq,sk, th, saddr); |
saddr | 2331 | net/tcp/tcp.c | tcp_reset (sk->saddr, sk->daddr, skb->h.th, |
saddr | 2451 | net/tcp/tcp.c | tcp_send_ack (sk->send_seq, sk->acked_seq,sk,th, saddr); |
saddr | 2466 | net/tcp/tcp.c | tcp_send_ack (sk->send_seq, sk->acked_seq, sk, th, saddr); |
saddr | 2484 | net/tcp/tcp.c | tcp_send_ack (sk->send_seq, sk->acked_seq, sk, th, saddr); |
saddr | 2494 | net/tcp/tcp.c | tcp_urg (volatile struct sock *sk, struct tcp_header *th, unsigned long saddr) |
saddr | 2532 | net/tcp/tcp.c | unsigned long saddr, struct device *dev) |
saddr | 2535 | net/tcp/tcp.c | sk, th, saddr, dev)); |
saddr | 2591 | net/tcp/tcp.c | tmp = sk->prot->build_header (buff, sk->saddr, sk->daddr, &dev, |
saddr | 2628 | net/tcp/tcp.c | tcp_send_check (t1, sk->saddr, sk->daddr, sizeof (*t1), sk); |
saddr | 2743 | net/tcp/tcp.c | tmp = sk->prot->build_header (buff, sk->saddr, sk->daddr, &dev, |
saddr | 2774 | net/tcp/tcp.c | tcp_send_check (t1, sk->saddr, sk->daddr, |
saddr | 2796 | net/tcp/tcp.c | struct options *opt, unsigned long saddr) |
saddr | 2804 | net/tcp/tcp.c | sk, th, len, opt, saddr)); |
saddr | 2821 | net/tcp/tcp.c | tcp_send_ack (sk->send_seq, sk->acked_seq, sk, th, saddr); |
saddr | 2832 | net/tcp/tcp.c | tcp_send_ack (net32(th->ack_seq), sk->acked_seq, sk, th, saddr); |
saddr | 2856 | net/tcp/tcp.c | unsigned long saddr, int redo, struct ip_protocol * protocol) |
saddr | 2887 | net/tcp/tcp.c | sk=get_sock(&tcp_prot, net16(th->dest), saddr, th->source, daddr); |
saddr | 2898 | net/tcp/tcp.c | if (th->check && tcp_check (th, len, saddr, daddr )) |
saddr | 2912 | net/tcp/tcp.c | tcp_reset (daddr, saddr, th, &tcp_prot, opt,dev); |
saddr | 2924 | net/tcp/tcp.c | skb->saddr = daddr; |
saddr | 2925 | net/tcp/tcp.c | skb->daddr = saddr; |
saddr | 3009 | net/tcp/tcp.c | if (!tcp_sequence (sk, th, len, opt, saddr)) |
saddr | 3047 | net/tcp/tcp.c | tcp_reset (daddr, saddr, th, sk->prot, opt,dev); |
saddr | 3059 | net/tcp/tcp.c | if(!tcp_ack (sk, th, saddr)) |
saddr | 3068 | net/tcp/tcp.c | if (tcp_urg (sk, th, saddr)) |
saddr | 3076 | net/tcp/tcp.c | if (th->fin && tcp_fin (sk, th, saddr, dev)) |
saddr | 3083 | net/tcp/tcp.c | if ( tcp_data (skb, sk, saddr, len)) |
saddr | 3107 | net/tcp/tcp.c | tcp_reset (daddr, saddr, th, sk->prot, opt,dev); |
saddr | 3122 | net/tcp/tcp.c | tcp_reset (daddr, saddr, th, sk->prot, opt,dev ); |
saddr | 3142 | net/tcp/tcp.c | tcp_conn_request (sk, skb, daddr, saddr, opt, dev); |
saddr | 3153 | net/tcp/tcp.c | if (!tcp_sequence (sk, th, len, opt, saddr)) |
saddr | 3180 | net/tcp/tcp.c | tcp_reset (daddr, saddr, th, sk->prot, opt, dev); |
saddr | 3205 | net/tcp/tcp.c | if (!tcp_ack(sk, th, saddr)) |
saddr | 3207 | net/tcp/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt,dev); |
saddr | 3230 | net/tcp/tcp.c | if (!tcp_ack(sk, th, saddr)) |
saddr | 3232 | net/tcp/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev); |
saddr | 3254 | net/tcp/tcp.c | if (tcp_urg (sk, th, saddr)) |
saddr | 3260 | net/tcp/tcp.c | if (tcp_data (skb, sk, saddr, len)) |
saddr | 3264 | net/tcp/tcp.c | tcp_fin(sk, th, saddr, dev); |
saddr | 3272 | net/tcp/tcp.c | if (tcp_urg (sk, th, saddr)) |
saddr | 3280 | net/tcp/tcp.c | if (tcp_data (skb, sk, saddr, len)) |
saddr | 3292 | net/tcp/tcp.c | tcp_fin (sk, th, saddr, dev); |
saddr | 3325 | net/tcp/tcp.c | tmp = sk->prot->build_header (buff, sk->saddr, sk->daddr, &dev, |
saddr | 3352 | net/tcp/tcp.c | tcp_send_check (t1, sk->saddr, sk->daddr, sizeof (*t1), sk); |
saddr | 145 | net/tcp/udp.c | unsigned long saddr, struct ip_protocol *protocol) |
saddr | 153 | net/tcp/udp.c | sk = get_sock (&udp_prot, net16(th->dest), saddr, th->source, daddr); |
saddr | 176 | net/tcp/udp.c | unsigned long saddr, unsigned long daddr) |
saddr | 180 | net/tcp/udp.c | uh, len, saddr, daddr)); |
saddr | 188 | net/tcp/udp.c | : "0" (daddr), "c" (saddr), "d" ((net16(len) << 16) + IPPROTO_UDP*256) |
saddr | 244 | net/tcp/udp.c | udp_send_check (struct udp_header *uh, unsigned long saddr, |
saddr | 249 | net/tcp/udp.c | uh->check = udp_check (uh, len, saddr, daddr); |
saddr | 255 | net/tcp/udp.c | int len, unsigned long daddr, unsigned long saddr) |
saddr | 264 | net/tcp/udp.c | pair = get_sock (sk->prot, net16(port), saddr, |
saddr | 279 | net/tcp/udp.c | skb->daddr = saddr; |
saddr | 280 | net/tcp/udp.c | skb->saddr = daddr; |
saddr | 321 | net/tcp/udp.c | unsigned long saddr; |
saddr | 357 | net/tcp/udp.c | saddr = sk->saddr; |
saddr | 358 | net/tcp/udp.c | if ((saddr & 0xff000000) == 0) |
saddr | 360 | net/tcp/udp.c | saddr = MY_IP_ADDR; |
saddr | 368 | net/tcp/udp.c | sin.sin_addr.s_addr, saddr); |
saddr | 414 | net/tcp/udp.c | tmp = sk->prot->build_header (skb, saddr, |
saddr | 455 | net/tcp/udp.c | udp_send_check (uh, saddr, sin.sin_addr.s_addr, |
saddr | 643 | net/tcp/udp.c | unsigned long saddr, int redo, struct ip_protocol *protocol) |
saddr | 652 | net/tcp/udp.c | if (dev->add_arp) dev->add_arp (saddr, skb, dev); |
saddr | 654 | net/tcp/udp.c | sk = get_sock (prot, net16(uh->dest), saddr, uh->source, daddr); |
saddr | 672 | net/tcp/udp.c | if (uh->check && udp_check (uh, len, saddr, daddr)) |
saddr | 685 | net/tcp/udp.c | skb->daddr = saddr; |
saddr | 686 | net/tcp/udp.c | skb->saddr = daddr; |