tag | line | file | source code |
sin | 1100 | net/inet/af_inet.c | struct sockaddr_in *sin=(struct sockaddr_in *)uaddr; |
sin | 1103 | net/inet/af_inet.c | sin->sin_family = AF_INET; |
sin | 1109 | net/inet/af_inet.c | sin->sin_port = sk->dummy_th.dest; |
sin | 1110 | net/inet/af_inet.c | sin->sin_addr.s_addr = sk->daddr; |
sin | 1114 | net/inet/af_inet.c | sin->sin_port = sk->dummy_th.source; |
sin | 1116 | net/inet/af_inet.c | sin->sin_addr.s_addr = ip_my_addr(); |
sin | 1118 | net/inet/af_inet.c | sin->sin_addr.s_addr = sk->saddr; |
sin | 1120 | net/inet/af_inet.c | *uaddr_len = sizeof(*sin); |
sin | 1130 | net/inet/af_inet.c | unsigned flags, struct sockaddr *sin, int *addr_len ) |
sin | 1142 | net/inet/af_inet.c | (struct sockaddr_in*)sin, addr_len)); |
sin | 1188 | net/inet/af_inet.c | unsigned flags, struct sockaddr *sin, int addr_len) |
sin | 1204 | net/inet/af_inet.c | (struct sockaddr_in *)sin, addr_len)); |
sin | 285 | net/inet/packet.c | int noblock, unsigned flags, struct sockaddr_in *sin, |
sin | 294 | net/inet/packet.c | saddr = (struct sockaddr *)sin; |
sin | 131 | net/inet/raw.c | struct sockaddr_in sin; |
sin | 150 | net/inet/raw.c | if (addr_len < sizeof(sin)) |
sin | 152 | net/inet/raw.c | memcpy(&sin, usin, sizeof(sin)); |
sin | 153 | net/inet/raw.c | if (sin.sin_family && sin.sin_family != AF_INET) |
sin | 160 | net/inet/raw.c | sin.sin_family = AF_INET; |
sin | 161 | net/inet/raw.c | sin.sin_port = sk->protocol; |
sin | 162 | net/inet/raw.c | sin.sin_addr.s_addr = sk->daddr; |
sin | 164 | net/inet/raw.c | if (sin.sin_port == 0) |
sin | 165 | net/inet/raw.c | sin.sin_port = sk->protocol; |
sin | 167 | net/inet/raw.c | if (sin.sin_addr.s_addr == INADDR_ANY) |
sin | 168 | net/inet/raw.c | sin.sin_addr.s_addr = ip_my_addr(); |
sin | 170 | net/inet/raw.c | if (sk->broadcast == 0 && ip_chk_addr(sin.sin_addr.s_addr)==IS_BROADCAST) |
sin | 182 | net/inet/raw.c | sin.sin_addr.s_addr, &dev, |
sin | 243 | net/inet/raw.c | int noblock, unsigned flags, struct sockaddr_in *sin, |
sin | 258 | net/inet/raw.c | *addr_len=sizeof(*sin); |
sin | 271 | net/inet/raw.c | if (sin) |
sin | 273 | net/inet/raw.c | sin->sin_family = AF_INET; |
sin | 274 | net/inet/raw.c | sin->sin_addr.s_addr = skb->daddr; |
sin | 28 | net/inet/raw.h | struct sockaddr_in *sin, int *addr_len); |
sin | 251 | net/inet/udp.c | static int udp_send(struct sock *sk, struct sockaddr_in *sin, |
sin | 286 | net/inet/udp.c | if (MULTICAST(sin->sin_addr.s_addr)) |
sin | 289 | net/inet/udp.c | tmp = sk->prot->build_header(skb, saddr, sin->sin_addr.s_addr, |
sin | 316 | net/inet/udp.c | uh->dest = sin->sin_port; |
sin | 329 | net/inet/udp.c | udp_send_check(uh, saddr, sin->sin_addr.s_addr, skb->len - tmp, sk); |
sin | 345 | net/inet/udp.c | struct sockaddr_in sin; |
sin | 359 | net/inet/udp.c | if (addr_len < sizeof(sin)) |
sin | 361 | net/inet/udp.c | memcpy(&sin,usin,sizeof(sin)); |
sin | 362 | net/inet/udp.c | if (sin.sin_family && sin.sin_family != AF_INET) |
sin | 364 | net/inet/udp.c | if (sin.sin_port == 0) |
sin | 371 | net/inet/udp.c | sin.sin_family = AF_INET; |
sin | 372 | net/inet/udp.c | sin.sin_port = sk->dummy_th.dest; |
sin | 373 | net/inet/udp.c | sin.sin_addr.s_addr = sk->daddr; |
sin | 381 | net/inet/udp.c | if(sin.sin_addr.s_addr==INADDR_ANY) |
sin | 382 | net/inet/udp.c | sin.sin_addr.s_addr=ip_my_addr(); |
sin | 384 | net/inet/udp.c | if(!sk->broadcast && ip_chk_addr(sin.sin_addr.s_addr)==IS_BROADCAST) |
sin | 390 | net/inet/udp.c | tmp = udp_send(sk, &sin, from, len, flags); |
sin | 468 | net/inet/udp.c | int noblock, unsigned flags, struct sockaddr_in *sin, |
sin | 481 | net/inet/udp.c | *addr_len=sizeof(*sin); |
sin | 503 | net/inet/udp.c | if (sin) |
sin | 505 | net/inet/udp.c | sin->sin_family = AF_INET; |
sin | 506 | net/inet/udp.c | sin->sin_port = skb->h.uh->source; |
sin | 507 | net/inet/udp.c | sin->sin_addr.s_addr = skb->daddr; |
sin | 38 | net/inet/udp.h | struct sockaddr_in *sin, int *addr_len); |