sock_net 286 crypto/af_alg.c sk2 = sk_alloc(sock_net(sk), PF_ALG, GFP_KERNEL, &alg_proto, kern); sock_net 187 crypto/crypto_user_base.c struct net *net = sock_net(in_skb->sk); sock_net 424 crypto/crypto_user_base.c struct net *net = sock_net(skb->sk); sock_net 302 crypto/crypto_user_stat.c struct net *net = sock_net(in_skb->sk); sock_net 1098 drivers/crypto/chelsio/chtls/chtls_cm.c sock_net(newsk)-> sock_net 1228 drivers/crypto/chelsio/chtls/chtls_cm.c sock_net(sk)->ipv4.sysctl_tcp_window_scaling) { sock_net 1236 drivers/crypto/chelsio/chtls/chtls_cm.c ecn_ok = sock_net(sk)->ipv4.sysctl_tcp_ecn; sock_net 2325 drivers/infiniband/core/device.c if (!rdma_dev_access_netns(dev, sock_net(skb->sk))) sock_net 90 drivers/infiniband/core/netlink.c if (sock_net(skb->sk) != &init_net && type != RDMA_NL_NLDEV) sock_net 813 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); sock_net 834 drivers/infiniband/core/nldev.c return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); sock_net 857 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); sock_net 951 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); sock_net 971 drivers/infiniband/core/nldev.c err = fill_port_info(msg, device, port, sock_net(skb->sk)); sock_net 978 drivers/infiniband/core/nldev.c return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); sock_net 1005 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), ifindex); sock_net 1031 drivers/infiniband/core/nldev.c if (fill_port_info(skb, device, p, sock_net(skb->sk))) { sock_net 1060 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); sock_net 1080 drivers/infiniband/core/nldev.c return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); sock_net 1204 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); sock_net 1257 drivers/infiniband/core/nldev.c return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); sock_net 1301 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); sock_net 1482 drivers/infiniband/core/nldev.c ndev = dev_get_by_name(sock_net(skb->sk), ndev_name); sock_net 1517 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); sock_net 1551 drivers/infiniband/core/nldev.c ibdev = ib_device_get_by_index(sock_net(skb->sk), index); sock_net 1602 drivers/infiniband/core/nldev.c return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); sock_net 1642 drivers/infiniband/core/nldev.c return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); sock_net 1687 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); sock_net 1742 drivers/infiniband/core/nldev.c return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); sock_net 1774 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); sock_net 1810 drivers/infiniband/core/nldev.c return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); sock_net 1836 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); sock_net 1899 drivers/infiniband/core/nldev.c return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); sock_net 1931 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); sock_net 1971 drivers/infiniband/core/nldev.c return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); sock_net 120 drivers/infiniband/sw/rxe/rxe_net.c ndst = ipv6_stub->ipv6_dst_lookup_flow(sock_net(recv_sockets.sk6->sk), sock_net 194 drivers/net/gtp.c !net_eq(sock_net(pctx->sk), dev_net(pctx->dev)))) sock_net 401 drivers/net/gtp.c return ip_route_output_key(sock_net(sk), fl4); sock_net 829 drivers/net/gtp.c setup_udp_tunnel_sock(sock_net(sock->sk), sock, &tuncfg); sock_net 1076 drivers/net/gtp.c gtp = gtp_find_dev(sock_net(skb->sk), info->attrs); sock_net 1152 drivers/net/gtp.c pctx = gtp_find_pdp(sock_net(skb->sk), info->attrs); sock_net 1221 drivers/net/gtp.c pctx = gtp_find_pdp(sock_net(skb->sk), info->attrs); sock_net 1253 drivers/net/gtp.c struct net *net = sock_net(skb->sk); sock_net 2602 drivers/net/macsec.c struct net *net = sock_net(skb->sk); sock_net 383 drivers/net/ppp/pppoe.c relay_po = get_item_by_addr(sock_net(sk), sock_net 591 drivers/net/ppp/pppoe.c net = sock_net(sk); sock_net 649 drivers/net/ppp/pppoe.c pn = pppoe_pernet(sock_net(sk)); sock_net 670 drivers/net/ppp/pppoe.c net = sock_net(sk); sock_net 812 drivers/net/ppp/pppoe.c relay_po = get_item_by_addr(sock_net(sk), &po->pppoe_relay); sock_net 135 drivers/net/ppp/pptp.c struct net *net = sock_net(sk); sock_net 443 drivers/net/ppp/pptp.c rt = ip_route_output_ports(sock_net(sk), &fl4, sk, sock_net 3042 drivers/net/tun.c struct net *net = sock_net(&tfile->sk); sock_net 1402 drivers/net/vxlan.c vn = net_generic(sock_net(vs->sock->sk), vxlan_net_id); sock_net 3697 drivers/net/wireless/mac80211_hwsim.c if (!net_eq(wiphy_net(data->hw->wiphy), sock_net(skb->sk))) sock_net 875 drivers/xen/pvcalls-front.c newsock->sk = sk_alloc(sock_net(sock->sk), PF_INET, GFP_KERNEL, &pvcalls_proto, false); sock_net 1057 fs/afs/internal.h return net_generic(sock_net(sk), afs_net_id); sock_net 72 include/linux/sock_diag.h const struct net *n = sock_net(sk); sock_net 457 include/linux/tcp.h int somaxconn = READ_ONCE(sock_net(sk)->core.sysctl_somaxconn); sock_net 116 include/net/inet6_hashtables.h net_eq(sock_net(__sk), (__net))) sock_net 235 include/net/inet_hashtables.h return inet_lhashfn(sock_net(sk), inet_sk(sk)->inet_num); sock_net 308 include/net/inet_hashtables.h net_eq(sock_net(__sk), (__net))) sock_net 319 include/net/inet_hashtables.h net_eq(sock_net(__sk), (__net))) sock_net 110 include/net/inet_sock.h if (!sk->sk_mark && sock_net(sk)->ipv4.sysctl_tcp_fwmark_accept) sock_net 120 include/net/inet_sock.h struct net *net = sock_net(sk); sock_net 132 include/net/inet_sock.h struct net *net = sock_net(sk); sock_net 302 include/net/route.h struct net *net = sock_net(sk); sock_net 332 include/net/route.h return ip_route_output_flow(sock_net(sk), fl4, sk); sock_net 2572 include/net/sock.h return *(int *)((void *)sock_net(sk) + proto->sysctl_wmem_offset); sock_net 2581 include/net/sock.h return *(int *)((void *)sock_net(sk) + proto->sysctl_rmem_offset); sock_net 2609 include/net/sock.h mdif = l3mdev_master_ifindex_by_index(sock_net(sk), dif); sock_net 1368 include/net/tcp.h if (!sock_net(sk)->ipv4.sysctl_tcp_slow_start_after_idle || tp->packets_out || sock_net 1384 include/net/tcp.h int tcp_adv_win_scale = sock_net(sk)->ipv4.sysctl_tcp_adv_win_scale; sock_net 1426 include/net/tcp.h struct net *net = sock_net((struct sock *)tp); sock_net 1433 include/net/tcp.h struct net *net = sock_net((struct sock *)tp); sock_net 1440 include/net/tcp.h struct net *net = sock_net((struct sock *)tp); sock_net 1455 include/net/tcp.h int fin_timeout = tcp_sk(sk)->linger2 ? : sock_net(sk)->ipv4.sysctl_tcp_fin_timeout; sock_net 1688 include/net/tcp.h ctx = rcu_dereference(sock_net(sk)->ipv4.tcp_fastopen_ctx); sock_net 1933 include/net/tcp.h struct net *net = sock_net((struct sock *)tp); sock_net 2009 include/net/tcp.h __NET_INC_STATS(sock_net(sk), LINUX_MIB_SYNCOOKIESSENT); sock_net 2129 include/net/tcp.h __NET_INC_STATS(sock_net(sk), LINUX_MIB_LISTENDROPS); sock_net 418 include/net/udp.h ipv4 ? (IS_UDPLITE(sk) ? sock_net(sk)->mib.udplite_statistics : \ sock_net 419 include/net/udp.h sock_net(sk)->mib.udp_statistics) : \ sock_net 420 include/net/udp.h (IS_UDPLITE(sk) ? sock_net(sk)->mib.udplite_stats_in6 : \ sock_net 421 include/net/udp.h sock_net(sk)->mib.udp_stats_in6); \ sock_net 426 include/net/udp.h IS_UDPLITE(sk) ? sock_net(sk)->mib.udplite_statistics : \ sock_net 427 include/net/udp.h sock_net(sk)->mib.udp_statistics; \ sock_net 958 kernel/audit.c struct net *net = sock_net(NETLINK_CB(request_skb).sk); sock_net 1263 kernel/audit.c sock_net(NETLINK_CB(skb).sk)); sock_net 1165 kernel/auditfilter.c struct net *net = sock_net(NETLINK_CB(request_skb).sk); sock_net 346 lib/kobject_uevent.c struct user_namespace *owning_user_ns = sock_net(usk)->user_ns; sock_net 738 lib/kobject_uevent.c net = sock_net(NETLINK_CB(skb).sk); sock_net 779 lib/kobject_uevent.c if (sock_net(ue_sk->sk)->user_ns == &init_user_ns) { sock_net 792 lib/kobject_uevent.c if (sock_net(ue_sk->sk)->user_ns == &init_user_ns) { sock_net 334 net/atm/svc.c error = svc_create(sock_net(sk), newsock, 0, kern); sock_net 893 net/ax25/af_ax25.c sk = sk_alloc(sock_net(osk), PF_AX25, GFP_ATOMIC, osk->sk_prot, 0); sock_net 2208 net/batman-adv/bridge_loop_avoidance.c struct net *net = sock_net(cb->skb->sk); sock_net 2446 net/batman-adv/bridge_loop_avoidance.c struct net *net = sock_net(cb->skb->sk); sock_net 993 net/batman-adv/distributed-arp-table.c struct net *net = sock_net(cb->skb->sk); sock_net 562 net/batman-adv/gateway_client.c struct net *net = sock_net(cb->skb->sk); sock_net 2332 net/batman-adv/multicast.c struct net *net = sock_net(cb->skb->sk); sock_net 956 net/batman-adv/netlink.c struct net *net = sock_net(cb->skb->sk); sock_net 782 net/batman-adv/originator.c struct net *net = sock_net(cb->skb->sk); sock_net 1479 net/batman-adv/originator.c struct net *net = sock_net(cb->skb->sk); sock_net 1253 net/batman-adv/translation-table.c struct net *net = sock_net(cb->skb->sk); sock_net 2169 net/batman-adv/translation-table.c struct net *net = sock_net(cb->skb->sk); sock_net 1247 net/bluetooth/l2cap_sock.c sk = l2cap_sock_alloc(sock_net(parent), NULL, BTPROTO_L2CAP, sock_net 979 net/bluetooth/rfcomm/sock.c sk = rfcomm_sock_alloc(sock_net(parent), NULL, BTPROTO_RFCOMM, GFP_ATOMIC, 0); sock_net 1051 net/bluetooth/sco.c sk = sco_sock_alloc(sock_net(parent), NULL, sock_net 211 net/bridge/br_mdb.c struct net *net = sock_net(skb->sk); sock_net 555 net/bridge/br_mdb.c struct net *net = sock_net(skb->sk); sock_net 683 net/bridge/br_mdb.c struct net *net = sock_net(skb->sk); sock_net 788 net/bridge/br_mdb.c struct net *net = sock_net(skb->sk); sock_net 1462 net/bridge/netfilter/ebtables.c struct net *net = sock_net(sk); sock_net 1485 net/bridge/netfilter/ebtables.c struct net *net = sock_net(sk); sock_net 2325 net/bridge/netfilter/ebtables.c struct net *net = sock_net(sk); sock_net 2349 net/bridge/netfilter/ebtables.c struct net *net = sock_net(sk); sock_net 791 net/caif/caif_socket.c caif_disconnect_client(sock_net(sk), &cf_sk->layer); sock_net 832 net/caif/caif_socket.c err = caif_connect_client(sock_net(sk), &cf_sk->conn_req, sock_net 843 net/caif/caif_socket.c dev = dev_get_by_index_rcu(sock_net(sk), ifindex); sock_net 925 net/caif/caif_socket.c caif_disconnect_client(sock_net(sk), &cf_sk->layer); sock_net 277 net/can/bcm.c dev = dev_get_by_index(sock_net(op->sk), op->ifindex); sock_net 767 net/can/bcm.c dev = dev_get_by_index(sock_net(op->sk), sock_net 775 net/can/bcm.c can_rx_unregister(sock_net(op->sk), NULL, sock_net 1191 net/can/bcm.c dev = dev_get_by_index(sock_net(sk), ifindex); sock_net 1193 net/can/bcm.c err = can_rx_register(sock_net(sk), dev, sock_net 1204 net/can/bcm.c err = can_rx_register(sock_net(sk), NULL, op->can_id, sock_net 1244 net/can/bcm.c dev = dev_get_by_index(sock_net(sk), ifindex); sock_net 1309 net/can/bcm.c dev = dev_get_by_index(sock_net(sk), ifindex); sock_net 1390 net/can/bcm.c if (!net_eq(dev_net(dev), sock_net(sk))) sock_net 1469 net/can/bcm.c net = sock_net(sk); sock_net 1536 net/can/bcm.c struct net *net = sock_net(sk); sock_net 689 net/can/gw.c struct net *net = sock_net(skb->sk); sock_net 991 net/can/gw.c struct net *net = sock_net(skb->sk); sock_net 1103 net/can/gw.c struct net *net = sock_net(skb->sk); sock_net 439 net/can/j1939/socket.c net = sock_net(sk); sock_net 273 net/can/raw.c if (!net_eq(dev_net(dev), sock_net(sk))) sock_net 363 net/can/raw.c dev = dev_get_by_index(sock_net(sk), ro->ifindex); sock_net 369 net/can/raw.c raw_disable_allfilters(sock_net(sk), NULL, sk); sock_net 412 net/can/raw.c dev = dev_get_by_index(sock_net(sk), addr->can_ifindex); sock_net 428 net/can/raw.c err = raw_enable_allfilters(sock_net(sk), dev, sk); sock_net 434 net/can/raw.c err = raw_enable_allfilters(sock_net(sk), NULL, sk); sock_net 443 net/can/raw.c dev = dev_get_by_index(sock_net(sk), sock_net 451 net/can/raw.c raw_disable_allfilters(sock_net(sk), NULL, sk); sock_net 525 net/can/raw.c dev = dev_get_by_index(sock_net(sk), ro->ifindex); sock_net 530 net/can/raw.c err = raw_enable_filters(sock_net(sk), dev, sk, sock_net 533 net/can/raw.c err = raw_enable_filters(sock_net(sk), dev, sk, sock_net 542 net/can/raw.c raw_disable_filters(sock_net(sk), dev, sk, ro->filter, sock_net 579 net/can/raw.c dev = dev_get_by_index(sock_net(sk), ro->ifindex); sock_net 584 net/can/raw.c err = raw_enable_errfilter(sock_net(sk), dev, sk, sock_net 591 net/can/raw.c raw_disable_errfilter(sock_net(sk), dev, sk, sock_net 747 net/can/raw.c dev = dev_get_by_index(sock_net(sk), ifindex); sock_net 660 net/core/devlink.c if (!net_eq(devlink_net(devlink), sock_net(msg->sk))) sock_net 714 net/core/devlink.c if (!net_eq(devlink_net(devlink), sock_net(msg->sk))) sock_net 902 net/core/devlink.c if (!net_eq(devlink_net(devlink), sock_net(msg->sk))) sock_net 1042 net/core/devlink.c if (!net_eq(devlink_net(devlink), sock_net(msg->sk)) || sock_net 1240 net/core/devlink.c if (!net_eq(devlink_net(devlink), sock_net(msg->sk)) || sock_net 1467 net/core/devlink.c if (!net_eq(devlink_net(devlink), sock_net(msg->sk)) || sock_net 3162 net/core/devlink.c if (!net_eq(devlink_net(devlink), sock_net(msg->sk))) sock_net 3425 net/core/devlink.c if (!net_eq(devlink_net(devlink), sock_net(msg->sk))) sock_net 3691 net/core/devlink.c if (!net_eq(devlink_net(devlink), sock_net(msg->sk))) sock_net 3852 net/core/devlink.c devlink = devlink_get_from_attrs(sock_net(cb->skb->sk), attrs); sock_net 4091 net/core/devlink.c if (!net_eq(devlink_net(devlink), sock_net(msg->sk))) sock_net 4907 net/core/devlink.c devlink = devlink_get_from_attrs(sock_net(cb->skb->sk), attrs); sock_net 5036 net/core/devlink.c if (!net_eq(devlink_net(devlink), sock_net(msg->sk))) sock_net 5481 net/core/devlink.c if (!net_eq(devlink_net(devlink), sock_net(msg->sk))) sock_net 5687 net/core/devlink.c if (!net_eq(devlink_net(devlink), sock_net(msg->sk))) sock_net 493 net/core/fib_rules.c struct net *net = sock_net(skb->sk); sock_net 726 net/core/fib_rules.c struct net *net = sock_net(skb->sk); sock_net 834 net/core/fib_rules.c struct net *net = sock_net(skb->sk); sock_net 1094 net/core/fib_rules.c struct net *net = sock_net(skb->sk); sock_net 101 net/core/filter.c NET_INC_STATS(sock_net(sk), LINUX_MIB_PFMEMALLOCDROP); sock_net 4206 net/core/filter.c kuid = sock_net_uid(sock_net(sk), sk); sock_net 4207 net/core/filter.c return from_kuid_munged(sock_net(sk)->user_ns, kuid); sock_net 5328 net/core/filter.c caller_net = sock_net(skb->sk); sock_net 5499 net/core/filter.c sock_net(ctx->sk), 0, sock_net 5518 net/core/filter.c sock_net(ctx->sk), 0, IPPROTO_TCP, sock_net 5537 net/core/filter.c sock_net(ctx->sk), 0, IPPROTO_UDP, sock_net 5808 net/core/filter.c if (!sock_net(sk)->ipv4.sysctl_tcp_syncookies) sock_net 5874 net/core/filter.c if (!sock_net(sk)->ipv4.sysctl_tcp_syncookies) sock_net 954 net/core/flow_dissector.c net = sock_net(skb->sk); sock_net 196 net/core/lwt_bpf.c net = sock_net(sk); sock_net 1787 net/core/neighbour.c struct net *net = sock_net(skb->sk); sock_net 1854 net/core/neighbour.c struct net *net = sock_net(skb->sk); sock_net 2178 net/core/neighbour.c struct net *net = sock_net(skb->sk); sock_net 2364 net/core/neighbour.c struct net *net = sock_net(skb->sk); sock_net 2549 net/core/neighbour.c struct net *net = sock_net(skb->sk); sock_net 2597 net/core/neighbour.c struct net *net = sock_net(skb->sk); sock_net 2866 net/core/neighbour.c struct net *net = sock_net(in_skb->sk); sock_net 1597 net/core/net-sysfs.c return sock_net(sk); sock_net 725 net/core/net_namespace.c struct net *net = sock_net(skb->sk); sock_net 869 net/core/net_namespace.c struct net *net = sock_net(skb->sk); sock_net 1018 net/core/net_namespace.c .tgt_net = sock_net(skb->sk), sock_net 1868 net/core/rtnetlink.c net = get_net_ns_by_id(sock_net(sk), netnsid); sock_net 1931 net/core/rtnetlink.c struct net *net = sock_net(skb->sk); sock_net 2750 net/core/rtnetlink.c struct net *net = sock_net(skb->sk); sock_net 2845 net/core/rtnetlink.c struct net *net = sock_net(skb->sk); sock_net 3026 net/core/rtnetlink.c struct net *net = sock_net(skb->sk); sock_net 3340 net/core/rtnetlink.c struct net *net = sock_net(skb->sk); sock_net 3409 net/core/rtnetlink.c struct net *net = sock_net(skb->sk); sock_net 3685 net/core/rtnetlink.c struct net *net = sock_net(skb->sk); sock_net 3793 net/core/rtnetlink.c struct net *net = sock_net(skb->sk); sock_net 4029 net/core/rtnetlink.c struct net *net = sock_net(skb->sk); sock_net 4191 net/core/rtnetlink.c struct net *net = sock_net(in_skb->sk); sock_net 4446 net/core/rtnetlink.c struct net *net = sock_net(skb->sk); sock_net 4553 net/core/rtnetlink.c struct net *net = sock_net(skb->sk); sock_net 4630 net/core/rtnetlink.c struct net *net = sock_net(skb->sk); sock_net 5045 net/core/rtnetlink.c struct net *net = sock_net(skb->sk); sock_net 5093 net/core/rtnetlink.c struct net *net = sock_net(skb->sk); sock_net 5158 net/core/rtnetlink.c struct net *net = sock_net(skb->sk); sock_net 190 net/core/sock.c return sk_ns_capable(sk, sock_net(sk)->user_ns, cap); sock_net 576 net/core/sock.c struct net *net = sock_net(sk); sock_net 605 net/core/sock.c struct net *net = sock_net(sk); sock_net 655 net/core/sock.c struct net *net = sock_net(sk); sock_net 868 net/core/sock.c ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 1066 net/core/sock.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) { sock_net 1157 net/core/sock.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) { sock_net 1725 net/core/sock.c put_net(sock_net(sk)); sock_net 1747 net/core/sock.c sock_inuse_add(sock_net(sk), -1); sock_net 1810 net/core/sock.c get_net(sock_net(newsk)); sock_net 1876 net/core/sock.c sock_inuse_add(sock_net(newsk), 1); sock_net 2275 net/core/sock.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 2879 net/core/sock.c sk->sk_uid = make_kuid(sock_net(sk)->user_ns, 0); sock_net 143 net/core/sock_diag.c nlmsg_multicast(sock_net(sk)->diag_nlsk, skb, 0, group, sock_net 298 net/core/sock_diag.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 1735 net/dcb/dcbnl.c struct net *net = sock_net(skb->sk); sock_net 197 net/dccp/ipv4.c struct net *net = sock_net(sk); sock_net 438 net/dccp/ipv4.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_LISTENOVERFLOWS); sock_net 442 net/dccp/ipv4.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_LISTENDROPS); sock_net 213 net/dccp/ipv6.c dst = ip6_dst_lookup_flow(sock_net(sk), sk, &fl6, final_p); sock_net 285 net/dccp/ipv6.c dst = ip6_dst_lookup_flow(sock_net(ctl_sk), ctl_sk, &fl6, NULL); sock_net 549 net/dccp/ipv6.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_LISTENOVERFLOWS); sock_net 553 net/dccp/ipv6.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_LISTENDROPS); sock_net 915 net/dccp/ipv6.c dst = ip6_dst_lookup_flow(sock_net(sk), sk, &fl6, final_p); sock_net 180 net/dccp/timer.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_DELAYEDACKLOCKED); sock_net 210 net/dccp/timer.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_DELAYEDACKS); sock_net 1095 net/decnet/af_decnet.c newsk = dn_alloc_sock(sock_net(sk), newsock, sk->sk_allocation, kern); sock_net 572 net/decnet/dn_dev.c struct net *net = sock_net(skb->sk); sock_net 618 net/decnet/dn_dev.c struct net *net = sock_net(skb->sk); sock_net 743 net/decnet/dn_dev.c struct net *net = sock_net(skb->sk); sock_net 508 net/decnet/dn_fib.c struct net *net = sock_net(skb->sk); sock_net 535 net/decnet/dn_fib.c struct net *net = sock_net(skb->sk); sock_net 1636 net/decnet/dn_route.c struct net *net = sock_net(in_skb->sk); sock_net 1722 net/decnet/dn_route.c struct net *net = sock_net(skb->sk); sock_net 491 net/decnet/dn_table.c struct net *net = sock_net(skb->sk); sock_net 440 net/ieee802154/nl-mac.c struct net *net = sock_net(skb->sk); sock_net 772 net/ieee802154/nl-mac.c struct net *net = sock_net(skb->sk); sock_net 252 net/ieee802154/nl802154.c *wpan_dev = __cfg802154_wpan_dev_from_attrs(sock_net(skb->sk), sock_net 619 net/ieee802154/nl802154.c if (!net_eq(wpan_phy_net(&rdev->wpan_phy), sock_net(skb->sk))) sock_net 863 net/ieee802154/nl802154.c if (!net_eq(wpan_phy_net(&rdev->wpan_phy), sock_net(skb->sk))) sock_net 137 net/ieee802154/socket.c dev_load(sock_net(sk), ifr.ifr_name); sock_net 138 net/ieee802154/socket.c dev = dev_get_by_name(sock_net(sk), ifr.ifr_name); sock_net 178 net/ieee802154/socket.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); sock_net 188 net/ieee802154/socket.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); sock_net 214 net/ieee802154/socket.c dev = ieee802154_get_dev(sock_net(sk), &addr); sock_net 256 net/ieee802154/socket.c dev = dev_getfirstbyhwtype(sock_net(sk), ARPHRD_IEEE802154); sock_net 258 net/ieee802154/socket.c dev = dev_get_by_index(sock_net(sk), sk->sk_bound_dev_if); sock_net 461 net/ieee802154/socket.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); sock_net 471 net/ieee802154/socket.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); sock_net 508 net/ieee802154/socket.c dev = ieee802154_get_dev(sock_net(sk), &haddr); sock_net 626 net/ieee802154/socket.c dev = dev_getfirstbyhwtype(sock_net(sk), ARPHRD_IEEE802154); sock_net 628 net/ieee802154/socket.c dev = ieee802154_get_dev(sock_net(sk), &ro->src_addr); sock_net 882 net/ieee802154/socket.c struct net *net = sock_net(sk); sock_net 222 net/ipv4/af_inet.c tcp_fastopen = sock_net(sk)->ipv4.sysctl_tcp_fastopen; sock_net 227 net/ipv4/af_inet.c tcp_fastopen_init_key_once(sock_net(sk)); sock_net 462 net/ipv4/af_inet.c struct net *net = sock_net(sk); sock_net 917 net/ipv4/af_inet.c struct net *net = sock_net(sk); sock_net 1218 net/ipv4/af_inet.c if (sock_net(sk)->ipv4.sysctl_ip_dynaddr > 1) { sock_net 1257 net/ipv4/af_inet.c rt = ip_route_output_ports(sock_net(sk), fl4, sk, daddr, inet->inet_saddr, sock_net 1273 net/ipv4/af_inet.c if (!sock_net(sk)->ipv4.sysctl_ip_dynaddr || sock_net 42 net/ipv4/datagram.c if (!oif || netif_index_is_l3_master(sock_net(sk), oif)) sock_net 55 net/ipv4/datagram.c IP_INC_STATS(sock_net(sk), IPSTATS_MIB_OUTNOROUTES); sock_net 119 net/ipv4/datagram.c rt = ip_route_output_ports(sock_net(sk), &fl4, sk, daddr, sock_net 647 net/ipv4/devinet.c struct net *net = sock_net(skb->sk); sock_net 931 net/ipv4/devinet.c struct net *net = sock_net(skb->sk); sock_net 1811 net/ipv4/devinet.c struct net *net = sock_net(skb->sk); sock_net 2163 net/ipv4/devinet.c struct net *net = sock_net(in_skb->sk); sock_net 2223 net/ipv4/devinet.c struct net *net = sock_net(skb->sk); sock_net 848 net/ipv4/fib_frontend.c struct net *net = sock_net(skb->sk); sock_net 878 net/ipv4/fib_frontend.c struct net *net = sock_net(skb->sk); sock_net 979 net/ipv4/fib_frontend.c struct net *net = sock_net(skb->sk); sock_net 1370 net/ipv4/fib_frontend.c net = sock_net(skb->sk); sock_net 223 net/ipv4/fib_rules.c struct net *net = sock_net(skb->sk); sock_net 893 net/ipv4/fou.c struct net *net = sock_net(skb->sk); sock_net 375 net/ipv4/icmp.c __ICMP_INC_STATS(sock_net(sk), ICMP_MIB_OUTERRORS); sock_net 2163 net/ipv4/igmp.c struct net *net = sock_net(sk); sock_net 2248 net/ipv4/igmp.c struct net *net = sock_net(sk); sock_net 2300 net/ipv4/igmp.c struct net *net = sock_net(sk); sock_net 2435 net/ipv4/igmp.c struct net *net = sock_net(sk); sock_net 2521 net/ipv4/igmp.c struct net *net = sock_net(sk); sock_net 2676 net/ipv4/igmp.c struct net *net = sock_net(sk); sock_net 183 net/ipv4/inet_connection_sock.c struct net *net = sock_net(sk); sock_net 297 net/ipv4/inet_connection_sock.c struct net *net = sock_net(sk); sock_net 714 net/ipv4/inet_connection_sock.c struct net *net = sock_net(sk_listener); sock_net 1091 net/ipv4/inet_connection_sock.c rt = ip_route_output_ports(sock_net(sk), fl4, sk, daddr, sock_net 466 net/ipv4/inet_diag.c struct net *net = sock_net(in_skb->sk); sock_net 897 net/ipv4/inet_diag.c struct net *net = sock_net(skb->sk); sock_net 921 net/ipv4/inet_diag.c if (!net_eq(sock_net(sk), net)) sock_net 980 net/ipv4/inet_diag.c if (!net_eq(sock_net(sk), net)) sock_net 1121 net/ipv4/inet_diag.c struct net *net = sock_net(skb->sk); sock_net 1152 net/ipv4/inet_diag.c struct net *net = sock_net(skb->sk); sock_net 48 net/ipv4/inet_hashtables.c return inet6_ehashfn(sock_net(sk), sock_net 52 net/ipv4/inet_hashtables.c return inet_ehashfn(sock_net(sk), sock_net 106 net/ipv4/inet_hashtables.c const int bhash = inet_bhashfn(sock_net(sk), inet_sk(sk)->inet_num, sock_net 132 net/ipv4/inet_hashtables.c const int bhash = inet_bhashfn(sock_net(sk), port, sock_net 153 net/ipv4/inet_hashtables.c if (net_eq(ib_net(tb), sock_net(sk)) && sock_net 159 net/ipv4/inet_hashtables.c sock_net(sk), head, port, sock_net 181 net/ipv4/inet_hashtables.c hash = ipv6_portaddr_hash(sock_net(sk), sock_net 186 net/ipv4/inet_hashtables.c hash = ipv4_portaddr_hash(sock_net(sk), sock_net 234 net/ipv4/inet_hashtables.c if (net_eq(sock_net(sk), net) && sk->sk_num == hnum && sock_net 404 net/ipv4/inet_hashtables.c struct net *net = sock_net(sk); sock_net 446 net/ipv4/inet_hashtables.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); sock_net 504 net/ipv4/inet_hashtables.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); sock_net 565 net/ipv4/inet_hashtables.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); sock_net 613 net/ipv4/inet_hashtables.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); sock_net 628 net/ipv4/inet_hashtables.c struct net *net = sock_net(sk); sock_net 127 net/ipv4/inet_timewait_sock.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); sock_net 188 net/ipv4/inet_timewait_sock.c twsk_net_set(tw, sock_net(sk)); sock_net 149 net/ipv4/ip_output.c struct net *net = sock_net(sk); sock_net 457 net/ipv4/ip_output.c struct net *net = sock_net(sk); sock_net 1230 net/ipv4/ip_output.c IP_INC_STATS(sock_net(sk), IPSTATS_MIB_OUTDISCARDS); sock_net 1448 net/ipv4/ip_output.c IP_INC_STATS(sock_net(sk), IPSTATS_MIB_OUTDISCARDS); sock_net 1473 net/ipv4/ip_output.c struct net *net = sock_net(sk); sock_net 1582 net/ipv4/ip_output.c return ip_send_skb(sock_net(sk), skb); sock_net 1666 net/ipv4/ip_output.c struct net *net = sock_net(sk); sock_net 211 net/ipv4/ip_sockglue.c ip_cmsg_recv_retopts(sock_net(sk), msg, skb); sock_net 247 net/ipv4/ip_sockglue.c struct net *net = sock_net(sk); sock_net 340 net/ipv4/ip_sockglue.c struct net *net = sock_net(sk); sock_net 594 net/ipv4/ip_sockglue.c struct net *net = sock_net(sk); sock_net 654 net/ipv4/ip_sockglue.c err = ip_options_get_from_user(sock_net(sk), &opt, sock_net 822 net/ipv4/ip_sockglue.c dev = dev_get_by_index(sock_net(sk), ifindex); sock_net 878 net/ipv4/ip_sockglue.c dev = ip_dev_find(sock_net(sk), mreq.imr_address.s_addr); sock_net 882 net/ipv4/ip_sockglue.c dev = dev_get_by_index(sock_net(sk), mreq.imr_ifindex); sock_net 1159 net/ipv4/ip_sockglue.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 1165 net/ipv4/ip_sockglue.c if (!!val && !ns_capable(sock_net(sk)->user_ns, CAP_NET_RAW) && sock_net 1166 net/ipv4/ip_sockglue.c !ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) { sock_net 1392 net/ipv4/ip_sockglue.c struct net *net = sock_net(sk); sock_net 1349 net/ipv4/ipmr.c struct net *net = sock_net(sk); sock_net 1376 net/ipv4/ipmr.c struct net *net = sock_net(sk); sock_net 1570 net/ipv4/ipmr.c struct net *net = sock_net(sk); sock_net 1616 net/ipv4/ipmr.c struct net *net = sock_net(sk); sock_net 1691 net/ipv4/ipmr.c struct net *net = sock_net(sk); sock_net 2541 net/ipv4/ipmr.c struct net *net = sock_net(in_skb->sk); sock_net 2601 net/ipv4/ipmr.c err = ip_valid_fib_dump_req(sock_net(skb->sk), cb->nlh, sock_net 2610 net/ipv4/ipmr.c mrt = ipmr_get_table(sock_net(skb->sk), filter.table_id); sock_net 2736 net/ipv4/ipmr.c struct net *net = sock_net(skb->sk); sock_net 2833 net/ipv4/ipmr.c struct net *net = sock_net(skb->sk); sock_net 354 net/ipv4/ipmr_base.c struct net *net = sock_net(skb->sk); sock_net 1302 net/ipv4/netfilter/arp_tables.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 1307 net/ipv4/netfilter/arp_tables.c ret = compat_do_replace(sock_net(sk), user, len); sock_net 1311 net/ipv4/netfilter/arp_tables.c ret = do_add_counters(sock_net(sk), user, len, 1); sock_net 1436 net/ipv4/netfilter/arp_tables.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 1441 net/ipv4/netfilter/arp_tables.c ret = get_info(sock_net(sk), user, len, 1); sock_net 1444 net/ipv4/netfilter/arp_tables.c ret = compat_get_entries(sock_net(sk), user, len); sock_net 1457 net/ipv4/netfilter/arp_tables.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 1462 net/ipv4/netfilter/arp_tables.c ret = do_replace(sock_net(sk), user, len); sock_net 1466 net/ipv4/netfilter/arp_tables.c ret = do_add_counters(sock_net(sk), user, len, 0); sock_net 1480 net/ipv4/netfilter/arp_tables.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 1485 net/ipv4/netfilter/arp_tables.c ret = get_info(sock_net(sk), user, len, 0); sock_net 1489 net/ipv4/netfilter/arp_tables.c ret = get_entries(sock_net(sk), user, len); sock_net 1543 net/ipv4/netfilter/ip_tables.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 1548 net/ipv4/netfilter/ip_tables.c ret = compat_do_replace(sock_net(sk), user, len); sock_net 1552 net/ipv4/netfilter/ip_tables.c ret = do_add_counters(sock_net(sk), user, len, 1); sock_net 1645 net/ipv4/netfilter/ip_tables.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 1650 net/ipv4/netfilter/ip_tables.c ret = get_info(sock_net(sk), user, len, 1); sock_net 1653 net/ipv4/netfilter/ip_tables.c ret = compat_get_entries(sock_net(sk), user, len); sock_net 1667 net/ipv4/netfilter/ip_tables.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 1672 net/ipv4/netfilter/ip_tables.c ret = do_replace(sock_net(sk), user, len); sock_net 1676 net/ipv4/netfilter/ip_tables.c ret = do_add_counters(sock_net(sk), user, len, 0); sock_net 1691 net/ipv4/netfilter/ip_tables.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 1696 net/ipv4/netfilter/ip_tables.c ret = get_info(sock_net(sk), user, len, 0); sock_net 1700 net/ipv4/netfilter/ip_tables.c ret = get_entries(sock_net(sk), user, len); sock_net 1496 net/ipv4/nexthop.c struct net *net = sock_net(skb->sk); sock_net 1560 net/ipv4/nexthop.c struct net *net = sock_net(skb->sk); sock_net 1587 net/ipv4/nexthop.c struct net *net = sock_net(in_skb->sk); sock_net 1718 net/ipv4/nexthop.c struct net *net = sock_net(skb->sk); sock_net 93 net/ipv4/ping.c hlist = ping_hashslot(&ping_table, sock_net(sk), sock_net 111 net/ipv4/ping.c hlist = ping_hashslot(&ping_table, sock_net(sk), ident); sock_net 132 net/ipv4/ping.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); sock_net 163 net/ipv4/ping.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); sock_net 254 net/ipv4/ping.c struct net *net = sock_net(sk); sock_net 297 net/ipv4/ping.c struct net *net = sock_net(sk); sock_net 696 net/ipv4/ping.c struct net *net = sock_net(sk); sock_net 777 net/ipv4/ping.c if (!ipc.oif || netif_index_is_l3_master(sock_net(sk), ipc.oif)) sock_net 836 net/ipv4/ping.c icmp_out_count(sock_net(sk), user_icmph.type); sock_net 1028 net/ipv4/ping.c if (net_eq(sock_net(sk), net) && sock_net 1045 net/ipv4/ping.c } while (sk && (!net_eq(sock_net(sk), net))); sock_net 102 net/ipv4/raw.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); sock_net 115 net/ipv4/raw.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); sock_net 127 net/ipv4/raw.c if (net_eq(sock_net(sk), net) && inet->inet_num == num && sock_net 349 net/ipv4/raw.c struct net *net = sock_net(sk); sock_net 501 net/ipv4/raw.c struct net *net = sock_net(sk); sock_net 606 net/ipv4/raw.c if (!ipc.oif || netif_index_is_l3_master(sock_net(sk), ipc.oif)) sock_net 620 net/ipv4/raw.c ipc.oif == l3mdev_master_ifindex_by_index(sock_net(sk), sock_net 727 net/ipv4/raw.c tb_id = l3mdev_fib_table_by_index(sock_net(sk), sock_net 730 net/ipv4/raw.c chk_addr_ret = inet_addr_type_table(sock_net(sk), addr->sin_addr.s_addr, sock_net 1000 net/ipv4/raw.c if (sock_net(sk) == seq_file_net(seq)) sock_net 1017 net/ipv4/raw.c } while (sk && sock_net(sk) != seq_file_net(seq)); sock_net 94 net/ipv4/raw_diag.c struct net *net = sock_net(in_skb->sk); sock_net 152 net/ipv4/raw_diag.c struct net *net = sock_net(skb->sk); sock_net 169 net/ipv4/raw_diag.c if (!net_eq(sock_net(sk), net)) sock_net 206 net/ipv4/raw_diag.c struct net *net = sock_net(in_skb->sk); sock_net 1079 net/ipv4/route.c __build_flow_key(sock_net(sk), &fl4, sk, iph, 0, 0, 0, 0, 0); sock_net 1082 net/ipv4/route.c fl4.flowi4_mark = IP4_REPLY_MARK(sock_net(sk), skb->mark); sock_net 1084 net/ipv4/route.c rt = __ip_route_output_key(sock_net(sk), &fl4); sock_net 1098 net/ipv4/route.c struct net *net = sock_net(sk); sock_net 1116 net/ipv4/route.c rt = ip_route_output_flow(sock_net(sk), &fl4, sk); sock_net 1129 net/ipv4/route.c rt = ip_route_output_flow(sock_net(sk), &fl4, sk); sock_net 1167 net/ipv4/route.c struct net *net = sock_net(sk); sock_net 2919 net/ipv4/route.c struct net *net = sock_net(cb->skb->sk); sock_net 3078 net/ipv4/route.c struct net *net = sock_net(in_skb->sk); sock_net 300 net/ipv4/syncookies.c if (!sock_net(sk)->ipv4.sysctl_tcp_syncookies || !th->ack || th->rst) sock_net 308 net/ipv4/syncookies.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_SYNCOOKIESFAILED); sock_net 312 net/ipv4/syncookies.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_SYNCOOKIESRECV); sock_net 316 net/ipv4/syncookies.c tcp_parse_options(sock_net(sk), skb, &tcp_opt, 0, NULL); sock_net 319 net/ipv4/syncookies.c tsoff = secure_tcp_ts_off(sock_net(sk), sock_net 325 net/ipv4/syncookies.c if (!cookie_timestamp_decode(sock_net(sk), &tcp_opt)) sock_net 360 net/ipv4/syncookies.c RCU_INIT_POINTER(ireq->ireq_opt, tcp_v4_save_options(sock_net(sk), skb)); sock_net 381 net/ipv4/syncookies.c rt = ip_route_output_key(sock_net(sk), &fl4); sock_net 396 net/ipv4/syncookies.c ireq->ecn_ok = cookie_ecn_ok(&tcp_opt, sock_net(sk), &rt->dst); sock_net 336 net/ipv4/tcp.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPMEMORYPRESSURES); sock_net 348 net/ipv4/tcp.c NET_ADD_STATS(sock_net(sk), LINUX_MIB_TCPMEMORYPRESSURESCHRONO, sock_net 440 net/ipv4/tcp.c tp->reordering = sock_net(sk)->ipv4.sysctl_tcp_reordering; sock_net 453 net/ipv4/tcp.c WRITE_ONCE(sk->sk_sndbuf, sock_net(sk)->ipv4.sysctl_tcp_wmem[1]); sock_net 454 net/ipv4/tcp.c WRITE_ONCE(sk->sk_rcvbuf, sock_net(sk)->ipv4.sysctl_tcp_rmem[1]); sock_net 698 net/ipv4/tcp.c sock_net(sk)->ipv4.sysctl_tcp_autocorking && sock_net 721 net/ipv4/tcp.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPAUTOCORKING); sock_net 1148 net/ipv4/tcp.c if (!(sock_net(sk)->ipv4.sysctl_tcp_fastopen & TFO_CLIENT_ENABLE) || sock_net 1708 net/ipv4/tcp.c cap = sock_net(sk)->ipv4.sysctl_tcp_rmem[2] >> 1; sock_net 2249 net/ipv4/tcp.c TCP_INC_STATS(sock_net(sk), TCP_MIB_CURRESTAB); sock_net 2254 net/ipv4/tcp.c TCP_INC_STATS(sock_net(sk), TCP_MIB_ESTABRESETS); sock_net 2263 net/ipv4/tcp.c TCP_DEC_STATS(sock_net(sk), TCP_MIB_CURRESTAB); sock_net 2394 net/ipv4/tcp.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPABORTONCLOSE); sock_net 2400 net/ipv4/tcp.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPABORTONDATA); sock_net 2471 net/ipv4/tcp.c __NET_INC_STATS(sock_net(sk), sock_net 2490 net/ipv4/tcp.c __NET_INC_STATS(sock_net(sk), sock_net 2492 net/ipv4/tcp.c } else if (!check_net(sock_net(sk))) { sock_net 2699 net/ipv4/tcp.c return ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN) && sock_net 2807 net/ipv4/tcp.c struct net *net = sock_net(sk); sock_net 2827 net/ipv4/tcp.c ns_capable(sock_net(sk)->user_ns, sock_net 3416 net/ipv4/tcp.c struct net *net = sock_net(sk); sock_net 3868 net/ipv4/tcp.c TCP_INC_STATS(sock_net(sk), TCP_MIB_ATTEMPTFAILS); sock_net 160 net/ipv4/tcp_cdg.c NET_INC_STATS(sock_net(sk), sock_net 162 net/ipv4/tcp_cdg.c NET_ADD_STATS(sock_net(sk), sock_net 179 net/ipv4/tcp_cdg.c NET_INC_STATS(sock_net(sk), sock_net 181 net/ipv4/tcp_cdg.c NET_ADD_STATS(sock_net(sk), sock_net 159 net/ipv4/tcp_cong.c struct net *net = sock_net(sk); sock_net 350 net/ipv4/tcp_cong.c ca = tcp_ca_find_autoload(sock_net(sk), name); sock_net 395 net/ipv4/tcp_cubic.c NET_INC_STATS(sock_net(sk), sock_net 397 net/ipv4/tcp_cubic.c NET_ADD_STATS(sock_net(sk), sock_net 416 net/ipv4/tcp_cubic.c NET_INC_STATS(sock_net(sk), sock_net 418 net/ipv4/tcp_cubic.c NET_ADD_STATS(sock_net(sk), sock_net 197 net/ipv4/tcp_diag.c struct net *net = sock_net(in_skb->sk); sock_net 312 net/ipv4/tcp_fastopen.c __NET_INC_STATS(sock_net(sk), sock_net 329 net/ipv4/tcp_fastopen.c return (sock_net(sk)->ipv4.sysctl_tcp_fastopen & flag) || sock_net 344 net/ipv4/tcp_fastopen.c int tcp_fastopen = sock_net(sk)->ipv4.sysctl_tcp_fastopen; sock_net 350 net/ipv4/tcp_fastopen.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPFASTOPENCOOKIEREQD); sock_net 370 net/ipv4/tcp_fastopen.c NET_INC_STATS(sock_net(sk), sock_net 388 net/ipv4/tcp_fastopen.c NET_INC_STATS(sock_net(sk), sock_net 393 net/ipv4/tcp_fastopen.c NET_INC_STATS(sock_net(sk), sock_net 397 net/ipv4/tcp_fastopen.c NET_INC_STATS(sock_net(sk), sock_net 482 net/ipv4/tcp_fastopen.c struct net *net = sock_net(sk); sock_net 495 net/ipv4/tcp_fastopen.c unsigned int tfo_bh_timeout = sock_net(sk)->ipv4.sysctl_tcp_fastopen_blackhole_timeout; sock_net 496 net/ipv4/tcp_fastopen.c int tfo_da_times = atomic_read(&sock_net(sk)->ipv4.tfo_active_disable_times); sock_net 506 net/ipv4/tcp_fastopen.c if (time_before(jiffies, sock_net(sk)->ipv4.tfo_active_disable_stamp + timeout)) sock_net 540 net/ipv4/tcp_fastopen.c atomic_read(&sock_net(sk)->ipv4.tfo_active_disable_times)) { sock_net 543 net/ipv4/tcp_fastopen.c atomic_set(&sock_net(sk)->ipv4.tfo_active_disable_times, 0); sock_net 561 net/ipv4/tcp_fastopen.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPFASTOPENACTIVEFAIL); sock_net 151 net/ipv4/tcp_input.c dev = dev_get_by_index_rcu(sock_net(sk), skb->skb_iif); sock_net 363 net/ipv4/tcp_input.c min(sndmem, sock_net(sk)->ipv4.sysctl_tcp_wmem[2])); sock_net 397 net/ipv4/tcp_input.c int window = tcp_win_from_space(sk, sock_net(sk)->ipv4.sysctl_tcp_rmem[2]) >> 1; sock_net 441 net/ipv4/tcp_input.c int tcp_app_win = sock_net(sk)->ipv4.sysctl_tcp_app_win; sock_net 479 net/ipv4/tcp_input.c struct net *net = sock_net(sk); sock_net 630 net/ipv4/tcp_input.c if (sock_net(sk)->ipv4.sysctl_tcp_moderate_rcvbuf && sock_net 651 net/ipv4/tcp_input.c sock_net(sk)->ipv4.sysctl_tcp_rmem[2]); sock_net 816 net/ipv4/tcp_input.c rate *= sock_net(sk)->ipv4.sysctl_tcp_pacing_ss_ratio; sock_net 818 net/ipv4/tcp_input.c rate *= sock_net(sk)->ipv4.sysctl_tcp_pacing_ca_ratio; sock_net 906 net/ipv4/tcp_input.c sock_net(sk)->ipv4.sysctl_tcp_max_reordering); sock_net 911 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), sock_net 1105 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPDSACKRECV); sock_net 1114 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), sock_net 1332 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_SACKSHIFTED); sock_net 1359 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_SACKMERGED); sock_net 1528 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_SACKSHIFTFALLBACK); sock_net 1724 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), mib_idx); sock_net 1887 net/ipv4/tcp_input.c sock_net(sk)->ipv4.sysctl_tcp_max_reordering); sock_net 1889 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPRENOREORDER); sock_net 1951 net/ipv4/tcp_input.c return sock_net(sk)->ipv4.sysctl_tcp_recovery & TCP_RACK_LOSS_DETECTION; sock_net 1967 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPSACKRENEGING); sock_net 1993 net/ipv4/tcp_input.c struct net *net = sock_net(sk); sock_net 2399 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), mib_idx); sock_net 2426 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPDSACKUNDO); sock_net 2441 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPLOSSUNDO); sock_net 2443 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), sock_net 2572 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPMTUPFAIL); sock_net 2592 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPMTUPSUCCESS); sock_net 2653 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), mib_idx); sock_net 2746 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPPARTIALUNDO); sock_net 2907 net/ipv4/tcp_input.c u32 wlen = sock_net(sk)->ipv4.sysctl_tcp_min_rtt_wlen * HZ; sock_net 3312 net/ipv4/tcp_input.c if (tcp_sk(sk)->reordering > sock_net(sk)->ipv4.sysctl_tcp_reordering) sock_net 3460 net/ipv4/tcp_input.c struct net *net = sock_net(sk); sock_net 3530 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), sock_net 3571 net/ipv4/tcp_input.c const struct net *net = sock_net(sk); sock_net 3659 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPHPACKS); sock_net 3666 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPPUREACKS); sock_net 4236 net/ipv4/tcp_input.c if (tcp_is_sack(tp) && sock_net(sk)->ipv4.sysctl_tcp_dsack) { sock_net 4244 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), mib_idx); sock_net 4279 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_DELAYEDACKLOST); sock_net 4282 net/ipv4/tcp_input.c if (tcp_is_sack(tp) && sock_net(sk)->ipv4.sysctl_tcp_dsack) { sock_net 4438 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPRCVCOALESCE); sock_net 4556 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPOFODROP); sock_net 4566 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPOFOQUEUE); sock_net 4614 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), sock_net 4633 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), sock_net 4662 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPOFOMERGE); sock_net 4724 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPRCVQDROP); sock_net 4784 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPZEROWINDOWDROP); sock_net 4793 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPRCVQDROP); sock_net 4828 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_DELAYEDACKLOST); sock_net 4851 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPZEROWINDOWDROP); sock_net 4880 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPRCVCOLLAPSED); sock_net 5083 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_OFOPRUNED); sock_net 5123 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_PRUNECALLED); sock_net 5156 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_RCVPRUNED); sock_net 5259 net/ipv4/tcp_input.c tp->compressed_ack >= sock_net(sk)->ipv4.sysctl_tcp_comp_sack_nr) sock_net 5265 net/ipv4/tcp_input.c NET_ADD_STATS(sock_net(sk), LINUX_MIB_TCPACKCOMPRESSED, sock_net 5282 net/ipv4/tcp_input.c delay = min_t(unsigned long, sock_net(sk)->ipv4.sysctl_tcp_comp_sack_delay_ns, sock_net 5313 net/ipv4/tcp_input.c if (ptr && !sock_net(sk)->ipv4.sysctl_tcp_stdurg) sock_net 5426 net/ipv4/tcp_input.c if (tcp_fast_parse_options(sock_net(sk), skb, th, tp) && sock_net 5430 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_PAWSESTABREJECTED); sock_net 5431 net/ipv4/tcp_input.c if (!tcp_oow_rate_limited(sock_net(sk), skb, sock_net 5451 net/ipv4/tcp_input.c if (!tcp_oow_rate_limited(sock_net(sk), skb, sock_net 5514 net/ipv4/tcp_input.c TCP_INC_STATS(sock_net(sk), TCP_MIB_INERRS); sock_net 5515 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPSYNCHALLENGE); sock_net 5640 net/ipv4/tcp_input.c TCP_INC_STATS(sock_net(sk), TCP_MIB_INERRS); sock_net 5664 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPHPHITS); sock_net 5720 net/ipv4/tcp_input.c TCP_INC_STATS(sock_net(sk), TCP_MIB_CSUMERRORS); sock_net 5721 net/ipv4/tcp_input.c TCP_INC_STATS(sock_net(sk), TCP_MIB_INERRS); sock_net 5798 net/ipv4/tcp_input.c tcp_parse_options(sock_net(sk), synack, &opt, 0, NULL); sock_net 5828 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), sock_net 5834 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPFASTOPENACTIVE); sock_net 5879 net/ipv4/tcp_input.c tcp_parse_options(sock_net(sk), skb, &tp->rx_opt, 0, &foc); sock_net 5899 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), sock_net 6283 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPABORTONDATA); sock_net 6292 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPABORTONDATA); sock_net 6350 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPABORTONDATA); sock_net 6413 net/ipv4/tcp_input.c const struct net *net = sock_net(listen_sk); sock_net 6475 net/ipv4/tcp_input.c write_pnet(&ireq->ireq_net, sock_net(sk_listener)); sock_net 6491 net/ipv4/tcp_input.c struct net *net = sock_net(sk); sock_net 6497 net/ipv4/tcp_input.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPREQQFULLDOCOOKIES); sock_net 6500 net/ipv4/tcp_input.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPREQQFULLDROP); sock_net 6538 net/ipv4/tcp_input.c if (sock_net(sk)->ipv4.sysctl_tcp_syncookies != 2 && sock_net 6546 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_LISTENOVERFLOWS); sock_net 6566 net/ipv4/tcp_input.c struct net *net = sock_net(sk); sock_net 6585 net/ipv4/tcp_input.c NET_INC_STATS(sock_net(sk), LINUX_MIB_LISTENOVERFLOWS); sock_net 6599 net/ipv4/tcp_input.c tcp_parse_options(sock_net(sk), skb, &tmp_opt, 0, sock_net 111 net/ipv4/tcp_ipv4.c int reuse = sock_net(sk)->ipv4.sysctl_tcp_tw_reuse; sock_net 210 net/ipv4/tcp_ipv4.c struct inet_timewait_death_row *tcp_death_row = &sock_net(sk)->ipv4.tcp_death_row; sock_net 237 net/ipv4/tcp_ipv4.c IP_INC_STATS(sock_net(sk), IPSTATS_MIB_OUTNOROUTES); sock_net 301 net/ipv4/tcp_ipv4.c tp->tsoffset = secure_tcp_ts_off(sock_net(sk), sock_net 387 net/ipv4/tcp_ipv4.c struct net *net = sock_net(sk); sock_net 701 net/ipv4/tcp_ipv4.c net = sk ? sock_net(sk) : dev_net(skb_dst(skb)->dev); sock_net 817 net/ipv4/tcp_ipv4.c struct net *net = sock_net(sk); sock_net 1318 net/ipv4/tcp_ipv4.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPMD5NOTFOUND); sock_net 1323 net/ipv4/tcp_ipv4.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPMD5UNEXPECTED); sock_net 1335 net/ipv4/tcp_ipv4.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPMD5FAILURE); sock_net 1353 net/ipv4/tcp_ipv4.c struct net *net = sock_net(sk_listener); sock_net 1500 net/ipv4/tcp_ipv4.c NET_INC_STATS(sock_net(sk), LINUX_MIB_LISTENOVERFLOWS); sock_net 1604 net/ipv4/tcp_ipv4.c TCP_INC_STATS(sock_net(sk), TCP_MIB_CSUMERRORS); sock_net 1605 net/ipv4/tcp_ipv4.c TCP_INC_STATS(sock_net(sk), TCP_MIB_INERRS); sock_net 1672 net/ipv4/tcp_ipv4.c __TCP_INC_STATS(sock_net(sk), TCP_MIB_CSUMERRORS); sock_net 1673 net/ipv4/tcp_ipv4.c __TCP_INC_STATS(sock_net(sk), TCP_MIB_INERRS); sock_net 1745 net/ipv4/tcp_ipv4.c __NET_INC_STATS(sock_net(sk), sock_net 1761 net/ipv4/tcp_ipv4.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPBACKLOGDROP); sock_net 2170 net/ipv4/tcp_ipv4.c if (!net_eq(sock_net(sk), net)) sock_net 2227 net/ipv4/tcp_ipv4.c !net_eq(sock_net(sk), net)) { sock_net 2254 net/ipv4/tcp_ipv4.c net_eq(sock_net(sk), net)) sock_net 325 net/ipv4/tcp_metrics.c struct net *net = sock_net(sk); sock_net 742 net/ipv4/tcp_metrics.c struct net *net = sock_net(skb->sk); sock_net 258 net/ipv4/tcp_minisocks.c struct inet_timewait_death_row *tcp_death_row = &sock_net(sk)->ipv4.tcp_death_row; sock_net 336 net/ipv4/tcp_minisocks.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPTIMEWAITOVERFLOW); sock_net 551 net/ipv4/tcp_minisocks.c __TCP_INC_STATS(sock_net(sk), TCP_MIB_PASSIVEOPENS); sock_net 581 net/ipv4/tcp_minisocks.c tcp_parse_options(sock_net(sk), skb, &tmp_opt, 0, NULL); sock_net 623 net/ipv4/tcp_minisocks.c if (!tcp_oow_rate_limited(sock_net(sk), skb, sock_net 713 net/ipv4/tcp_minisocks.c !tcp_oow_rate_limited(sock_net(sk), skb, sock_net 718 net/ipv4/tcp_minisocks.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_PAWSESTABREJECTED); sock_net 737 net/ipv4/tcp_minisocks.c __TCP_INC_STATS(sock_net(sk), TCP_MIB_ATTEMPTFAILS); sock_net 760 net/ipv4/tcp_minisocks.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPDEFERACCEPTDROP); sock_net 781 net/ipv4/tcp_minisocks.c if (!sock_net(sk)->ipv4.sysctl_tcp_abort_on_overflow) { sock_net 800 net/ipv4/tcp_minisocks.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_EMBRYONICRSTS); sock_net 82 net/ipv4/tcp_output.c NET_ADD_STATS(sock_net(sk), LINUX_MIB_TCPORIGDATASENT, sock_net 187 net/ipv4/tcp_output.c NET_ADD_STATS(sock_net(sk), LINUX_MIB_TCPACKCOMPRESSED, sock_net 231 net/ipv4/tcp_output.c if (sock_net(sk)->ipv4.sysctl_tcp_workaround_signed_windows) sock_net 242 net/ipv4/tcp_output.c space = max_t(u32, space, sock_net(sk)->ipv4.sysctl_tcp_rmem[2]); sock_net 275 net/ipv4/tcp_output.c NET_INC_STATS(sock_net(sk), sock_net 286 net/ipv4/tcp_output.c sock_net(sk)->ipv4.sysctl_tcp_workaround_signed_windows) sock_net 298 net/ipv4/tcp_output.c NET_INC_STATS(sock_net(sk), sock_net 301 net/ipv4/tcp_output.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPFROMZEROWINDOWADV); sock_net 325 net/ipv4/tcp_output.c bool use_ecn = sock_net(sk)->ipv4.sysctl_tcp_ecn == 1 || sock_net 347 net/ipv4/tcp_output.c if (sock_net(sk)->ipv4.sysctl_tcp_ecn_fallback) sock_net 622 net/ipv4/tcp_output.c if (likely(sock_net(sk)->ipv4.sysctl_tcp_timestamps && !*md5)) { sock_net 628 net/ipv4/tcp_output.c if (likely(sock_net(sk)->ipv4.sysctl_tcp_window_scaling)) { sock_net 633 net/ipv4/tcp_output.c if (likely(sock_net(sk)->ipv4.sysctl_tcp_sack)) { sock_net 1161 net/ipv4/tcp_output.c TCP_ADD_STATS(sock_net(sk), TCP_MIB_OUTSEGS, sock_net 1331 net/ipv4/tcp_output.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPWQUEUETOOBIG); sock_net 1494 net/ipv4/tcp_output.c mss_now = max(mss_now, sock_net(sk)->ipv4.sysctl_tcp_min_snd_mss); sock_net 1534 net/ipv4/tcp_output.c struct net *net = sock_net(sk); sock_net 1670 net/ipv4/tcp_output.c if (sock_net(sk)->ipv4.sysctl_tcp_slow_start_after_idle && sock_net 1758 net/ipv4/tcp_output.c sock_net(sk)->ipv4.sysctl_tcp_min_tso_segs; sock_net 1983 net/ipv4/tcp_output.c win_divisor = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_tso_win_divisor); sock_net 2045 net/ipv4/tcp_output.c struct net *net = sock_net(sk); sock_net 2098 net/ipv4/tcp_output.c struct net *net = sock_net(sk); sock_net 2273 net/ipv4/tcp_output.c sock_net(sk)->ipv4.sysctl_tcp_limit_output_bytes); sock_net 2504 net/ipv4/tcp_output.c early_retrans = sock_net(sk)->ipv4.sysctl_tcp_early_retrans; sock_net 2548 net/ipv4/tcp_output.c NET_INC_STATS(sock_net(sk), sock_net 2611 net/ipv4/tcp_output.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPLOSSPROBES); sock_net 2863 net/ipv4/tcp_output.c if (!sock_net(sk)->ipv4.sysctl_tcp_retrans_collapse) sock_net 2967 net/ipv4/tcp_output.c TCP_ADD_STATS(sock_net(sk), TCP_MIB_RETRANSSEGS, segs); sock_net 2969 net/ipv4/tcp_output.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPSYNRETRANS); sock_net 3011 net/ipv4/tcp_output.c NET_ADD_STATS(sock_net(sk), LINUX_MIB_TCPRETRANSFAIL, segs); sock_net 3103 net/ipv4/tcp_output.c NET_ADD_STATS(sock_net(sk), mib_idx, tcp_skb_pcount(skb)); sock_net 3193 net/ipv4/tcp_output.c TCP_INC_STATS(sock_net(sk), TCP_MIB_OUTRSTS); sock_net 3198 net/ipv4/tcp_output.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPABORTFAILED); sock_net 3209 net/ipv4/tcp_output.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPABORTFAILED); sock_net 3351 net/ipv4/tcp_output.c __TCP_INC_STATS(sock_net(sk), TCP_MIB_OUTSEGS); sock_net 3399 net/ipv4/tcp_output.c if (sock_net(sk)->ipv4.sysctl_tcp_timestamps) sock_net 3435 net/ipv4/tcp_output.c sock_net(sk)->ipv4.sysctl_tcp_window_scaling, sock_net 3551 net/ipv4/tcp_output.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPORIGDATASENT); sock_net 3617 net/ipv4/tcp_output.c TCP_INC_STATS(sock_net(sk), TCP_MIB_ACTIVEOPENS); sock_net 3755 net/ipv4/tcp_output.c NET_INC_STATS(sock_net(sk), mib); sock_net 3820 net/ipv4/tcp_output.c struct net *net = sock_net(sk); sock_net 3856 net/ipv4/tcp_output.c __TCP_INC_STATS(sock_net(sk), TCP_MIB_RETRANSSEGS); sock_net 3857 net/ipv4/tcp_output.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPSYNRETRANS); sock_net 14 net/ipv4/tcp_recovery.c NET_ADD_STATS(sock_net(sk), LINUX_MIB_TCPLOSTRETRANSMIT, sock_net 36 net/ipv4/tcp_recovery.c !(sock_net(sk)->ipv4.sysctl_tcp_recovery & TCP_RACK_NO_DUPTHRESH)) sock_net 206 net/ipv4/tcp_recovery.c if (sock_net(sk)->ipv4.sysctl_tcp_recovery & TCP_RACK_STATIC_REO_WND || sock_net 57 net/ipv4/tcp_timer.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPABORTONTIMEOUT); sock_net 108 net/ipv4/tcp_timer.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPABORTONMEMORY); sock_net 112 net/ipv4/tcp_timer.c if (!check_net(sock_net(sk))) { sock_net 128 net/ipv4/tcp_timer.c int retries = sock_net(sk)->ipv4.sysctl_tcp_orphan_retries; /* May be zero. */ sock_net 144 net/ipv4/tcp_timer.c const struct net *net = sock_net(sk); sock_net 217 net/ipv4/tcp_timer.c struct net *net = sock_net(sk); sock_net 300 net/ipv4/tcp_timer.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_DELAYEDACKS); sock_net 329 net/ipv4/tcp_timer.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_DELAYEDACKLOCKED); sock_net 366 net/ipv4/tcp_timer.c max_probes = sock_net(sk)->ipv4.sysctl_tcp_retries2; sock_net 393 net/ipv4/tcp_timer.c sock_net(sk)->ipv4.sysctl_tcp_synack_retries + 1; /* add one more retry for fastopen */ sock_net 434 net/ipv4/tcp_timer.c struct net *net = sock_net(sk); sock_net 488 net/ipv4/tcp_timer.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPTIMEOUTS); sock_net 510 net/ipv4/tcp_timer.c __NET_INC_STATS(sock_net(sk), mib_idx); sock_net 137 net/ipv4/udp.c if (net_eq(sock_net(sk2), net) && sock_net 174 net/ipv4/udp.c if (net_eq(sock_net(sk2), net) && sock_net 197 net/ipv4/udp.c struct net *net = sock_net(sk); sock_net 202 net/ipv4/udp.c if (net_eq(sock_net(sk2), net) && sock_net 232 net/ipv4/udp.c struct net *net = sock_net(sk); sock_net 318 net/ipv4/udp.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); sock_net 344 net/ipv4/udp.c ipv4_portaddr_hash(sock_net(sk), htonl(INADDR_ANY), snum); sock_net 346 net/ipv4/udp.c ipv4_portaddr_hash(sock_net(sk), inet_sk(sk)->inet_rcv_saddr, 0); sock_net 362 net/ipv4/udp.c if (!net_eq(sock_net(sk), net) || sock_net 523 net/ipv4/udp.c if (!net_eq(sock_net(sk), net) || sock_net 891 net/ipv4/udp.c err = ip_send_skb(sock_net(sk), skb); sock_net 894 net/ipv4/udp.c UDP_INC_STATS(sock_net(sk), sock_net 899 net/ipv4/udp.c UDP_INC_STATS(sock_net(sk), sock_net 1107 net/ipv4/udp.c if (!ipc.oif || netif_index_is_l3_master(sock_net(sk), ipc.oif)) sock_net 1122 net/ipv4/udp.c ipc.oif == l3mdev_master_ifindex_by_index(sock_net(sk), sock_net 1132 net/ipv4/udp.c struct net *net = sock_net(sk); sock_net 1230 net/ipv4/udp.c UDP_INC_STATS(sock_net(sk), sock_net 1576 net/ipv4/udp.c __UDP_INC_STATS(sock_net(sk), UDP_MIB_CSUMERRORS, sock_net 1578 net/ipv4/udp.c __UDP_INC_STATS(sock_net(sk), UDP_MIB_INERRORS, sock_net 1781 net/ipv4/udp.c UDP_INC_STATS(sock_net(sk), sock_net 1789 net/ipv4/udp.c UDP_INC_STATS(sock_net(sk), sock_net 1823 net/ipv4/udp.c UDP_INC_STATS(sock_net(sk), UDP_MIB_CSUMERRORS, is_udplite); sock_net 1824 net/ipv4/udp.c UDP_INC_STATS(sock_net(sk), UDP_MIB_INERRORS, is_udplite); sock_net 1890 net/ipv4/udp.c hslot = udp_hashslot(udptable, sock_net(sk), sock_net 1900 net/ipv4/udp.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); sock_net 1927 net/ipv4/udp.c hslot = udp_hashslot(udptable, sock_net(sk), sock_net 1955 net/ipv4/udp.c u16 new_hash = ipv4_portaddr_hash(sock_net(sk), sock_net 1979 net/ipv4/udp.c UDP_INC_STATS(sock_net(sk), UDP_MIB_RCVBUFERRORS, sock_net 1981 net/ipv4/udp.c UDP_INC_STATS(sock_net(sk), UDP_MIB_INERRORS, is_udplite); sock_net 2035 net/ipv4/udp.c __UDP_INC_STATS(sock_net(sk), sock_net 2093 net/ipv4/udp.c __UDP_INC_STATS(sock_net(sk), UDP_MIB_CSUMERRORS, is_udplite); sock_net 2095 net/ipv4/udp.c __UDP_INC_STATS(sock_net(sk), UDP_MIB_INERRORS, is_udplite); sock_net 2828 net/ipv4/udp.c if (!net_eq(sock_net(sk), net)) sock_net 2848 net/ipv4/udp.c } while (sk && (!net_eq(sock_net(sk), net) || sk->sk_family != afinfo->family)); sock_net 37 net/ipv4/udp_diag.c struct net *net = sock_net(in_skb->sk); sock_net 100 net/ipv4/udp_diag.c struct net *net = sock_net(skb->sk); sock_net 119 net/ipv4/udp_diag.c if (!net_eq(sock_net(sk), net)) sock_net 173 net/ipv4/udp_diag.c struct net *net = sock_net(in_skb->sk); sock_net 129 net/ipv4/udp_tunnel.c struct net *net = sock_net(sk); sock_net 153 net/ipv4/udp_tunnel.c struct net *net = sock_net(sk); sock_net 640 net/ipv6/addrconf.c struct net *net = sock_net(in_skb->sk); sock_net 704 net/ipv6/addrconf.c struct net *net = sock_net(skb->sk); sock_net 4572 net/ipv6/addrconf.c struct net *net = sock_net(skb->sk); sock_net 4756 net/ipv6/addrconf.c struct net *net = sock_net(skb->sk); sock_net 5163 net/ipv6/addrconf.c struct net *net = sock_net(skb->sk); sock_net 5303 net/ipv6/addrconf.c struct net *net = sock_net(in_skb->sk); sock_net 5848 net/ipv6/addrconf.c struct net *net = sock_net(skb->sk); sock_net 379 net/ipv6/addrlabel.c struct net *net = sock_net(skb->sk); sock_net 489 net/ipv6/addrlabel.c struct net *net = sock_net(skb->sk); sock_net 573 net/ipv6/addrlabel.c struct net *net = sock_net(in_skb->sk); sock_net 280 net/ipv6/af_inet6.c struct net *net = sock_net(sk); sock_net 543 net/ipv6/af_inet6.c struct net *net = sock_net(sk); sock_net 768 net/ipv6/af_inet6.c dst = ip6_dst_lookup_flow(sock_net(sk), sk, &fl6, final_p); sock_net 69 net/ipv6/anycast.c struct net *net = sock_net(sk); sock_net 160 net/ipv6/anycast.c struct net *net = sock_net(sk); sock_net 191 net/ipv6/anycast.c struct net *net = sock_net(sk); sock_net 88 net/ipv6/datagram.c dst = ip6_dst_lookup_flow(sock_net(sk), sk, &fl6, final_p); sock_net 927 net/ipv6/exthdrs.c net = sock_net(skb->sk); sock_net 345 net/ipv6/fib6_rules.c struct net *net = sock_net(skb->sk); sock_net 196 net/ipv6/icmp.c struct net *net = sock_net(sk); sock_net 507 net/ipv6/ila/ila_xlat.c struct net *net = sock_net(cb->skb->sk); sock_net 51 net/ipv6/inet6_connection_sock.c dst = ip6_dst_lookup_flow(sock_net(sk), sk, fl6, final_p); sock_net 106 net/ipv6/inet6_connection_sock.c dst = ip6_dst_lookup_flow(sock_net(sk), sk, fl6, final_p); sock_net 99 net/ipv6/inet6_hashtables.c if (net_eq(sock_net(sk), net) && inet_sk(sk)->inet_num == hnum && sock_net 209 net/ipv6/inet6_hashtables.c struct net *net = sock_net(sk); sock_net 250 net/ipv6/inet6_hashtables.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); sock_net 497 net/ipv6/ip6_fib.c struct net *net = sock_net(cb->skb->sk); sock_net 521 net/ipv6/ip6_fib.c struct net *net = sock_net(skb->sk); sock_net 568 net/ipv6/ip6_fib.c struct net *net = sock_net(skb->sk); sock_net 539 net/ipv6/ip6_flowlabel.c struct net *net = sock_net(sk); sock_net 607 net/ipv6/ip6_flowlabel.c struct net *net = sock_net(sk); sock_net 198 net/ipv6/ip6_output.c struct net *net = sock_net(sk); sock_net 310 net/ipv6/ip6_output.c !net_eq(sock_net(sk), dev_net(skb->dev))) { sock_net 1191 net/ipv6/ip6_output.c dst = ip6_dst_lookup_flow(sock_net(sk), sk, fl6, final_dst); sock_net 1651 net/ipv6/ip6_output.c IP6_INC_STATS(sock_net(sk), rt->rt6i_idev, IPSTATS_MIB_OUTDISCARDS); sock_net 1722 net/ipv6/ip6_output.c struct net *net = sock_net(sk); sock_net 1791 net/ipv6/ip6_output.c struct net *net = sock_net(skb->sk); sock_net 1828 net/ipv6/ip6_output.c IP6_INC_STATS(sock_net(sk), ip6_dst_idev(skb_dst(skb)), sock_net 1545 net/ipv6/ip6mr.c struct net *net = sock_net(sk); sock_net 1571 net/ipv6/ip6mr.c struct net *net = sock_net(sk); sock_net 1633 net/ipv6/ip6mr.c struct net *net = sock_net(sk); sock_net 1804 net/ipv6/ip6mr.c struct net *net = sock_net(sk); sock_net 1855 net/ipv6/ip6mr.c struct net *net = sock_net(sk); sock_net 1930 net/ipv6/ip6mr.c struct net *net = sock_net(sk); sock_net 2490 net/ipv6/ip6mr.c err = ip_valid_fib_dump_req(sock_net(skb->sk), nlh, sock_net 2499 net/ipv6/ip6mr.c mrt = ip6mr_get_table(sock_net(skb->sk), filter.table_id); sock_net 143 net/ipv6/ipv6_sockglue.c struct net *net = sock_net(sk); sock_net 1274 net/ipv6/ipv6_sockglue.c val = sock_net(sk)->ipv6.devconf_all->hop_limit; sock_net 1364 net/ipv6/ipv6_sockglue.c val = ip6_autoflowlabel(sock_net(sk), np); sock_net 139 net/ipv6/mcast.c struct net *net = sock_net(sk); sock_net 222 net/ipv6/mcast.c struct net *net = sock_net(sk); sock_net 293 net/ipv6/mcast.c struct net *net = sock_net(sk); sock_net 336 net/ipv6/mcast.c struct net *net = sock_net(sk); sock_net 467 net/ipv6/mcast.c struct net *net = sock_net(sk); sock_net 558 net/ipv6/mcast.c struct net *net = sock_net(sk); sock_net 1552 net/ipv6/netfilter/ip6_tables.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 1557 net/ipv6/netfilter/ip6_tables.c ret = compat_do_replace(sock_net(sk), user, len); sock_net 1561 net/ipv6/netfilter/ip6_tables.c ret = do_add_counters(sock_net(sk), user, len, 1); sock_net 1654 net/ipv6/netfilter/ip6_tables.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 1659 net/ipv6/netfilter/ip6_tables.c ret = get_info(sock_net(sk), user, len, 1); sock_net 1662 net/ipv6/netfilter/ip6_tables.c ret = compat_get_entries(sock_net(sk), user, len); sock_net 1676 net/ipv6/netfilter/ip6_tables.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 1681 net/ipv6/netfilter/ip6_tables.c ret = do_replace(sock_net(sk), user, len); sock_net 1685 net/ipv6/netfilter/ip6_tables.c ret = do_add_counters(sock_net(sk), user, len, 0); sock_net 1700 net/ipv6/netfilter/ip6_tables.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 1705 net/ipv6/netfilter/ip6_tables.c ret = get_info(sock_net(sk), user, len, 0); sock_net 1709 net/ipv6/netfilter/ip6_tables.c ret = get_entries(sock_net(sk), user, len); sock_net 146 net/ipv6/ping.c ICMP6_INC_STATS(sock_net(sk), rt->rt6i_idev, sock_net 78 net/ipv6/raw.c if (!net_eq(sock_net(sk), net)) sock_net 290 net/ipv6/raw.c dev = dev_get_by_index_rcu(sock_net(sk), sock_net 301 net/ipv6/raw.c !sock_net(sk)->ipv6.sysctl.ip_nonlocal_bind) { sock_net 303 net/ipv6/raw.c if (!ipv6_chk_addr(sock_net(sk), &addr->sin6_addr, sock_net 623 net/ipv6/raw.c struct net *net = sock_net(sk); sock_net 873 net/ipv6/raw.c err = ip6_datagram_send_ctl(sock_net(sk), sk, msg, &fl6, &ipc6); sock_net 928 net/ipv6/raw.c dst = ip6_dst_lookup_flow(sock_net(sk), sk, &fl6, final_p); sock_net 2839 net/ipv6/route.c ip6_update_pmtu(skb, sock_net(sk), mtu, oif, sk->sk_mark, sk->sk_uid); sock_net 3066 net/ipv6/route.c ip6_redirect(skb, sock_net(sk), sk->sk_bound_dev_if, sk->sk_mark, sock_net 4893 net/ipv6/route.c .fc_nlinfo.nl_net = sock_net(skb->sk), sock_net 5277 net/ipv6/route.c !nexthop_find_by_id(sock_net(skb->sk), cfg.fc_nh_id)) { sock_net 5799 net/ipv6/route.c struct net *net = sock_net(in_skb->sk); sock_net 265 net/ipv6/seg6.c struct net *net = sock_net(cb->skb->sk); sock_net 144 net/ipv6/syncookies.c if (!sock_net(sk)->ipv4.sysctl_tcp_syncookies || !th->ack || th->rst) sock_net 152 net/ipv6/syncookies.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_SYNCOOKIESFAILED); sock_net 156 net/ipv6/syncookies.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_SYNCOOKIESRECV); sock_net 160 net/ipv6/syncookies.c tcp_parse_options(sock_net(sk), skb, &tcp_opt, 0, NULL); sock_net 163 net/ipv6/syncookies.c tsoff = secure_tcpv6_ts_off(sock_net(sk), sock_net 169 net/ipv6/syncookies.c if (!cookie_timestamp_decode(sock_net(sk), &tcp_opt)) sock_net 238 net/ipv6/syncookies.c dst = ip6_dst_lookup_flow(sock_net(sk), sk, &fl6, final_p); sock_net 250 net/ipv6/syncookies.c ireq->ecn_ok = cookie_ecn_ok(&tcp_opt, sock_net(sk), dst); sock_net 158 net/ipv6/tcp_ipv6.c struct inet_timewait_death_row *tcp_death_row = &sock_net(sk)->ipv4.tcp_death_row; sock_net 278 net/ipv6/tcp_ipv6.c dst = ip6_dst_lookup_flow(sock_net(sk), sk, &fl6, final_p); sock_net 319 net/ipv6/tcp_ipv6.c tp->tsoffset = secure_tcpv6_ts_off(sock_net(sk), sock_net 719 net/ipv6/tcp_ipv6.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPMD5NOTFOUND); sock_net 724 net/ipv6/tcp_ipv6.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPMD5UNEXPECTED); sock_net 734 net/ipv6/tcp_ipv6.c NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPMD5FAILURE); sock_net 814 net/ipv6/tcp_ipv6.c struct net *net = sk ? sock_net(sk) : dev_net(skb_dst(skb)->dev); sock_net 909 net/ipv6/tcp_ipv6.c dst = ip6_dst_lookup_flow(sock_net(ctl_sk), ctl_sk, &fl6, NULL); sock_net 949 net/ipv6/tcp_ipv6.c net = sk ? sock_net(sk) : dev_net(skb_dst(skb)->dev); sock_net 1311 net/ipv6/tcp_ipv6.c __NET_INC_STATS(sock_net(sk), LINUX_MIB_LISTENOVERFLOWS); sock_net 1417 net/ipv6/tcp_ipv6.c TCP_INC_STATS(sock_net(sk), TCP_MIB_CSUMERRORS); sock_net 1418 net/ipv6/tcp_ipv6.c TCP_INC_STATS(sock_net(sk), TCP_MIB_INERRS); sock_net 83 net/ipv6/udp.c ipv6_portaddr_hash(sock_net(sk), &in6addr_any, snum); sock_net 85 net/ipv6/udp.c ipv6_portaddr_hash(sock_net(sk), &sk->sk_v6_rcv_saddr, 0); sock_net 94 net/ipv6/udp.c u16 new_hash = ipv6_portaddr_hash(sock_net(sk), sock_net 110 net/ipv6/udp.c if (!net_eq(sock_net(sk), net) || sock_net 540 net/ipv6/udp.c ip6_redirect(skb, sock_net(sk), inet6_iif(skb), sock_net 583 net/ipv6/udp.c UDP6_INC_STATS(sock_net(sk), sock_net 585 net/ipv6/udp.c UDP6_INC_STATS(sock_net(sk), UDP_MIB_INERRORS, is_udplite); sock_net 633 net/ipv6/udp.c __UDP_INC_STATS(sock_net(sk), sock_net 675 net/ipv6/udp.c __UDP6_INC_STATS(sock_net(sk), UDP_MIB_CSUMERRORS, is_udplite); sock_net 677 net/ipv6/udp.c __UDP6_INC_STATS(sock_net(sk), UDP_MIB_INERRORS, is_udplite); sock_net 712 net/ipv6/udp.c if (!net_eq(sock_net(sk), net)) sock_net 1176 net/ipv6/udp.c UDP6_INC_STATS(sock_net(sk), sock_net 1181 net/ipv6/udp.c UDP6_INC_STATS(sock_net(sk), sock_net 1373 net/ipv6/udp.c err = ip6_datagram_send_ctl(sock_net(sk), sk, msg, &fl6, sock_net 1521 net/ipv6/udp.c UDP6_INC_STATS(sock_net(sk), sock_net 1674 net/kcm/kcmsock.c newsk = sk_alloc(sock_net(osock->sk), PF_KCM, GFP_KERNEL, sock_net 96 net/key/af_key.c struct net *net = sock_net(sk); sock_net 117 net/key/af_key.c struct net *net = sock_net(sk); sock_net 301 net/key/af_key.c &pfk->sk, sock_net(&pfk->sk)); sock_net 344 net/key/af_key.c pfkey_broadcast(skb, GFP_KERNEL, BROADCAST_ONE, sk, sock_net(sk)); sock_net 1311 net/key/af_key.c struct net *net = sock_net(sk); sock_net 1416 net/key/af_key.c struct net *net = sock_net(sk); sock_net 1503 net/key/af_key.c struct net *net = sock_net(sk); sock_net 1540 net/key/af_key.c struct net *net = sock_net(sk); sock_net 1580 net/key/af_key.c struct net *net = sock_net(sk); sock_net 1609 net/key/af_key.c pfkey_broadcast(out_skb, GFP_ATOMIC, BROADCAST_ONE, sk, sock_net(sk)); sock_net 1715 net/key/af_key.c sock_net(sk)); sock_net 1733 net/key/af_key.c sock_net(sk)); sock_net 1761 net/key/af_key.c struct net *net = sock_net(sk); sock_net 1812 net/key/af_key.c &pfk->sk, sock_net(&pfk->sk)); sock_net 1820 net/key/af_key.c struct net *net = sock_net(&pfk->sk); sock_net 1826 net/key/af_key.c struct net *net = sock_net(&pfk->sk); sock_net 1899 net/key/af_key.c pfkey_broadcast(skb, GFP_KERNEL, BROADCAST_ALL, NULL, sock_net(sk)); sock_net 2238 net/key/af_key.c struct net *net = sock_net(sk); sock_net 2353 net/key/af_key.c struct net *net = sock_net(sk); sock_net 2549 net/key/af_key.c struct net *net = sock_net(sk); sock_net 2639 net/key/af_key.c struct net *net = sock_net(sk); sock_net 2708 net/key/af_key.c &pfk->sk, sock_net(&pfk->sk)); sock_net 2716 net/key/af_key.c struct net *net = sock_net(&pfk->sk); sock_net 2722 net/key/af_key.c struct net *net = sock_net((struct sock *)pfk); sock_net 2771 net/key/af_key.c struct net *net = sock_net(sk); sock_net 2827 net/key/af_key.c BROADCAST_PROMISC_ONLY, NULL, sock_net(sk)); sock_net 3243 net/key/af_key.c struct net *net = sock_net(sk); sock_net 3649 net/key/af_key.c struct net *net = sock_net(sk); sock_net 1457 net/l2tp/l2tp_core.c if (!net_eq(sock_net(sk), net)) sock_net 55 net/l2tp/l2tp_ip.c if (!net_eq(sock_net(sk), net)) sock_net 264 net/l2tp/l2tp_ip.c struct net *net = sock_net(sk); sock_net 398 net/l2tp/l2tp_ip.c IP_INC_STATS(sock_net(sk), IPSTATS_MIB_INDISCARDS); sock_net 486 net/l2tp/l2tp_ip.c rt = ip_route_output_ports(sock_net(sk), fl4, sk, sock_net 521 net/l2tp/l2tp_ip.c IP_INC_STATS(sock_net(sk), IPSTATS_MIB_OUTNOROUTES); sock_net 66 net/l2tp/l2tp_ip6.c if (!net_eq(sock_net(sk), net)) sock_net 280 net/l2tp/l2tp_ip6.c struct net *net = sock_net(sk); sock_net 328 net/l2tp/l2tp_ip6.c dev = dev_get_by_index_rcu(sock_net(sk), bound_dev_if); sock_net 338 net/l2tp/l2tp_ip6.c if (!ipv6_chk_addr(sock_net(sk), &addr->l2tp_addr, dev, 0)) sock_net 477 net/l2tp/l2tp_ip6.c IP_INC_STATS(sock_net(sk), IPSTATS_MIB_INDISCARDS); sock_net 587 net/l2tp/l2tp_ip6.c err = ip6_datagram_send_ctl(sock_net(sk), sk, msg, &fl6, &ipc6); sock_net 632 net/l2tp/l2tp_ip6.c dst = ip6_dst_lookup_flow(sock_net(sk), sk, &fl6, final_p); sock_net 484 net/l2tp/l2tp_netlink.c struct net *net = sock_net(skb->sk); sock_net 820 net/l2tp/l2tp_netlink.c struct net *net = sock_net(skb->sk); sock_net 698 net/l2tp/l2tp_ppp.c tunnel = l2tp_tunnel_get(sock_net(sk), info.tunnel_id); sock_net 721 net/l2tp/l2tp_ppp.c error = l2tp_tunnel_create(sock_net(sk), info.fd, sock_net 730 net/l2tp/l2tp_ppp.c error = l2tp_tunnel_register(tunnel, sock_net(sk), sock_net 822 net/l2tp/l2tp_ppp.c error = ppp_register_net_channel(sock_net(sk), &po->chan); sock_net 752 net/llc/llc_conn.c struct sock *newsk = llc_sk_alloc(sock_net(sk), sk->sk_family, GFP_ATOMIC, sock_net 1254 net/mpls/af_mpls.c struct net *net = sock_net(in_skb->sk); sock_net 1303 net/mpls/af_mpls.c struct net *net = sock_net(skb->sk); sock_net 1848 net/mpls/af_mpls.c cfg->rc_nlinfo.nl_net = sock_net(skb->sk); sock_net 2158 net/mpls/af_mpls.c struct net *net = sock_net(skb->sk); sock_net 2339 net/mpls/af_mpls.c struct net *net = sock_net(in_skb->sk); sock_net 227 net/ncsi/ncsi-netlink.c ndp = ndp_from_ifindex(get_net(sock_net(skb->sk)), sock_net 288 net/ncsi/ncsi-netlink.c ndp = ndp_from_ifindex(get_net(sock_net(msg->sk)), sock_net 364 net/ncsi/ncsi-netlink.c ndp = ndp_from_ifindex(get_net(sock_net(msg->sk)), sock_net 426 net/ncsi/ncsi-netlink.c ndp = ndp_from_ifindex(get_net(sock_net(msg->sk)), sock_net 603 net/ncsi/ncsi-netlink.c ndp = ndp_from_ifindex(get_net(sock_net(msg->sk)), sock_net 658 net/ncsi/ncsi-netlink.c ndp = ndp_from_ifindex(get_net(sock_net(msg->sk)), sock_net 1317 net/netfilter/ipset/ip_set_core.c struct ip_set_net *inst = ip_set_pernet(sock_net(skb->sk)); sock_net 1369 net/netfilter/ipset/ip_set_core.c struct ip_set_net *inst = ip_set_pernet(sock_net(skb->sk)); sock_net 2059 net/netfilter/ipset/ip_set_core.c struct net *net = sock_net(sk); sock_net 2413 net/netfilter/ipvs/ip_vs_ctl.c struct net *net = sock_net(sk); sock_net 2424 net/netfilter/ipvs/ip_vs_ctl.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 2733 net/netfilter/ipvs/ip_vs_ctl.c struct net *net = sock_net(sk); sock_net 2738 net/netfilter/ipvs/ip_vs_ctl.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 3109 net/netfilter/ipvs/ip_vs_ctl.c struct net *net = sock_net(skb->sk); sock_net 3322 net/netfilter/ipvs/ip_vs_ctl.c struct net *net = sock_net(skb->sk); sock_net 3481 net/netfilter/ipvs/ip_vs_ctl.c struct net *net = sock_net(skb->sk); sock_net 3602 net/netfilter/ipvs/ip_vs_ctl.c struct net *net = sock_net(skb->sk); sock_net 3631 net/netfilter/ipvs/ip_vs_ctl.c struct net *net = sock_net(skb->sk); sock_net 3758 net/netfilter/ipvs/ip_vs_ctl.c struct net *net = sock_net(skb->sk); sock_net 31 net/netfilter/nf_conntrack_broadcast.c if (skb->sk == NULL || !net_eq(nf_ct_net(ct), sock_net(skb->sk))) sock_net 906 net/netfilter/nf_conntrack_netlink.c struct net *net = sock_net(skb->sk); sock_net 1406 net/netfilter/nf_conntrack_netlink.c struct net *net = sock_net(skb->sk); sock_net 2243 net/netfilter/nf_conntrack_netlink.c struct net *net = sock_net(skb->sk); sock_net 2331 net/netfilter/nf_conntrack_netlink.c sock_net(skb->sk)); sock_net 2893 net/netfilter/nf_conntrack_netlink.c struct net *net = sock_net(skb->sk); sock_net 3466 net/netfilter/nf_conntrack_netlink.c struct net *net = sock_net(skb->sk); sock_net 269 net/netfilter/nf_conntrack_proto.c h = nf_conntrack_find_get(sock_net(sk), &nf_ct_zone_dflt, &tuple); sock_net 333 net/netfilter/nf_conntrack_proto.c h = nf_conntrack_find_get(sock_net(sk), &nf_ct_zone_dflt, &tuple); sock_net 135 net/netfilter/nf_log_common.c if (!sk || !sk_fullsock(sk) || !net_eq(net, sock_net(sk))) sock_net 168 net/netfilter/nf_nat_core.c if (sk && !net_eq(net, sock_net(sk))) sock_net 660 net/netfilter/nf_tables_api.c struct net *net = sock_net(skb->sk); sock_net 1365 net/netfilter/nf_tables_api.c struct net *net = sock_net(skb->sk); sock_net 2442 net/netfilter/nf_tables_api.c struct net *net = sock_net(skb->sk); sock_net 2481 net/netfilter/nf_tables_api.c struct net *net = sock_net(skb->sk); sock_net 3409 net/netfilter/nf_tables_api.c struct net *net = sock_net(skb->sk); sock_net 4105 net/netfilter/nf_tables_api.c struct net *net = sock_net(skb->sk); sock_net 5356 net/netfilter/nf_tables_api.c struct net *net = sock_net(skb->sk); sock_net 6049 net/netfilter/nf_tables_api.c struct net *net = sock_net(skb->sk); sock_net 162 net/netfilter/nfnetlink.c struct net *net = sock_net(skb->sk); sock_net 301 net/netfilter/nfnetlink.c struct net *net = sock_net(skb->sk); sock_net 190 net/netfilter/nfnetlink_acct.c struct net *net = sock_net(skb->sk); sock_net 209 net/netfilter/nfnetlink_cttimeout.c struct net *net = sock_net(skb->sk); sock_net 115 net/netfilter/nft_meta.c !net_eq(nft_net(pkt), sock_net(sk))) sock_net 132 net/netfilter/nft_meta.c !net_eq(nft_net(pkt), sock_net(sk))) sock_net 224 net/netfilter/nft_meta.c !net_eq(nft_net(pkt), sock_net(sk))) sock_net 26 net/netfilter/nft_socket.c if (sk && !net_eq(nft_net(pkt), sock_net(sk))) sock_net 106 net/netfilter/xt_cgroup.c if (!sk || !sk_fullsock(sk) || !net_eq(xt_net(par), sock_net(sk))) sock_net 120 net/netfilter/xt_cgroup.c if (!sk || !sk_fullsock(sk) || !net_eq(xt_net(par), sock_net(sk))) sock_net 138 net/netfilter/xt_cgroup.c if (!sk || !sk_fullsock(sk) || !net_eq(xt_net(par), sock_net(sk))) sock_net 70 net/netfilter/xt_owner.c if (!sk || !sk->sk_socket || !net_eq(net, sock_net(sk))) sock_net 266 net/netfilter/xt_recent.c (!skb->sk || !net_eq(net, sock_net(skb->sk)))) sock_net 55 net/netfilter/xt_socket.c if (sk && !net_eq(xt_net(par), sock_net(sk))) sock_net 116 net/netfilter/xt_socket.c if (sk && !net_eq(xt_net(par), sock_net(sk))) sock_net 279 net/netlink/af_netlink.c if (!net_eq(dev_net(dev), sock_net(sk))) sock_net 334 net/netlink/af_netlink.c netlink_deliver_tap(sock_net(dst), skb); sock_net 486 net/netlink/af_netlink.c !net_eq(sock_net(&nlk->sk), read_pnet(&x->pnet)); sock_net 511 net/netlink/af_netlink.c netlink_compare_arg_init(&arg, sock_net(sk), nlk_sk(sk)->portid); sock_net 757 net/netlink/af_netlink.c nlk->netlink_unbind(sock_net(sk), i + 1); sock_net 770 net/netlink/af_netlink.c .net = sock_net(sk), sock_net 799 net/netlink/af_netlink.c sock_prot_inuse_add(sock_net(sk), &netlink_proto, -1); sock_net 808 net/netlink/af_netlink.c struct net *net = sock_net(sk); sock_net 905 net/netlink/af_netlink.c return netlink_ns_capable(skb, sock_net(skb->sk)->user_ns, cap); sock_net 912 net/netlink/af_netlink.c ns_capable(sock_net(sock->sk)->user_ns, CAP_NET_ADMIN); sock_net 971 net/netlink/af_netlink.c nlk->netlink_unbind(sock_net(sk), undo + 1); sock_net 978 net/netlink/af_netlink.c struct net *net = sock_net(sk); sock_net 1138 net/netlink/af_netlink.c sock = netlink_lookup(sock_net(ssk), ssk->sk_protocol, portid); sock_net 1247 net/netlink/af_netlink.c netlink_deliver_tap(sock_net(sk), skb); sock_net 1416 net/netlink/af_netlink.c if (!net_eq(sock_net(sk), p->net)) { sock_net 1420 net/netlink/af_netlink.c if (!peernet_has_id(sock_net(sk), p->net)) sock_net 1464 net/netlink/af_netlink.c NETLINK_CB(p->skb2).nsid = peernet2id(sock_net(sk), p->net); sock_net 1486 net/netlink/af_netlink.c struct net *net = sock_net(ssk); sock_net 1555 net/netlink/af_netlink.c if (!net_eq(sock_net(sk), sock_net(p->exclude_sk))) sock_net 1655 net/netlink/af_netlink.c err = nlk->netlink_bind(sock_net(sk), val); sock_net 1664 net/netlink/af_netlink.c nlk->netlink_unbind(sock_net(sk), val); sock_net 1687 net/netlink/af_netlink.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_BROADCAST)) sock_net 2310 net/netlink/af_netlink.c sk = netlink_lookup(sock_net(ssk), ssk->sk_protocol, NETLINK_CB(skb).portid); sock_net 2580 net/netlink/af_netlink.c } while (sock_net(&nlk->sk) != seq_file_net(seq)); sock_net 2739 net/netlink/af_netlink.c netlink_compare_arg_init(&arg, sock_net(&nlk->sk), nlk->portid); sock_net 94 net/netlink/diag.c struct net *net = sock_net(skb->sk); sock_net 133 net/netlink/diag.c if (!net_eq(sock_net(sk), net)) sock_net 159 net/netlink/diag.c if (!net_eq(sock_net(sk), net)) sock_net 227 net/netlink/diag.c struct net *net = sock_net(skb->sk); sock_net 507 net/netlink/genetlink.c struct net *net = sock_net(skb->sk); sock_net 807 net/netlink/genetlink.c struct net *net = sock_net(skb->sk); sock_net 454 net/netrom/af_netrom.c sk = sk_alloc(sock_net(osk), PF_NETROM, GFP_ATOMIC, osk->sk_prot, 0); sock_net 2122 net/openvswitch/conntrack.c struct ovs_net *ovs_net = net_generic(sock_net(skb->sk), ovs_net_id); sock_net 2156 net/openvswitch/conntrack.c struct ovs_net *ovs_net = net_generic(sock_net(skb->sk), ovs_net_id); sock_net 2189 net/openvswitch/conntrack.c struct net *net = sock_net(skb->sk); sock_net 536 net/openvswitch/datapath.c struct net *net = sock_net(skb->sk); sock_net 898 net/openvswitch/datapath.c struct net *net = sock_net(skb->sk); sock_net 1137 net/openvswitch/datapath.c struct net *net = sock_net(skb->sk); sock_net 1241 net/openvswitch/datapath.c struct net *net = sock_net(skb->sk); sock_net 1267 net/openvswitch/datapath.c dp = get_dp(sock_net(skb->sk), ovs_header->dp_ifindex); sock_net 1300 net/openvswitch/datapath.c struct net *net = sock_net(skb->sk); sock_net 1322 net/openvswitch/datapath.c dp = get_dp(sock_net(skb->sk), ovs_header->dp_ifindex); sock_net 1363 net/openvswitch/datapath.c netlink_set_err(sock_net(skb->sk)->genl_sock, 0, 0, PTR_ERR(reply)); sock_net 1391 net/openvswitch/datapath.c dp = get_dp_rcu(sock_net(skb->sk), ovs_header->dp_ifindex); sock_net 1551 net/openvswitch/datapath.c dp = lookup_datapath(sock_net(skb->sk), info->userhdr, info->attrs); sock_net 1612 net/openvswitch/datapath.c ovs_dp_set_net(dp, sock_net(skb->sk)); sock_net 1738 net/openvswitch/datapath.c dp = lookup_datapath(sock_net(skb->sk), info->userhdr, info->attrs); sock_net 1771 net/openvswitch/datapath.c dp = lookup_datapath(sock_net(skb->sk), info->userhdr, info->attrs); sock_net 1806 net/openvswitch/datapath.c dp = lookup_datapath(sock_net(skb->sk), info->userhdr, info->attrs); sock_net 1826 net/openvswitch/datapath.c struct ovs_net *ovs_net = net_generic(sock_net(skb->sk), ovs_net_id); sock_net 2065 net/openvswitch/datapath.c dp = get_dp(sock_net(skb->sk), ovs_header->dp_ifindex); sock_net 2137 net/openvswitch/datapath.c vport = lookup_vport(sock_net(skb->sk), info->userhdr, a); sock_net 2193 net/openvswitch/datapath.c vport = lookup_vport(sock_net(skb->sk), info->userhdr, a); sock_net 2246 net/openvswitch/datapath.c vport = lookup_vport(sock_net(skb->sk), ovs_header, a); sock_net 2272 net/openvswitch/datapath.c dp = get_dp_rcu(sock_net(skb->sk), ovs_header->dp_ifindex); sock_net 2284 net/openvswitch/datapath.c sock_net(skb->sk), sock_net 296 net/openvswitch/meter.c dp = get_dp(sock_net(skb->sk), ovs_header->dp_ifindex); sock_net 360 net/openvswitch/meter.c dp = get_dp(sock_net(skb->sk), ovs_header->dp_ifindex); sock_net 412 net/openvswitch/meter.c dp = get_dp(sock_net(skb->sk), ovs_header->dp_ifindex); sock_net 528 net/packet/af_packet.c dev = __dev_get_by_index(sock_net(&po->sk), po->ifindex); sock_net 1609 net/packet/af_packet.c read_pnet(&f->net) == sock_net(sk)) { sock_net 1691 net/packet/af_packet.c read_pnet(&f->net) == sock_net(sk)) { sock_net 1704 net/packet/af_packet.c write_pnet(&match->net, sock_net(sk)); sock_net 1820 net/packet/af_packet.c if (!net_eq(dev_net(dev), sock_net(sk))) sock_net 1906 net/packet/af_packet.c dev = dev_get_by_name_rcu(sock_net(sk), saddr->spkt_device); sock_net 2061 net/packet/af_packet.c if (!net_eq(dev_net(dev), sock_net(sk))) sock_net 2191 net/packet/af_packet.c if (!net_eq(dev_net(dev), sock_net(sk))) sock_net 2659 net/packet/af_packet.c dev = dev_get_by_index(sock_net(&po->sk), saddr->sll_ifindex); sock_net 2870 net/packet/af_packet.c dev = dev_get_by_index(sock_net(sk), saddr->sll_ifindex); sock_net 3022 net/packet/af_packet.c net = sock_net(sk); sock_net 3107 net/packet/af_packet.c dev = dev_get_by_name_rcu(sock_net(sk), name); sock_net 3113 net/packet/af_packet.c dev = dev_get_by_index_rcu(sock_net(sk), ifindex); sock_net 3139 net/packet/af_packet.c unlisted = !dev_get_by_index_rcu(sock_net(sk), sock_net 3468 net/packet/af_packet.c dev = dev_get_by_index_rcu(sock_net(sk), pkt_sk(sk)->ifindex); sock_net 3492 net/packet/af_packet.c dev = dev_get_by_index_rcu(sock_net(sk), po->ifindex); sock_net 3561 net/packet/af_packet.c dev = __dev_get_by_index(sock_net(sk), mreq->mr_ifindex); sock_net 3620 net/packet/af_packet.c dev = __dev_get_by_index(sock_net(sk), ml->ifindex); sock_net 3645 net/packet/af_packet.c dev = __dev_get_by_index(sock_net(sk), ml->ifindex); sock_net 196 net/packet/diag.c net = sock_net(skb->sk); sock_net 202 net/packet/diag.c if (!net_eq(sock_net(sk), net)) sock_net 227 net/packet/diag.c struct net *net = sock_net(skb->sk); sock_net 227 net/phonet/af_phonet.c struct net *net = sock_net(sk); sock_net 837 net/phonet/pep.c newsk = sk_alloc(sock_net(sk), PF_PHONET, GFP_KERNEL, sk->sk_prot, sock_net 54 net/phonet/pn_netlink.c struct net *net = sock_net(skb->sk); sock_net 128 net/phonet/pn_netlink.c pndevs = phonet_device_list(sock_net(skb->sk)); sock_net 221 net/phonet/pn_netlink.c struct net *net = sock_net(skb->sk); sock_net 265 net/phonet/pn_netlink.c struct net *net = sock_net(skb->sk); sock_net 79 net/phonet/socket.c if (!net_eq(sock_net(sknode), net)) sock_net 116 net/phonet/socket.c if (!net_eq(sock_net(sknode), net)) sock_net 175 net/phonet/socket.c if (saddr && phonet_address_lookup(sock_net(sk), saddr)) sock_net 372 net/phonet/socket.c dev = dev_get_by_index(sock_net(sk), sock_net 375 net/phonet/socket.c dev = phonet_device_get(sock_net(sk)); sock_net 484 net/phonet/socket.c struct net *net = sock_net(sk); sock_net 539 net/phonet/socket.c if (!net_eq(net, sock_net(sknode))) sock_net 556 net/phonet/socket.c while (sk && !net_eq(net, sock_net(sk))); sock_net 646 net/phonet/socket.c if (!net_eq(sock_net(sk), &init_net)) sock_net 78 net/psample/psample.c if (!net_eq(group->net, sock_net(msg->sk))) sock_net 248 net/rds/bind.c trans->laddr_check(sock_net(sock->sk), sock_net 254 net/rds/bind.c trans = rds_trans_get_preferred(sock_net(sock->sk), sock_net 1296 net/rds/send.c conn = rds_conn_create_outgoing(sock_net(sock->sk), sock_net 503 net/rds/tcp.c struct net *net = sock_net(sk); sock_net 531 net/rds/tcp.c struct net *net = sock_net(sk); sock_net 201 net/rds/tcp_listen.c conn = rds_conn_create(sock_net(sock->sk), sock_net 280 net/rds/tcp_listen.c ready = rds_tcp_listen_sock_def_readable(sock_net(sk)); sock_net 539 net/rose/af_rose.c sk = sk_alloc(sock_net(osk), PF_ROSE, GFP_ATOMIC, &rose_proto, 0); sock_net 149 net/rxrpc/af_rxrpc.c local = rxrpc_lookup_local(sock_net(&rx->sk), &rx->srx); sock_net 540 net/rxrpc/af_rxrpc.c local = rxrpc_lookup_local(sock_net(sock->sk), &rx->srx); sock_net 774 net/rxrpc/af_rxrpc.c rxnet = rxrpc_net(sock_net(&rx->sk)); sock_net 38 net/rxrpc/call_accept.c struct rxrpc_net *rxnet = rxrpc_net(sock_net(&rx->sk)); sock_net 188 net/rxrpc/call_accept.c struct rxrpc_net *rxnet = rxrpc_net(sock_net(&rx->sk)); sock_net 102 net/rxrpc/call_object.c struct rxrpc_net *rxnet = rxrpc_net(sock_net(&rx->sk)); sock_net 913 net/rxrpc/key.c key = request_key_net(&key_type_rxrpc, description, sock_net(&rx->sk), NULL); sock_net 944 net/rxrpc/key.c key = request_key_net(&key_type_keyring, description, sock_net(&rx->sk), NULL); sock_net 155 net/rxrpc/peer_object.c struct net *net = sock_net(&rx->sk); sock_net 1385 net/sched/act_api.c struct net *net = sock_net(skb->sk); sock_net 1457 net/sched/act_api.c struct net *net = sock_net(skb->sk); sock_net 1922 net/sched/cls_api.c struct net *net = sock_net(skb->sk); sock_net 2149 net/sched/cls_api.c struct net *net = sock_net(skb->sk); sock_net 2309 net/sched/cls_api.c struct net *net = sock_net(skb->sk); sock_net 2440 net/sched/cls_api.c struct net *net = sock_net(a->skb->sk); sock_net 2452 net/sched/cls_api.c struct net *net = sock_net(skb->sk); sock_net 2512 net/sched/cls_api.c struct net *net = sock_net(skb->sk); sock_net 2762 net/sched/cls_api.c struct net *net = sock_net(skb->sk); sock_net 2896 net/sched/cls_api.c struct net *net = sock_net(skb->sk); sock_net 326 net/sched/em_meta.c dev = dev_get_by_index_rcu(sock_net(skb->sk), sock_net 1410 net/sched/sch_api.c struct net *net = sock_net(skb->sk); sock_net 1495 net/sched/sch_api.c struct net *net = sock_net(skb->sk); sock_net 1729 net/sched/sch_api.c struct net *net = sock_net(skb->sk); sock_net 1978 net/sched/sch_api.c struct net *net = sock_net(skb->sk); sock_net 2191 net/sched/sch_api.c struct net *net = sock_net(skb->sk); sock_net 67 net/sctp/associola.c asoc->base.net = sock_net(sk); sock_net 582 net/sctp/associola.c struct net *net = sock_net(asoc->base.sk); sock_net 981 net/sctp/associola.c struct net *net = sock_net(asoc->base.sk); sock_net 1449 net/sctp/associola.c struct net *net = sock_net(asoc->base.sk); sock_net 1583 net/sctp/associola.c return sctp_bind_addr_copy(sock_net(asoc->base.sk), sock_net 230 net/sctp/chunk.c SCTP_INC_STATS(sock_net(asoc->base.sk), sock_net 256 net/sctp/diag.c struct net *net = sock_net(in_skb->sk); sock_net 375 net/sctp/diag.c struct net *net = sock_net(skb->sk); sock_net 379 net/sctp/diag.c if (!net_eq(sock_net(sk), net)) sock_net 435 net/sctp/diag.c struct net *net = sock_net(in_skb->sk); sock_net 472 net/sctp/diag.c struct net *net = sock_net(skb->sk); sock_net 45 net/sctp/endpointola.c struct net *net = sock_net(sk); sock_net 113 net/sctp/endpointola.c ep->base.net = sock_net(sk); sock_net 247 net/sctp/endpointola.c net_eq(sock_net(ep->base.sk), net)) { sock_net 296 net/sctp/endpointola.c struct net *net = sock_net(ep->base.sk); sock_net 335 net/sctp/endpointola.c net = sock_net(sk); sock_net 387 net/sctp/endpointola.c SCTP_INC_STATS(sock_net(ep->base.sk), SCTP_MIB_INCTRLCHUNKS); sock_net 455 net/sctp/input.c struct net *net = sock_net(sk); sock_net 721 net/sctp/input.c struct net *net = sock_net(sk); sock_net 741 net/sctp/input.c if (!net_eq(sock_net(sk2), net) || sk2 == sk || sock_net 792 net/sctp/input.c epb->hashent = sctp_ep_hashfn(sock_net(sk), epb->bind_addr.port); sock_net 940 net/sctp/input.c arg.net = sock_net(t->asoc->base.sk); sock_net 1007 net/sctp/input.c struct net *net = sock_net(ep->base.sk); sock_net 214 net/sctp/ipv6.c SCTP_INC_STATS(sock_net(sk), SCTP_MIB_OUTSCTPPACKS); sock_net 279 net/sctp/ipv6.c dst = ip6_dst_lookup_flow(sock_net(sk), sk, fl6, final_p); sock_net 337 net/sctp/ipv6.c bdst = ip6_dst_lookup_flow(sock_net(sk), sk, fl6, final_p); sock_net 631 net/sctp/ipv6.c struct net *net = sock_net(&sp->inet.sk); sock_net 719 net/sctp/ipv6.c newsk = sk_alloc(sock_net(sk), PF_INET6, GFP_KERNEL, sk->sk_prot, kern); sock_net 933 net/sctp/ipv6.c net = sock_net(&opt->inet.sk); sock_net 969 net/sctp/ipv6.c dev = dev_get_by_index_rcu(sock_net(&opt->inet.sk), sock_net 285 net/sctp/output.c SCTP_INC_STATS(sock_net(asoc->base.sk), sock_net 590 net/sctp/output.c IP_INC_STATS(sock_net(sk), IPSTATS_MIB_OUTNOROUTES); sock_net 282 net/sctp/outqueue.c struct net *net = sock_net(q->asoc->base.sk); sock_net 536 net/sctp/outqueue.c struct net *net = sock_net(q->asoc->base.sk); sock_net 1887 net/sctp/outqueue.c SCTP_INC_STATS(sock_net(asoc->base.sk), SCTP_MIB_OUTCTRLCHUNKS); sock_net 177 net/sctp/proc.c if (!net_eq(sock_net(sk), seq_file_net(seq))) sock_net 348 net/sctp/protocol.c struct net *net = sock_net(&sp->inet.sk); sock_net 441 net/sctp/protocol.c rt = ip_route_output_key(sock_net(sk), fl4); sock_net 499 net/sctp/protocol.c rt = ip_route_output_key(sock_net(sk), fl4); sock_net 506 net/sctp/protocol.c odev = __ip_dev_find(sock_net(sk), laddr->a.v4.sin_addr.s_addr, sock_net 571 net/sctp/protocol.c struct sock *newsk = sk_alloc(sock_net(sk), PF_INET, GFP_KERNEL, sock_net 989 net/sctp/protocol.c SCTP_INC_STATS(sock_net(&inet->sk), SCTP_MIB_OUTSCTPPACKS); sock_net 2314 net/sctp/sm_make_chunk.c struct net *net = sock_net(asoc->base.sk); sock_net 2498 net/sctp/sm_make_chunk.c struct net *net = sock_net(asoc->base.sk); sock_net 237 net/sctp/sm_sideeffect.c struct net *net = sock_net(sk); sock_net 274 net/sctp/sm_sideeffect.c struct net *net = sock_net(sk); sock_net 367 net/sctp/sm_sideeffect.c struct net *net = sock_net(sk); sock_net 413 net/sctp/sm_sideeffect.c struct net *net = sock_net(sk); sock_net 448 net/sctp/sm_sideeffect.c struct net *net = sock_net(sk); sock_net 519 net/sctp/sm_sideeffect.c struct net *net = sock_net(asoc->base.sk); sock_net 796 net/sctp/sm_sideeffect.c struct net *net = sock_net(asoc->base.sk); sock_net 832 net/sctp/sm_sideeffect.c struct net *net = sock_net(asoc->base.sk); sock_net 1333 net/sctp/sm_statefuns.c struct net *net = sock_net(new_asoc->base.sk); sock_net 6331 net/sctp/sm_statefuns.c struct net *net = sock_net(sk); sock_net 363 net/sctp/socket.c struct net *net = sock_net(sk); sock_net 454 net/sctp/socket.c struct net *net = sock_net(asoc->base.sk); sock_net 1068 net/sctp/socket.c struct net *net = sock_net(sk); sock_net 1228 net/sctp/socket.c err = sctp_primitive_ASSOCIATE(sock_net(sk), asoc, NULL); sock_net 1487 net/sctp/socket.c struct net *net = sock_net(sk); sock_net 1759 net/sctp/socket.c struct net *net = sock_net(sk); sock_net 1799 net/sctp/socket.c struct net *net = sock_net(sk); sock_net 2281 net/sctp/socket.c struct net *net = sock_net(sk); sock_net 2446 net/sctp/socket.c struct net *net = sock_net(trans->asoc->base.sk); sock_net 3939 net/sctp/socket.c spin_lock_bh(&sock_net(sk)->sctp.addr_wq_lock); sock_net 3945 net/sctp/socket.c &sock_net(sk)->sctp.auto_asconf_splist); sock_net 3948 net/sctp/socket.c spin_unlock_bh(&sock_net(sk)->sctp.addr_wq_lock); sock_net 4399 net/sctp/socket.c if (!sock_net(sk)->sctp.intl_enable || !sp->frag_interleave) { sock_net 4988 net/sctp/socket.c struct net *net = sock_net(sk); sock_net 5122 net/sctp/socket.c spin_lock(&sock_net(sk)->sctp.addr_wq_lock); sock_net 5126 net/sctp/socket.c spin_unlock(&sock_net(sk)->sctp.addr_wq_lock); sock_net 5160 net/sctp/socket.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); sock_net 5193 net/sctp/socket.c struct net *net = sock_net(sk); sock_net 5326 net/sctp/socket.c if (net_eq(sock_net(t->asoc->base.sk), net) && sock_net 5654 net/sctp/socket.c if (!net_eq(current->nsproxy->net_ns, sock_net(sk))) sock_net 6220 net/sctp/socket.c struct net *net = sock_net(sk); sock_net 8185 net/sctp/socket.c struct net *net = sock_net(sk); sock_net 8197 net/sctp/socket.c index = sctp_phashfn(sock_net(sk), rover); sock_net 8202 net/sctp/socket.c net_eq(sock_net(sk), pp->net)) sock_net 8226 net/sctp/socket.c head = &sctp_port_hashtable[sctp_phashfn(sock_net(sk), snum)]; sock_net 8229 net/sctp/socket.c if ((pp->port == snum) && net_eq(pp->net, sock_net(sk))) sock_net 8285 net/sctp/socket.c if (!pp && !(pp = sctp_bucket_create(head, sock_net(sk), snum))) sock_net 8564 net/sctp/socket.c &sctp_port_hashtable[sctp_phashfn(sock_net(sk), sock_net 9385 net/sctp/socket.c head = &sctp_port_hashtable[sctp_phashfn(sock_net(oldsk), sock_net 225 net/sctp/stream.c struct net *net = sock_net(asoc->base.sk); sock_net 244 net/sctp/stream_interleave.c retval = sctp_make_reassembled_event(sock_net(ulpq->asoc->base.sk), sock_net 329 net/sctp/stream_interleave.c retval = sctp_make_reassembled_event(sock_net(asoc->base.sk), sock_net 340 net/sctp/stream_interleave.c retval = sctp_make_reassembled_event(sock_net(asoc->base.sk), sock_net 633 net/sctp/stream_interleave.c retval = sctp_make_reassembled_event(sock_net(ulpq->asoc->base.sk), sock_net 719 net/sctp/stream_interleave.c retval = sctp_make_reassembled_event(sock_net(asoc->base.sk), sock_net 730 net/sctp/stream_interleave.c retval = sctp_make_reassembled_event(sock_net(asoc->base.sk), sock_net 817 net/sctp/stream_interleave.c retval = sctp_make_reassembled_event(sock_net(ulpq->asoc->base.sk), sock_net 924 net/sctp/stream_interleave.c retval = sctp_make_reassembled_event(sock_net(ulpq->asoc->base.sk), sock_net 1162 net/sctp/stream_interleave.c SCTP_INC_STATS(sock_net(asoc->base.sk), SCTP_MIB_OUTCTRLCHUNKS); sock_net 337 net/sctp/transport.c struct net *net = sock_net(tp->asoc->base.sk); sock_net 489 net/sctp/ulpqueue.c retval = sctp_make_reassembled_event(sock_net(asoc->base.sk), sock_net 500 net/sctp/ulpqueue.c retval = sctp_make_reassembled_event(sock_net(ulpq->asoc->base.sk), sock_net 566 net/sctp/ulpqueue.c retval = sctp_make_reassembled_event(sock_net(ulpq->asoc->base.sk), sock_net 667 net/sctp/ulpqueue.c retval = sctp_make_reassembled_event(sock_net(ulpq->asoc->base.sk), sock_net 84 net/smc/af_smc.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); sock_net 97 net/smc/af_smc.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); sock_net 361 net/smc/af_smc.c struct net *net = sock_net(smc->clcsock->sk); sock_net 887 net/smc/af_smc.c new_sk = smc_sock_alloc(sock_net(lsk), NULL, lsk->sk_protocol); sock_net 996 net/smc/af_smc.c struct net *net = sock_net(smc->clcsock->sk); sock_net 196 net/smc/smc_diag.c struct net *net = sock_net(skb->sk); sock_net 208 net/smc/smc_diag.c if (!net_eq(sock_net(sk), net)) sock_net 232 net/smc/smc_diag.c struct net *net = sock_net(skb->sk); sock_net 562 net/smc/smc_pnet.c struct net *net = sock_net(skb->sk); sock_net 1097 net/socket.c net = sock_net(sk); sock_net 1675 net/socket.c somaxconn = sock_net(sock->sk)->core.sysctl_somaxconn; sock_net 3443 net/socket.c struct net *net = sock_net(sk); sock_net 3552 net/socket.c net = sock_net(sk); sock_net 679 net/sunrpc/svcsock.c svc_xprt_init(sock_net(svsk->sk_sock->sk), &svc_udp_class, sock_net 1211 net/sunrpc/svcsock.c svc_xprt_init(sock_net(svsk->sk_sock->sk), &svc_tcp_class, sock_net 1281 net/sunrpc/svcsock.c err = svc_register(serv, sock_net(sock->sk), inet->sk_family, sock_net 1326 net/sunrpc/svcsock.c if (sock_net(sock->sk) != net) sock_net 804 net/tipc/bearer.c struct net *net = sock_net(skb->sk); sock_net 887 net/tipc/bearer.c struct net *net = sock_net(skb->sk); sock_net 928 net/tipc/bearer.c struct net *net = sock_net(skb->sk); sock_net 983 net/tipc/bearer.c struct net *net = sock_net(skb->sk); sock_net 1024 net/tipc/bearer.c struct net *net = sock_net(skb->sk); sock_net 80 net/tipc/diag.c struct net *net = sock_net(skb->sk); sock_net 944 net/tipc/name_table.c struct net *net = sock_net(skb->sk); sock_net 217 net/tipc/net.c struct net *net = sock_net(skb->sk); sock_net 243 net/tipc/net.c struct net *net = sock_net(skb->sk); sock_net 1926 net/tipc/node.c struct net *net = sock_net(skb->sk); sock_net 1981 net/tipc/node.c struct net *net = sock_net(skb->sk); sock_net 2088 net/tipc/node.c struct net *net = sock_net(skb->sk); sock_net 2230 net/tipc/node.c struct net *net = sock_net(skb->sk); sock_net 2298 net/tipc/node.c struct net *net = sock_net(skb->sk); sock_net 2370 net/tipc/node.c struct net *net = sock_net(skb->sk); sock_net 2430 net/tipc/node.c struct net *net = sock_net(skb->sk); sock_net 2451 net/tipc/node.c struct net *net = sock_net(skb->sk); sock_net 2479 net/tipc/node.c struct net *net = sock_net(skb->sk); sock_net 247 net/tipc/socket.c u32 onode = tipc_own_addr(sock_net(sk)); sock_net 255 net/tipc/socket.c tipc_node_xmit_skb(sock_net(sk), skb, dnode, selector); sock_net 294 net/tipc/socket.c u32 self = tipc_own_addr(sock_net(sk)); sock_net 506 net/tipc/socket.c struct net *net = sock_net(sk); sock_net 692 net/tipc/socket.c addr->addr.id.node = tipc_own_addr(sock_net(sk)); sock_net 779 net/tipc/socket.c struct net *net = sock_net(sk); sock_net 895 net/tipc/socket.c struct net *net = sock_net(sk); sock_net 943 net/tipc/socket.c struct net *net = sock_net(sk); sock_net 1022 net/tipc/socket.c struct net *net = sock_net(sk); sock_net 1099 net/tipc/socket.c struct net *net = sock_net(sk); sock_net 1234 net/tipc/socket.c tipc_node_remove_conn(sock_net(sk), tsk_peer_node(tsk), sock_net 1299 net/tipc/socket.c struct net *net = sock_net(sk); sock_net 1448 net/tipc/socket.c struct net *net = sock_net(sk); sock_net 1522 net/tipc/socket.c struct net *net = sock_net(sk); sock_net 1661 net/tipc/socket.c struct net *net = sock_net(sk); sock_net 1818 net/tipc/socket.c tipc_node_distr_xmit(sock_net(sk), &xmitq); sock_net 2026 net/tipc/socket.c struct net *net = sock_net(sk); sock_net 2157 net/tipc/socket.c struct net *net = sock_net(sk); sock_net 2228 net/tipc/socket.c tipc_node_distr_xmit(sock_net(sk), &xmitq); sock_net 2277 net/tipc/socket.c onode = tipc_own_addr(sock_net(sk)); sock_net 2315 net/tipc/socket.c tipc_node_distr_xmit(sock_net(sk), &xmitq); sock_net 2551 net/tipc/socket.c res = tipc_sk_create(sock_net(sock->sk), new_sock, 0, kern); sock_net 2649 net/tipc/socket.c tipc_node_remove_conn(sock_net(sk), pnode, pport); sock_net 2702 net/tipc/socket.c rc = tipc_node_xmit(sock_net(sk), &list, pnode, tsk->portid); sock_net 2716 net/tipc/socket.c struct net *net = sock_net(sk); sock_net 2743 net/tipc/socket.c struct net *net = sock_net(&tsk->sk); sock_net 2825 net/tipc/socket.c struct net *net = sock_net(sk); sock_net 2848 net/tipc/socket.c struct tipc_net *tn = net_generic(sock_net(sk), tipc_net_id); sock_net 2885 net/tipc/socket.c struct net *net = sock_net(&tsk->sk); sock_net 2923 net/tipc/socket.c struct net *net = sock_net(&tsk->sk); sock_net 3108 net/tipc/socket.c struct net *net = sock_net(sock->sk); sock_net 3142 net/tipc/socket.c u32 onode = tipc_own_addr(sock_net(sock1->sk)); sock_net 3312 net/tipc/socket.c struct net *net = sock_net(skb->sk); sock_net 3402 net/tipc/socket.c return __tipc_dump_start(cb, sock_net(cb->skb->sk)); sock_net 3594 net/tipc/socket.c struct net *net = sock_net(skb->sk); sock_net 382 net/tipc/udp_media.c tipc_rcv(sock_net(sk), skb, b); sock_net 458 net/tipc/udp_media.c struct net *net = sock_net(skb->sk); sock_net 489 net/tipc/udp_media.c struct net *net = sock_net(skb->sk); sock_net 282 net/unix/af_unix.c if (!net_eq(sock_net(s), net)) sock_net 507 net/unix/af_unix.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); sock_net 799 net/unix/af_unix.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); sock_net 853 net/unix/af_unix.c struct net *net = sock_net(sk); sock_net 998 net/unix/af_unix.c struct net *net = sock_net(sk); sock_net 1115 net/unix/af_unix.c struct net *net = sock_net(sk); sock_net 1217 net/unix/af_unix.c struct net *net = sock_net(sk); sock_net 1246 net/unix/af_unix.c newsk = unix_create1(sock_net(sk), NULL, 0); sock_net 1585 net/unix/af_unix.c struct net *net = sock_net(sk); sock_net 2539 net/unix/af_unix.c if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN)) sock_net 2713 net/unix/af_unix.c if (sock_net(sk) != seq_file_net(seq)) sock_net 2732 net/unix/af_unix.c if (sock_net(sk) == seq_file_net(seq)) sock_net 199 net/unix/diag.c struct net *net = sock_net(skb->sk); sock_net 214 net/unix/diag.c if (!net_eq(sock_net(sk), net)) sock_net 265 net/unix/diag.c struct net *net = sock_net(in_skb->sk); sock_net 274 net/unix/diag.c if (!net_eq(sock_net(sk), net)) sock_net 312 net/unix/diag.c struct net *net = sock_net(skb->sk); sock_net 59 net/vmw_vsock/diag.c net = sock_net(skb->sk); sock_net 79 net/vmw_vsock/diag.c if (!net_eq(sock_net(sk), net)) sock_net 113 net/vmw_vsock/diag.c if (!net_eq(sock_net(sk), net)) sock_net 144 net/vmw_vsock/diag.c struct net *net = sock_net(skb->sk); sock_net 316 net/vmw_vsock/hyperv_transport.c new = __vsock_create(sock_net(sk), NULL, sk, GFP_KERNEL, sock_net 1015 net/vmw_vsock/virtio_transport_common.c child = __vsock_create(sock_net(sk), NULL, sk, GFP_KERNEL, sock_net 1016 net/vmw_vsock/vmci_transport.c pending = __vsock_create(sock_net(sk), NULL, sk, GFP_KERNEL, sock_net 823 net/wireless/nl80211.c *wdev = __cfg80211_wdev_from_attrs(sock_net(cb->skb->sk), sock_net 2492 net/wireless/nl80211.c netdev = __dev_get_by_index(sock_net(skb->sk), ifidx); sock_net 2534 net/wireless/nl80211.c if (!net_eq(wiphy_net(&rdev->wiphy), sock_net(skb->sk))) sock_net 3323 net/wireless/nl80211.c if (!net_eq(wiphy_net(&rdev->wiphy), sock_net(skb->sk))) sock_net 9819 net/wireless/nl80211.c rdev = __cfg80211_rdev_from_attrs(sock_net(skb->sk), attrbuf); sock_net 13031 net/wireless/nl80211.c *wdev = __cfg80211_wdev_from_attrs(sock_net(skb->sk), attrbuf); sock_net 13035 net/wireless/nl80211.c *rdev = __cfg80211_rdev_from_attrs(sock_net(skb->sk), attrbuf); sock_net 599 net/x25/af_x25.c if ((sk = x25_alloc_socket(sock_net(osk), 0)) == NULL) sock_net 548 net/xdp/xsk.c net = sock_net(sk); sock_net 636 net/xdp/xsk.c dev = dev_get_by_index(sock_net(sk), sxdp->sxdp_ifindex); sock_net 134 net/xdp/xsk_diag.c struct net *net = sock_net(nlskb->sk); sock_net 141 net/xdp/xsk_diag.c if (!net_eq(sock_net(sk), net)) sock_net 165 net/xdp/xsk_diag.c struct net *net = sock_net(nlskb->sk); sock_net 2253 net/xfrm/xfrm_policy.c struct net *net = sock_net(sk); sock_net 674 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 753 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 1002 net/xfrm/xfrm_user.c struct net *net = sock_net(sk); sock_net 1012 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 1160 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 1205 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 1264 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 1284 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 1308 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 1648 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 1797 net/xfrm/xfrm_user.c struct net *net = sock_net(cb->skb->sk); sock_net 1815 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 1858 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 1939 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 2039 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 2083 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 2134 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 2162 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 2226 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 2260 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 2371 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 2636 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 2685 net/xfrm/xfrm_user.c struct net *net = sock_net(skb->sk); sock_net 2985 net/xfrm/xfrm_user.c struct net *net = sock_net(sk); sock_net 4636 security/selinux/hooks.c inet_get_local_port_range(sock_net(sk), &low, &high); sock_net 4638 security/selinux/hooks.c if (snum < max(inet_prot_sock(sock_net(sk)), low) || sock_net 5037 security/selinux/hooks.c err = selinux_inet_sys_rcv_skb(sock_net(sk), skb->skb_iif,