usin 40 net/dccp/ipv4.c const struct sockaddr_in *usin = (struct sockaddr_in *)uaddr; usin 55 net/dccp/ipv4.c if (usin->sin_family != AF_INET) usin 58 net/dccp/ipv4.c nexthop = daddr = usin->sin_addr.s_addr; usin 69 net/dccp/ipv4.c orig_dport = usin->sin_port; usin 89 net/dccp/ipv4.c inet->inet_dport = usin->sin_port; usin 806 net/dccp/ipv6.c struct sockaddr_in6 *usin = (struct sockaddr_in6 *)uaddr; usin 823 net/dccp/ipv6.c if (usin->sin6_family != AF_INET6) usin 829 net/dccp/ipv6.c fl6.flowlabel = usin->sin6_flowinfo & IPV6_FLOWINFO_MASK; usin 842 net/dccp/ipv6.c if (ipv6_addr_any(&usin->sin6_addr)) usin 843 net/dccp/ipv6.c usin->sin6_addr.s6_addr[15] = 1; usin 845 net/dccp/ipv6.c addr_type = ipv6_addr_type(&usin->sin6_addr); usin 852 net/dccp/ipv6.c usin->sin6_scope_id) { usin 857 net/dccp/ipv6.c sk->sk_bound_dev_if != usin->sin6_scope_id) usin 860 net/dccp/ipv6.c sk->sk_bound_dev_if = usin->sin6_scope_id; usin 868 net/dccp/ipv6.c sk->sk_v6_daddr = usin->sin6_addr; usin 884 net/dccp/ipv6.c sin.sin_port = usin->sin6_port; usin 885 net/dccp/ipv6.c sin.sin_addr.s_addr = usin->sin6_addr.s6_addr32[3]; usin 908 net/dccp/ipv6.c fl6.fl6_dport = usin->sin6_port; usin 936 net/dccp/ipv6.c inet->inet_dport = usin->sin6_port; usin 23 net/ipv4/datagram.c struct sockaddr_in *usin = (struct sockaddr_in *) uaddr; usin 31 net/ipv4/datagram.c if (addr_len < sizeof(*usin)) usin 34 net/ipv4/datagram.c if (usin->sin_family != AF_INET) usin 41 net/ipv4/datagram.c if (ipv4_is_multicast(usin->sin_addr.s_addr)) { usin 48 net/ipv4/datagram.c rt = ip_route_connect(fl4, usin->sin_addr.s_addr, saddr, usin 51 net/ipv4/datagram.c inet->inet_sport, usin->sin_port, sk); usin 72 net/ipv4/datagram.c inet->inet_dport = usin->sin_port; usin 721 net/ipv4/ping.c DECLARE_SOCKADDR(struct sockaddr_in *, usin, msg->msg_name); usin 722 net/ipv4/ping.c if (msg->msg_namelen < sizeof(*usin)) usin 724 net/ipv4/ping.c if (usin->sin_family != AF_INET) usin 726 net/ipv4/ping.c daddr = usin->sin_addr.s_addr; usin 537 net/ipv4/raw.c DECLARE_SOCKADDR(struct sockaddr_in *, usin, msg->msg_name); usin 539 net/ipv4/raw.c if (msg->msg_namelen < sizeof(*usin)) usin 541 net/ipv4/raw.c if (usin->sin_family != AF_INET) { usin 545 net/ipv4/raw.c if (usin->sin_family) usin 548 net/ipv4/raw.c daddr = usin->sin_addr.s_addr; usin 201 net/ipv4/tcp_ipv4.c struct sockaddr_in *usin = (struct sockaddr_in *)uaddr; usin 215 net/ipv4/tcp_ipv4.c if (usin->sin_family != AF_INET) usin 218 net/ipv4/tcp_ipv4.c nexthop = daddr = usin->sin_addr.s_addr; usin 228 net/ipv4/tcp_ipv4.c orig_dport = usin->sin_port; usin 261 net/ipv4/tcp_ipv4.c inet->inet_dport = usin->sin_port; usin 300 net/ipv4/tcp_ipv4.c usin->sin_port)); usin 969 net/ipv4/udp.c DECLARE_SOCKADDR(struct sockaddr_in *, usin, msg->msg_name); usin 1019 net/ipv4/udp.c if (usin) { usin 1020 net/ipv4/udp.c if (msg->msg_namelen < sizeof(*usin)) usin 1022 net/ipv4/udp.c if (usin->sin_family != AF_INET) { usin 1023 net/ipv4/udp.c if (usin->sin_family != AF_UNSPEC) usin 1027 net/ipv4/udp.c daddr = usin->sin_addr.s_addr; usin 1028 net/ipv4/udp.c dport = usin->sin_port; usin 1073 net/ipv4/udp.c (struct sockaddr *)usin, &ipc.addr); usin 1076 net/ipv4/udp.c if (usin) { usin 1077 net/ipv4/udp.c if (usin->sin_port == 0) { usin 1082 net/ipv4/udp.c daddr = usin->sin_addr.s_addr; usin 1083 net/ipv4/udp.c dport = usin->sin_port; usin 136 net/ipv6/datagram.c struct sockaddr_in6 *usin = (struct sockaddr_in6 *) uaddr; usin 146 net/ipv6/datagram.c if (usin->sin6_family == AF_INET) { usin 156 net/ipv6/datagram.c if (usin->sin6_family != AF_INET6) usin 160 net/ipv6/datagram.c fl6_flowlabel = usin->sin6_flowinfo & IPV6_FLOWINFO_MASK; usin 162 net/ipv6/datagram.c if (ipv6_addr_any(&usin->sin6_addr)) { usin 168 net/ipv6/datagram.c &usin->sin6_addr); usin 170 net/ipv6/datagram.c usin->sin6_addr = in6addr_loopback; usin 173 net/ipv6/datagram.c addr_type = ipv6_addr_type(&usin->sin6_addr); usin 175 net/ipv6/datagram.c daddr = &usin->sin6_addr; usin 186 net/ipv6/datagram.c sin.sin_port = usin->sin6_port; usin 215 net/ipv6/datagram.c usin->sin6_scope_id) { usin 216 net/ipv6/datagram.c if (!sk_dev_equal_l3scope(sk, usin->sin6_scope_id)) { usin 220 net/ipv6/datagram.c sk->sk_bound_dev_if = usin->sin6_scope_id; usin 240 net/ipv6/datagram.c inet->inet_dport = usin->sin6_port; usin 147 net/ipv6/tcp_ipv6.c struct sockaddr_in6 *usin = (struct sockaddr_in6 *) uaddr; usin 163 net/ipv6/tcp_ipv6.c if (usin->sin6_family != AF_INET6) usin 169 net/ipv6/tcp_ipv6.c fl6.flowlabel = usin->sin6_flowinfo&IPV6_FLOWINFO_MASK; usin 184 net/ipv6/tcp_ipv6.c if (ipv6_addr_any(&usin->sin6_addr)) { usin 187 net/ipv6/tcp_ipv6.c &usin->sin6_addr); usin 189 net/ipv6/tcp_ipv6.c usin->sin6_addr = in6addr_loopback; usin 192 net/ipv6/tcp_ipv6.c addr_type = ipv6_addr_type(&usin->sin6_addr); usin 199 net/ipv6/tcp_ipv6.c usin->sin6_scope_id) { usin 203 net/ipv6/tcp_ipv6.c if (!sk_dev_equal_l3scope(sk, usin->sin6_scope_id)) usin 206 net/ipv6/tcp_ipv6.c sk->sk_bound_dev_if = usin->sin6_scope_id; usin 215 net/ipv6/tcp_ipv6.c !ipv6_addr_equal(&sk->sk_v6_daddr, &usin->sin6_addr)) { usin 221 net/ipv6/tcp_ipv6.c sk->sk_v6_daddr = usin->sin6_addr; usin 236 net/ipv6/tcp_ipv6.c sin.sin_port = usin->sin6_port; usin 237 net/ipv6/tcp_ipv6.c sin.sin_addr.s_addr = usin->sin6_addr.s6_addr32[3]; usin 269 net/ipv6/tcp_ipv6.c fl6.fl6_dport = usin->sin6_port; usin 303 net/ipv6/tcp_ipv6.c inet->inet_dport = usin->sin6_port; usin 379 net/l2tp/l2tp_ip6.c struct sockaddr_in6 *usin = (struct sockaddr_in6 *) uaddr; usin 387 net/l2tp/l2tp_ip6.c if (usin->sin6_family != AF_INET6) usin 390 net/l2tp/l2tp_ip6.c addr_type = ipv6_addr_type(&usin->sin6_addr); usin 395 net/l2tp/l2tp_ip6.c daddr = &usin->sin6_addr; usin 1106 net/rds/send.c DECLARE_SOCKADDR(struct sockaddr_in *, usin, msg->msg_name); usin 1139 net/rds/send.c if (namelen < sizeof(*usin)) { usin 1143 net/rds/send.c switch (usin->sin_family) { usin 1145 net/rds/send.c if (usin->sin_addr.s_addr == htonl(INADDR_ANY) || usin 1146 net/rds/send.c usin->sin_addr.s_addr == htonl(INADDR_BROADCAST) || usin 1147 net/rds/send.c ipv4_is_multicast(usin->sin_addr.s_addr)) { usin 1151 net/rds/send.c ipv6_addr_set_v4mapped(usin->sin_addr.s_addr, &daddr); usin 1152 net/rds/send.c dport = usin->sin_port;