tag | line | file | source code |
s_addr | 41 | include/linux/in.h | unsigned long int s_addr; |
s_addr | 863 | net/inet/af_inet.c | chk_addr_ret = ip_chk_addr(addr->sin_addr.s_addr); |
s_addr | 864 | net/inet/af_inet.c | if (addr->sin_addr.s_addr != 0 && chk_addr_ret != IS_MYADDR && chk_addr_ret != IS_MULTICAST) |
s_addr | 867 | net/inet/af_inet.c | if (chk_addr_ret || addr->sin_addr.s_addr == 0) |
s_addr | 868 | net/inet/af_inet.c | sk->saddr = addr->sin_addr.s_addr; |
s_addr | 1110 | net/inet/af_inet.c | sin->sin_addr.s_addr = sk->daddr; |
s_addr | 1116 | net/inet/af_inet.c | sin->sin_addr.s_addr = ip_my_addr(); |
s_addr | 1118 | net/inet/af_inet.c | sin->sin_addr.s_addr = sk->saddr; |
s_addr | 1091 | net/inet/arp.c | ip = si->sin_addr.s_addr; |
s_addr | 1159 | net/inet/arp.c | entry->mask = si->sin_addr.s_addr; |
s_addr | 1195 | net/inet/arp.c | entry = arp_lookup(si->sin_addr.s_addr,PROXY_ANY); |
s_addr | 1243 | net/inet/arp.c | arp_destroy(si->sin_addr.s_addr, 1); |
s_addr | 858 | net/inet/dev.c | (*(struct sockaddr_in *) &ifr.ifr_addr).sin_addr.s_addr = dev->pa_addr; |
s_addr | 1086 | net/inet/dev.c | &ifr.ifr_addr).sin_addr.s_addr = dev->pa_addr; |
s_addr | 1097 | net/inet/dev.c | &ifr.ifr_addr).sin_addr.s_addr; |
s_addr | 1111 | net/inet/dev.c | &ifr.ifr_broadaddr).sin_addr.s_addr = dev->pa_brdaddr; |
s_addr | 1122 | net/inet/dev.c | &ifr.ifr_broadaddr).sin_addr.s_addr; |
s_addr | 1128 | net/inet/dev.c | &ifr.ifr_dstaddr).sin_addr.s_addr = dev->pa_dstaddr; |
s_addr | 1139 | net/inet/dev.c | &ifr.ifr_dstaddr).sin_addr.s_addr; |
s_addr | 1145 | net/inet/dev.c | &ifr.ifr_netmask).sin_addr.s_addr = dev->pa_mask; |
s_addr | 1157 | net/inet/dev.c | &ifr.ifr_netmask).sin_addr.s_addr; |
s_addr | 2123 | net/inet/ip.c | printk("MC bind %s\n", in_ntoa(addr.s_addr)); |
s_addr | 2129 | net/inet/ip.c | if(addr.s_addr==INADDR_ANY) /* Default */ |
s_addr | 2142 | net/inet/ip.c | (dev->pa_addr==addr.s_addr)) |
s_addr | 2184 | net/inet/ip.c | if(mreq.imr_interface.s_addr==INADDR_ANY) |
s_addr | 2189 | net/inet/ip.c | if((rt=ip_rt_route(mreq.imr_multiaddr.s_addr,&optmem, &route_src))!=NULL) |
s_addr | 2203 | net/inet/ip.c | (dev->pa_addr==mreq.imr_interface.s_addr)) |
s_addr | 2219 | net/inet/ip.c | return ip_mc_join_group(sk,dev,mreq.imr_multiaddr.s_addr); |
s_addr | 2244 | net/inet/ip.c | if(mreq.imr_interface.s_addr==INADDR_ANY) |
s_addr | 2246 | net/inet/ip.c | if((rt=ip_rt_route(mreq.imr_multiaddr.s_addr,&optmem, &route_src))!=NULL) |
s_addr | 2257 | net/inet/ip.c | (dev->pa_addr==mreq.imr_interface.s_addr)) |
s_addr | 2273 | net/inet/ip.c | return ip_mc_leave_group(sk,dev,mreq.imr_multiaddr.s_addr); |
s_addr | 82 | net/inet/ip_fw.c | #define print_ip(a) printf("%d.%d.%d.%d",(ntohl(a.s_addr)>>24)&0xFF,\ |
s_addr | 83 | net/inet/ip_fw.c | (ntohl(a.s_addr)>>16)&0xFF,\ |
s_addr | 84 | net/inet/ip_fw.c | (ntohl(a.s_addr)>>8)&0xFF,\ |
s_addr | 85 | net/inet/ip_fw.c | (ntohl(a.s_addr))&0xFF); |
s_addr | 264 | net/inet/ip_fw.c | if ((src&f->fw_smsk.s_addr)==f->fw_src.s_addr |
s_addr | 265 | net/inet/ip_fw.c | && (dst&f->fw_dmsk.s_addr)==f->fw_dst.s_addr) |
s_addr | 270 | net/inet/ip_fw.c | (dst&f->fw_smsk.s_addr)==f->fw_src.s_addr |
s_addr | 271 | net/inet/ip_fw.c | && (src&f->fw_dmsk.s_addr)==f->fw_dst.s_addr) |
s_addr | 280 | net/inet/ip_fw.c | if(f->fw_via.s_addr && rif) |
s_addr | 282 | net/inet/ip_fw.c | if(rif->pa_addr!=f->fw_via.s_addr) |
s_addr | 485 | net/inet/ip_fw.c | n_sa=ntohl(ftmp->fw_src.s_addr); |
s_addr | 486 | net/inet/ip_fw.c | n_da=ntohl(ftmp->fw_dst.s_addr); |
s_addr | 487 | net/inet/ip_fw.c | n_sm=ntohl(ftmp->fw_smsk.s_addr); |
s_addr | 488 | net/inet/ip_fw.c | n_dm=ntohl(ftmp->fw_dmsk.s_addr); |
s_addr | 490 | net/inet/ip_fw.c | o_sa=ntohl(chtmp->fw_src.s_addr); |
s_addr | 491 | net/inet/ip_fw.c | o_da=ntohl(chtmp->fw_dst.s_addr); |
s_addr | 492 | net/inet/ip_fw.c | o_sm=ntohl(chtmp->fw_smsk.s_addr); |
s_addr | 493 | net/inet/ip_fw.c | o_dm=ntohl(chtmp->fw_dmsk.s_addr); |
s_addr | 580 | net/inet/ip_fw.c | if ((addb4 == 0) && ftmp->fw_via.s_addr && |
s_addr | 581 | net/inet/ip_fw.c | !(chtmp->fw_via.s_addr)) |
s_addr | 638 | net/inet/ip_fw.c | if (ftmp->fw_src.s_addr!=frwl->fw_src.s_addr |
s_addr | 639 | net/inet/ip_fw.c | || ftmp->fw_dst.s_addr!=frwl->fw_dst.s_addr |
s_addr | 640 | net/inet/ip_fw.c | || ftmp->fw_smsk.s_addr!=frwl->fw_smsk.s_addr |
s_addr | 641 | net/inet/ip_fw.c | || ftmp->fw_dmsk.s_addr!=frwl->fw_dmsk.s_addr |
s_addr | 642 | net/inet/ip_fw.c | || ftmp->fw_via.s_addr!=frwl->fw_via.s_addr |
s_addr | 860 | net/inet/ip_fw.c | viadev.pa_addr = ipfwp->fwp_via.s_addr; |
s_addr | 961 | net/inet/ip_fw.c | ntohl(i->fw_src.s_addr),ntohl(i->fw_smsk.s_addr), |
s_addr | 962 | net/inet/ip_fw.c | ntohl(i->fw_dst.s_addr),ntohl(i->fw_dmsk.s_addr), |
s_addr | 963 | net/inet/ip_fw.c | ntohl(i->fw_via.s_addr),i->fw_flg); |
s_addr | 268 | net/inet/rarp.c | ip = si->sin_addr.s_addr; |
s_addr | 352 | net/inet/rarp.c | ip = si->sin_addr.s_addr; |
s_addr | 404 | net/inet/rarp.c | rarp_destroy(si->sin_addr.s_addr); |
s_addr | 162 | net/inet/raw.c | sin.sin_addr.s_addr = sk->daddr; |
s_addr | 167 | net/inet/raw.c | if (sin.sin_addr.s_addr == INADDR_ANY) |
s_addr | 168 | net/inet/raw.c | sin.sin_addr.s_addr = ip_my_addr(); |
s_addr | 170 | net/inet/raw.c | if (sk->broadcast == 0 && ip_chk_addr(sin.sin_addr.s_addr)==IS_BROADCAST) |
s_addr | 182 | net/inet/raw.c | sin.sin_addr.s_addr, &dev, |
s_addr | 274 | net/inet/raw.c | sin->sin_addr.s_addr = skb->daddr; |
s_addr | 397 | net/inet/route.c | daddr = ((struct sockaddr_in *) &r->rt_dst)->sin_addr.s_addr; |
s_addr | 398 | net/inet/route.c | mask = ((struct sockaddr_in *) &r->rt_genmask)->sin_addr.s_addr; |
s_addr | 399 | net/inet/route.c | gw = ((struct sockaddr_in *) &r->rt_gateway)->sin_addr.s_addr; |
s_addr | 485 | net/inet/route.c | rt_del(trg->sin_addr.s_addr, devname); |
s_addr | 633 | net/inet/route.c | ((struct sockaddr_in *) &rt->rt_genmask)->sin_addr.s_addr = tmp.rt_genmask; |
s_addr | 1782 | net/inet/tcp.c | if (addr->sin_addr.s_addr != sk->daddr) |
s_addr | 2483 | net/inet/tcp.c | addr->sin_addr.s_addr = sk->daddr; |
s_addr | 4281 | net/inet/tcp.c | if(usin->sin_addr.s_addr==INADDR_ANY) |
s_addr | 4282 | net/inet/tcp.c | usin->sin_addr.s_addr=ip_my_addr(); |
s_addr | 4288 | net/inet/tcp.c | if ((atype=ip_chk_addr(usin->sin_addr.s_addr)) == IS_BROADCAST || atype==IS_MULTICAST) |
s_addr | 4292 | net/inet/tcp.c | sk->daddr = usin->sin_addr.s_addr; |
s_addr | 286 | net/inet/udp.c | if (MULTICAST(sin->sin_addr.s_addr)) |
s_addr | 289 | net/inet/udp.c | tmp = sk->prot->build_header(skb, saddr, sin->sin_addr.s_addr, |
s_addr | 329 | net/inet/udp.c | udp_send_check(uh, saddr, sin->sin_addr.s_addr, skb->len - tmp, sk); |
s_addr | 373 | net/inet/udp.c | sin.sin_addr.s_addr = sk->daddr; |
s_addr | 381 | net/inet/udp.c | if(sin.sin_addr.s_addr==INADDR_ANY) |
s_addr | 382 | net/inet/udp.c | sin.sin_addr.s_addr=ip_my_addr(); |
s_addr | 384 | net/inet/udp.c | if(!sk->broadcast && ip_chk_addr(sin.sin_addr.s_addr)==IS_BROADCAST) |
s_addr | 507 | net/inet/udp.c | sin->sin_addr.s_addr = skb->daddr; |
s_addr | 535 | net/inet/udp.c | if (usin->sin_addr.s_addr==INADDR_ANY) |
s_addr | 536 | net/inet/udp.c | usin->sin_addr.s_addr=ip_my_addr(); |
s_addr | 538 | net/inet/udp.c | if(!sk->broadcast && ip_chk_addr(usin->sin_addr.s_addr)==IS_BROADCAST) |
s_addr | 541 | net/inet/udp.c | rt=ip_rt_route(usin->sin_addr.s_addr, NULL, &sa); |
s_addr | 545 | net/inet/udp.c | sk->daddr = usin->sin_addr.s_addr; |