tag | line | file | source code |
sin | 479 | fs/nfs/nfsroot.c | struct sockaddr_in *sin; |
sin | 488 | fs/nfs/nfsroot.c | sin=(struct sockaddr_in *)&server_route.rt_dst; |
sin | 489 | fs/nfs/nfsroot.c | *sin=server; |
sin | 490 | fs/nfs/nfsroot.c | sin=(struct sockaddr_in *)&server_route.rt_genmask; |
sin | 491 | fs/nfs/nfsroot.c | sin->sin_family=AF_INET; |
sin | 492 | fs/nfs/nfsroot.c | sin->sin_addr.s_addr= root_dev->pa_mask; |
sin | 608 | fs/nfs/nfsroot.c | struct sockaddr_in *sin = &myaddr; |
sin | 613 | fs/nfs/nfsroot.c | sin->sin_port = htons(port++); |
sin | 618 | fs/nfs/nfsroot.c | (struct sockaddr *) sin, sizeof(struct sockaddr_in)); |
sin | 28 | include/net/raw.h | struct sockaddr_in *sin, int *addr_len); |
sin | 40 | include/net/udp.h | struct sockaddr_in *sin, int *addr_len); |
sin | 1091 | net/ipv4/af_inet.c | struct sockaddr_in *sin=(struct sockaddr_in *)uaddr; |
sin | 1094 | net/ipv4/af_inet.c | sin->sin_family = AF_INET; |
sin | 1100 | net/ipv4/af_inet.c | sin->sin_port = sk->dummy_th.dest; |
sin | 1101 | net/ipv4/af_inet.c | sin->sin_addr.s_addr = sk->daddr; |
sin | 1111 | net/ipv4/af_inet.c | sin->sin_port = sk->dummy_th.source; |
sin | 1112 | net/ipv4/af_inet.c | sin->sin_addr.s_addr = addr; |
sin | 1114 | net/ipv4/af_inet.c | *uaddr_len = sizeof(*sin); |
sin | 184 | net/ipv4/raw.c | struct sockaddr_in sin; |
sin | 201 | net/ipv4/raw.c | if (addr_len < sizeof(sin)) |
sin | 203 | net/ipv4/raw.c | memcpy(&sin, usin, sizeof(sin)); |
sin | 204 | net/ipv4/raw.c | if (sin.sin_family && sin.sin_family != AF_INET) |
sin | 211 | net/ipv4/raw.c | sin.sin_family = AF_INET; |
sin | 212 | net/ipv4/raw.c | sin.sin_port = sk->protocol; |
sin | 213 | net/ipv4/raw.c | sin.sin_addr.s_addr = sk->daddr; |
sin | 215 | net/ipv4/raw.c | if (sin.sin_port == 0) |
sin | 216 | net/ipv4/raw.c | sin.sin_port = sk->protocol; |
sin | 218 | net/ipv4/raw.c | if (sin.sin_addr.s_addr == INADDR_ANY) |
sin | 219 | net/ipv4/raw.c | sin.sin_addr.s_addr = ip_my_addr(); |
sin | 221 | net/ipv4/raw.c | if (sk->broadcast == 0 && ip_chk_addr(sin.sin_addr.s_addr)==IS_BROADCAST) |
sin | 228 | net/ipv4/raw.c | err=ip_build_xmit(sk, raw_getrawfrag, from, len, sin.sin_addr.s_addr, 0, sk->opt, flags, sin.sin_port, noblock); |
sin | 234 | net/ipv4/raw.c | err=ip_build_xmit(sk, raw_getfrag, from, len, sin.sin_addr.s_addr, 0, sk->opt, flags, sin.sin_port, noblock); |
sin | 304 | net/ipv4/raw.c | struct sockaddr_in *sin=(struct sockaddr_in *)msg->msg_name; |
sin | 313 | net/ipv4/raw.c | *addr_len=sizeof(*sin); |
sin | 325 | net/ipv4/raw.c | if (sin) |
sin | 327 | net/ipv4/raw.c | sin->sin_family = AF_INET; |
sin | 328 | net/ipv4/raw.c | sin->sin_addr.s_addr = skb->daddr; |
sin | 2260 | net/ipv4/tcp.c | struct sockaddr_in *sin=(struct sockaddr_in *)msg->msg_name; |
sin | 2261 | net/ipv4/tcp.c | sin->sin_family=AF_INET; |
sin | 2262 | net/ipv4/tcp.c | sin->sin_addr.s_addr=sk->daddr; |
sin | 2263 | net/ipv4/tcp.c | sin->sin_port=sk->dummy_th.dest; |
sin | 2506 | net/ipv4/tcp.c | struct sockaddr_in *sin=(struct sockaddr_in *)msg->msg_name; |
sin | 2507 | net/ipv4/tcp.c | sin->sin_family=AF_INET; |
sin | 2508 | net/ipv4/tcp.c | sin->sin_addr.s_addr=sk->daddr; |
sin | 2509 | net/ipv4/tcp.c | sin->sin_port=sk->dummy_th.dest; |
sin | 294 | net/ipv4/udp.c | static int udp_send(struct sock *sk, struct sockaddr_in *sin, |
sin | 306 | net/ipv4/udp.c | ufh.uh.dest = sin->sin_port; |
sin | 309 | net/ipv4/udp.c | ufh.daddr = sin->sin_addr.s_addr; |
sin | 321 | net/ipv4/udp.c | sin->sin_addr.s_addr, saddr, sk->opt, rt, IPPROTO_UDP, noblock); |
sin | 324 | net/ipv4/udp.c | sin->sin_addr.s_addr, saddr, sk->opt, rt, IPPROTO_UDP, noblock); |
sin | 335 | net/ipv4/udp.c | struct sockaddr_in sin; |
sin | 351 | net/ipv4/udp.c | if (addr_len < sizeof(sin)) |
sin | 362 | net/ipv4/udp.c | sin.sin_family = AF_INET; |
sin | 363 | net/ipv4/udp.c | sin.sin_port = sk->dummy_th.dest; |
sin | 364 | net/ipv4/udp.c | sin.sin_addr.s_addr = sk->daddr; |
sin | 365 | net/ipv4/udp.c | usin = &sin; |
sin | 500 | net/ipv4/udp.c | struct sockaddr_in *sin=(struct sockaddr_in *)msg->msg_name; |
sin | 507 | net/ipv4/udp.c | *addr_len=sizeof(*sin); |
sin | 529 | net/ipv4/udp.c | if (sin) |
sin | 531 | net/ipv4/udp.c | sin->sin_family = AF_INET; |
sin | 532 | net/ipv4/udp.c | sin->sin_port = skb->h.uh->source; |
sin | 533 | net/ipv4/udp.c | sin->sin_addr.s_addr = skb->daddr; |