tag | line | file | source code |
saddr | 378 | drivers/net/arcnet.c | void *daddr,void *saddr,unsigned len,struct sk_buff *skb); |
saddr | 1517 | drivers/net/arcnet.c | u_char pkttype,daddr,saddr; |
saddr | 1520 | drivers/net/arcnet.c | saddr=arcpacket->hardheader.source; |
saddr | 1523 | drivers/net/arcnet.c | if (saddr==0) |
saddr | 1564 | drivers/net/arcnet.c | struct Incoming *in=&lp->incoming[saddr]; |
saddr | 1599 | drivers/net/arcnet.c | saddr,daddr,length,pkttype); |
saddr | 1636 | drivers/net/arcnet.c | saddr); |
saddr | 1637 | drivers/net/arcnet.c | *cptr=saddr; |
saddr | 1674 | drivers/net/arcnet.c | struct Incoming *in=&lp->incoming[saddr]; |
saddr | 1795 | drivers/net/arcnet.c | saddr,daddr,length,pkttype); |
saddr | 1963 | drivers/net/arcnet.c | void *daddr,void *saddr,unsigned len,struct sk_buff *skb) |
saddr | 1995 | drivers/net/arcnet.c | if(saddr) |
saddr | 1996 | drivers/net/arcnet.c | memcpy(eth->h_source,saddr,dev->addr_len); |
saddr | 123 | drivers/net/ppp.c | unsigned long saddr, unsigned len); |
saddr | 1142 | drivers/net/ppp.c | iph->saddr, iph->daddr, count)) |
saddr | 1774 | drivers/net/ppp.c | dev->name, (int) proto, (int) len, (int) iph->saddr, |
saddr | 1832 | drivers/net/ppp.c | unsigned long daddr, unsigned long saddr, unsigned len) |
saddr | 1852 | drivers/net/ppp.c | void *daddr, void *saddr, unsigned len, struct sk_buff *skb) |
saddr | 294 | drivers/net/slhc.c | if( ip->saddr == cs->cs_ip.saddr |
saddr | 479 | drivers/net/slip.c | void *daddr, void *saddr, unsigned len, struct sk_buff *skb) |
saddr | 486 | 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 | 115 | include/linux/ip.h | __u32 saddr; |
saddr | 146 | include/linux/netdevice.h | void *saddr, |
saddr | 65 | include/linux/skbuff.h | unsigned long saddr; |
saddr | 187 | net/inet/af_inet.c | if ((mask & sk->saddr) && |
saddr | 188 | net/inet/af_inet.c | (mask & sk->saddr) != (mask & 0xffffffff)) |
saddr | 198 | net/inet/af_inet.c | if (!(sk2->saddr & mask)) |
saddr | 667 | net/inet/af_inet.c | sk->saddr = 0 /* ip_my_addr() */; |
saddr | 868 | net/inet/af_inet.c | sk->saddr = addr->sin_addr.s_addr; |
saddr | 888 | net/inet/af_inet.c | if (sk2->saddr != sk->saddr) |
saddr | 1115 | net/inet/af_inet.c | if (sk->saddr == 0) |
saddr | 1118 | net/inet/af_inet.c | sin->sin_addr.s_addr = sk->saddr; |
saddr | 1380 | net/inet/af_inet.c | if (s->saddr) { |
saddr | 1381 | net/inet/af_inet.c | if (s->saddr != laddr) |
saddr | 1430 | net/inet/af_inet.c | if(s->saddr && s->saddr!=laddr) |
saddr | 1473 | net/inet/af_inet.c | if(s->saddr && s->saddr!=laddr) |
saddr | 798 | net/inet/arp.c | unsigned long saddr, struct sk_buff *skb) |
saddr | 919 | 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 | 85 | net/inet/eth.c | void *daddr, void *saddr, unsigned len, |
saddr | 104 | net/inet/eth.c | if(saddr) |
saddr | 105 | net/inet/eth.c | memcpy(eth->h_source,saddr,dev->addr_len); |
saddr | 29 | net/inet/eth.h | unsigned long saddr, unsigned len); |
saddr | 230 | net/inet/icmp.c | offset = ip_build_header(skb, our_addr, iph->saddr, |
saddr | 330 | net/inet/icmp.c | iph->daddr, iph->saddr, ipprot); |
saddr | 409 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
saddr | 432 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, |
saddr | 476 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
saddr | 513 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, IPPROTO_ICMP, opt, len, |
saddr | 565 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
saddr | 578 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
saddr | 603 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, |
saddr | 648 | net/inet/icmp.c | unsigned long saddr, int redo, struct inet_protocol *protocol) |
saddr | 676 | net/inet/icmp.c | printk("ICMP: failed checksum from %s!\n", in_ntoa(saddr)); |
saddr | 712 | net/inet/icmp.c | icmp_redirect(icmph, skb1, dev, saddr); |
saddr | 716 | net/inet/icmp.c | icmp_echo(icmph, skb1, dev, saddr, daddr, len, opt); |
saddr | 724 | net/inet/icmp.c | icmp_timestamp(icmph, skb1, dev, saddr, daddr, len, opt); |
saddr | 732 | net/inet/icmp.c | icmp_info(icmph, skb1, dev, saddr, daddr, len, opt); |
saddr | 740 | 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 | 194 | net/inet/igmp.c | unsigned long daddr, unsigned short len, unsigned long saddr, int redo, |
saddr | 195 | net/inet/ip.c | static int ip_send(struct sk_buff *skb, unsigned long daddr, int len, struct device *dev, unsigned long saddr) |
saddr | 226 | net/inet/ip.c | int ip_build_header(struct sk_buff *skb, unsigned long saddr, unsigned long daddr, |
saddr | 264 | net/inet/ip.c | if (LOOPBACK(saddr) && !LOOPBACK(daddr)) |
saddr | 265 | net/inet/ip.c | saddr = src;/*rt->rt_dev->pa_addr;*/ |
saddr | 283 | net/inet/ip.c | if (LOOPBACK(saddr) && !LOOPBACK(daddr)) |
saddr | 284 | net/inet/ip.c | saddr = src;/*rt->rt_dev->pa_addr;*/ |
saddr | 292 | net/inet/ip.c | if (saddr == 0) |
saddr | 293 | net/inet/ip.c | saddr = src; |
saddr | 305 | net/inet/ip.c | tmp = ip_send(skb, raddr, len, *dev, saddr); |
saddr | 314 | net/inet/ip.c | skb->saddr = saddr; |
saddr | 316 | net/inet/ip.c | skb->sk->saddr = saddr; |
saddr | 336 | 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 | 1657 | net/inet/ip.c | raw_sk=get_sock_raw(raw_sk, hash, iph->saddr, iph->daddr); |
saddr | 1663 | net/inet/ip.c | sknext=get_sock_raw(raw_sk->next, hash, iph->saddr, iph->daddr); |
saddr | 1669 | net/inet/ip.c | raw_rcv(raw_sk, skb1, dev, iph->saddr,iph->daddr); |
saddr | 1714 | net/inet/ip.c | iph->saddr, 0, ipprot); |
saddr | 1726 | net/inet/ip.c | raw_rcv(raw_sk, skb, dev, iph->saddr, iph->daddr); |
saddr | 1754 | net/inet/ip.c | newskb->saddr=skb->saddr; |
saddr | 1764 | net/inet/ip.c | newskb->ip_hdr=(struct iphdr *)(newskb->data+ip_send(newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr)); |
saddr | 81 | net/inet/ip.h | unsigned long saddr, |
saddr | 158 | net/inet/ip_fw.c | src = ip->saddr; |
saddr | 178 | net/inet/ip_fw.c | src = ip->saddr; |
saddr | 215 | net/inet/ip_fw.c | dprint_ip(ip->saddr); |
saddr | 308 | net/inet/ip_fw.c | print_ip(ip->saddr); |
saddr | 146 | net/inet/packet.c | struct sockaddr *saddr=(struct sockaddr *)usin; |
saddr | 161 | net/inet/packet.c | if (addr_len < sizeof(*saddr)) |
saddr | 171 | net/inet/packet.c | saddr->sa_data[13] = 0; |
saddr | 172 | net/inet/packet.c | dev = dev_get(saddr->sa_data); |
saddr | 290 | net/inet/packet.c | struct sockaddr *saddr; |
saddr | 294 | net/inet/packet.c | saddr = (struct sockaddr *)sin; |
saddr | 305 | net/inet/packet.c | *addr_len=sizeof(*saddr); |
saddr | 338 | net/inet/packet.c | if (saddr) |
saddr | 340 | net/inet/packet.c | saddr->sa_family = skb->dev->type; |
saddr | 341 | 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 | 67 | net/inet/raw.c | unsigned long saddr, struct inet_protocol *protocol) |
saddr | 97 | net/inet/raw.c | int raw_rcv(struct sock *sk, struct sk_buff *skb, struct device *dev, long saddr, long daddr) |
saddr | 104 | net/inet/raw.c | skb->saddr = daddr; |
saddr | 105 | net/inet/raw.c | skb->daddr = saddr; |
saddr | 181 | net/inet/raw.c | tmp = sk->prot->build_header(skb, sk->saddr, |
saddr | 207 | net/inet/raw.c | iph->saddr = sk->saddr; |
saddr | 25 | net/inet/raw.h | unsigned long saddr, struct inet_protocol *protocol); |
saddr | 514 | net/inet/skbuff.c | n->saddr=skb->saddr; |
saddr | 558 | net/inet/sock.c | skb->saddr, skb->len, skb->daddr, 1, |
saddr | 110 | net/inet/sock.h | unsigned long saddr; |
saddr | 227 | net/inet/sock.h | unsigned long saddr, |
saddr | 242 | net/inet/sock.h | unsigned short len, unsigned long saddr, |
saddr | 458 | net/inet/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
saddr | 751 | net/inet/tcp.c | unsigned long saddr, struct inet_protocol *protocol) |
saddr | 761 | net/inet/tcp.c | sk = get_sock(&tcp_prot, th->source, daddr, th->dest, saddr); |
saddr | 1017 | net/inet/tcp.c | unsigned long saddr, unsigned long daddr) |
saddr | 1021 | net/inet/tcp.c | if (saddr == 0) saddr = ip_my_addr(); |
saddr | 1034 | net/inet/tcp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_TCP*256) |
saddr | 1098 | net/inet/tcp.c | void tcp_send_check(struct tcphdr *th, unsigned long saddr, |
saddr | 1102 | net/inet/tcp.c | th->check = tcp_check(th, len, saddr, daddr); |
saddr | 1199 | net/inet/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
saddr | 1341 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev, |
saddr | 1400 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, daddr, sizeof(*t1), sk); |
saddr | 1692 | net/inet/tcp.c | tmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
saddr | 1827 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
saddr | 1854 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
saddr | 2334 | net/inet/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
saddr | 2374 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
saddr | 2490 | net/inet/tcp.c | static void tcp_reset(unsigned long saddr, unsigned long daddr, struct tcphdr *th, |
saddr | 2525 | net/inet/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
saddr | 2568 | net/inet/tcp.c | tcp_send_check(t1, saddr, daddr, sizeof(*t1), NULL); |
saddr | 2671 | net/inet/tcp.c | unsigned long daddr, unsigned long saddr, |
saddr | 2694 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
saddr | 2784 | net/inet/tcp.c | newsk->daddr = saddr; |
saddr | 2785 | net/inet/tcp.c | newsk->saddr = daddr; |
saddr | 2816 | net/inet/tcp.c | rt=ip_rt_route(saddr, NULL,NULL); |
saddr | 2830 | net/inet/tcp.c | if ((saddr ^ daddr) & default_mask(saddr)) |
saddr | 2832 | net/inet/tcp.c | if ((saddr ^ daddr) & dev->pa_mask) |
saddr | 2874 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
saddr | 2924 | net/inet/tcp.c | tcp_send_check(t1, daddr, saddr, sizeof(*t1)+4, newsk); |
saddr | 3080 | net/inet/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
saddr | 3104 | net/inet/tcp.c | extern __inline__ int tcp_ack(struct sock *sk, struct tcphdr *th, unsigned long saddr, int len) |
saddr | 3795 | net/inet/tcp.c | unsigned long saddr, unsigned short len) |
saddr | 3820 | net/inet/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq,sk, th, saddr); |
saddr | 3866 | net/inet/tcp.c | tcp_reset(sk->saddr, sk->daddr, skb->h.th, |
saddr | 4090 | net/inet/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq, sk, th, saddr); |
saddr | 4096 | net/inet/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq, sk, th, saddr); |
saddr | 4154 | net/inet/tcp.c | unsigned long saddr, unsigned long len) |
saddr | 4321 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
saddr | 4361 | net/inet/tcp.c | if ((sk->saddr ^ sk->daddr) & default_mask(sk->saddr)) |
saddr | 4363 | net/inet/tcp.c | if ((sk->saddr ^ sk->daddr) & dev->pa_mask) |
saddr | 4387 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, |
saddr | 4416 | net/inet/tcp.c | struct options *opt, unsigned long saddr, struct device *dev) |
saddr | 4458 | net/inet/tcp.c | tcp_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
saddr | 4463 | net/inet/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq, sk, th, saddr); |
saddr | 4505 | net/inet/tcp.c | unsigned long saddr, int redo, struct inet_protocol * protocol) |
saddr | 4537 | net/inet/tcp.c | sk = get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
saddr | 4553 | net/inet/tcp.c | if (tcp_check(th, len, saddr, daddr )) |
saddr | 4571 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
saddr | 4584 | net/inet/tcp.c | skb->saddr = daddr; |
saddr | 4585 | net/inet/tcp.c | skb->daddr = saddr; |
saddr | 4602 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
saddr | 4648 | net/inet/tcp.c | tcp_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
saddr | 4668 | net/inet/tcp.c | tcp_conn_request(sk, skb, daddr, saddr, opt, dev, tcp_init_seq()); |
saddr | 4702 | net/inet/tcp.c | if(!tcp_ack(sk,th,saddr,len)) |
saddr | 4707 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, |
saddr | 4753 | net/inet/tcp.c | if(sk->saddr==saddr && sk->daddr==daddr && |
saddr | 4799 | net/inet/tcp.c | sk=get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
saddr | 4805 | net/inet/tcp.c | tcp_conn_request(sk, skb, daddr, saddr,opt, dev,seq+128000); |
saddr | 4821 | net/inet/tcp.c | if(!tcp_sequence(sk,th,len,opt,saddr,dev)) |
saddr | 4837 | net/inet/tcp.c | tcp_reset(daddr,saddr,th, &tcp_prot, opt, dev, skb->ip_hdr->tos, 255); |
saddr | 4846 | net/inet/tcp.c | if(th->ack && !tcp_ack(sk,th,saddr,len)) |
saddr | 4854 | net/inet/tcp.c | tcp_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
saddr | 4867 | net/inet/tcp.c | if(tcp_urg(sk, th, saddr, len)) |
saddr | 4879 | net/inet/tcp.c | if(tcp_data(skb,sk, saddr, len)) |
saddr | 4937 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
saddr | 4967 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
saddr | 125 | net/inet/tcp.h | unsigned long saddr, struct inet_protocol *protocol); |
saddr | 129 | net/inet/tcp.h | unsigned short len, unsigned long saddr, int redo, |
saddr | 135 | net/inet/tcp.h | extern void tcp_send_check(struct tcphdr *th, unsigned long saddr, |
saddr | 83 | net/inet/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 | 100 | net/inet/udp.c | unsigned long saddr, struct inet_protocol *protocol) |
saddr | 114 | net/inet/udp.c | sk = get_sock(&udp_prot, th->source, daddr, th->dest, saddr); |
saddr | 155 | net/inet/udp.c | static unsigned short udp_check(struct udphdr *uh, int len, unsigned long saddr, unsigned long daddr) |
saddr | 163 | net/inet/udp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_UDP*256) |
saddr | 233 | net/inet/udp.c | static void udp_send_check(struct udphdr *uh, unsigned long saddr, |
saddr | 239 | net/inet/udp.c | uh->check = udp_check(uh, len, saddr, daddr); |
saddr | 258 | net/inet/udp.c | unsigned long saddr; |
saddr | 282 | net/inet/udp.c | saddr = sk->saddr; |
saddr | 289 | net/inet/udp.c | tmp = sk->prot->build_header(skb, saddr, sin->sin_addr.s_addr, |
saddr | 305 | net/inet/udp.c | saddr = skb->saddr; /*dev->pa_addr;*/ |
saddr | 329 | net/inet/udp.c | udp_send_check(uh, saddr, sin->sin_addr.s_addr, skb->len - tmp, sk); |
saddr | 544 | net/inet/udp.c | sk->saddr = sa; /* Update source address */ |
saddr | 569 | net/inet/udp.c | unsigned long saddr, int redo, struct inet_protocol *protocol) |
saddr | 600 | net/inet/udp.c | if (uh->check && udp_check(uh, len, saddr, daddr)) |
saddr | 605 | net/inet/udp.c | ntohl(saddr),ntohs(uh->source), |
saddr | 624 | net/inet/udp.c | saddr, uh->source, daddr); |
saddr | 631 | net/inet/udp.c | sknext=get_sock_mcast(sk->next, uh->dest, saddr, uh->source, daddr); |
saddr | 637 | net/inet/udp.c | udp_deliver(sk, uh, skb1, dev,saddr,daddr,len); |
saddr | 647 | net/inet/udp.c | sk = get_sock(&udp_prot, uh->dest, saddr, uh->source, daddr); |
saddr | 664 | net/inet/udp.c | return udp_deliver(sk,uh,skb,dev, saddr, daddr, len); |
saddr | 667 | net/inet/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 | 677 | net/inet/udp.c | skb->daddr = saddr; |
saddr | 678 | 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, |