/linux-master/fs/lockd/ |
H A D | host.c | 24 #include <net/ipv6.h> 51 static void nlm_gc_hosts(struct net *net); 62 struct net *net; /* network namespace to bind */ member in struct:nlm_lookup_host_info 120 nsm = nsm_get_handle(ni->net, ni->sap, ni->salen, 164 host->net = ni->net; 180 struct lockd_net *ln = net_generic(host->net, lockd_net_id); 207 * @net 215 nlmclnt_lookup_host(const struct sockaddr *sap, const size_t salen, const unsigned short protocol, const u32 version, const char *hostname, int noresvport, struct net *net, const struct cred *cred) argument 336 struct net *net = SVC_NET(rqstp); local 556 nlm_host_rebooted(const struct net *net, const struct nlm_reboot *info) argument 582 nlm_complain_hosts(struct net *net) argument 613 nlm_shutdown_hosts_net(struct net *net) argument 657 nlm_gc_hosts(struct net *net) argument [all...] |
/linux-master/tools/testing/ktest/examples/include/ |
H A D | min-config.conf | 17 # ${CONFIG_DIR}/config-new-min and ${CONFIG_DIR}/config-new-min-net. 28 # The ${CONFIG_DIR}/config-skip (and -net) will hold the configs 40 # modifying this config, ktest.pl will notice that the config-new-min(-net) 49 OUTPUT_MIN_CONFIG = ${CONFIG_DIR}/config-new-min-net 50 IGNORE_CONFIG = ${CONFIG_DIR}/config-skip-net 59 MIN_CONFIG = ${CONFIG_DIR}/config-new-min-net
|
/linux-master/net/sctp/ |
H A D | primitive.c | 32 #include <net/sock.h> 33 #include <net/sctp/sctp.h> 34 #include <net/sctp/sm.h> 38 int sctp_primitive_ ## name(struct net *net, struct sctp_association *asoc, \ 50 error = sctp_do_sm(net, event_type, subtype, state, ep, asoc, \
|
H A D | protocol.c | 37 #include <net/net_namespace.h> 38 #include <net/protocol.h> 39 #include <net/ip.h> 40 #include <net/ipv6.h> 41 #include <net/route.h> 42 #include <net/sctp/sctp.h> 43 #include <net/addrconf.h> 44 #include <net/inet_common.h> 45 #include <net/inet_ecn.h> 46 #include <net/udp_tunne 102 sctp_get_local_addr_list(struct net *net) argument 119 sctp_free_local_addr_list(struct net *net) argument 132 sctp_copy_local_addr_list(struct net *net, struct sctp_bind_addr *bp, enum sctp_scope scope, gfp_t gfp, int copy_flags) argument 355 struct net *net = sock_net(sk); local 632 struct net *net = from_timer(net, t, sctp.addr_wq_timer); local 690 sctp_free_addr_wq(struct net *net) argument 707 sctp_addr_wq_lookup(struct net *net, struct sctp_sockaddr_entry *addr) argument 728 sctp_addr_wq_mgmt(struct net *net, struct sctp_sockaddr_entry *addr, int cmd) argument 787 struct net *net = dev_net(ifa->ifa_dev->dev); local 830 sctp_ctl_sock_init(struct net *net) argument 863 sctp_udp_sock_start(struct net *net) argument 911 sctp_udp_sock_stop(struct net *net) argument 1230 init_sctp_mibs(struct net *net) argument 1238 cleanup_sctp_mibs(struct net *net) argument 1295 sctp_defaults_init(struct net *net) argument 1439 sctp_defaults_exit(struct net *net) argument 1458 sctp_ctrlsock_init(struct net *net) argument 1470 sctp_ctrlsock_exit(struct net *net) argument [all...] |
/linux-master/net/tipc/ |
H A D | group.h | 2 * net/tipc/group.h: Include file for TIPC group unicast/multicast functions 46 struct tipc_group *tipc_group_create(struct net *net, u32 portid, 49 void tipc_group_join(struct net *net, struct tipc_group *grp, int *sk_rcv_buf); 50 void tipc_group_delete(struct net *net, struct tipc_group *grp);
|
/linux-master/include/rdma/ |
H A D | rdma_netlink.h | 79 * @net: Net namespace in which to send the skb 84 int rdma_nl_unicast(struct net *net, struct sk_buff *skb, u32 pid); 88 * @net: Net namespace in which to send the skb 93 int rdma_nl_unicast_wait(struct net *net, struct sk_buff *skb, __u32 pid); 97 * @net: Net namespace in which to send the skb 103 int rdma_nl_multicast(struct net *net, struct sk_buff *skb,
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_kmod.sh | 28 sysctl -w net.core.bpf_jit_enable=$1 2>&1 > /dev/null 29 sysctl -w net.core.bpf_jit_harden=$2 2>&1 > /dev/null 56 JE=`sysctl -n net.core.bpf_jit_enable` 57 JH=`sysctl -n net.core.bpf_jit_harden` 62 sysctl -w net.core.bpf_jit_enable=$JE 2>&1 > /dev/null 63 sysctl -w net.core.bpf_jit_harden=$JH 2>&1 > /dev/null
|
/linux-master/net/ipv6/ |
H A D | addrconf_core.c | 8 #include <net/ipv6.h> 9 #include <net/ipv6_stubs.h> 10 #include <net/addrconf.h> 11 #include <net/ip.h> 17 void (*__fib6_flush_trees)(struct net *); 132 static struct dst_entry *eafnosupport_ipv6_dst_lookup_flow(struct net *net, argument 145 static struct fib6_table *eafnosupport_fib6_get_table(struct net *net, u32 id) argument 151 eafnosupport_fib6_table_lookup(struct net *ne argument 159 eafnosupport_fib6_lookup(struct net *net, int oif, struct flowi6 *fl6, struct fib6_result *res, int flags) argument 166 eafnosupport_fib6_select_path(const struct net *net, struct fib6_result *res, struct flowi6 *fl6, int oif, bool have_oif_match, const struct sk_buff *skb, int strict) argument 180 eafnosupport_fib6_nh_init(struct net *net, struct fib6_nh *fib6_nh, struct fib6_config *cfg, gfp_t gfp_flags, struct netlink_ext_ack *extack) argument 188 eafnosupport_ip6_del_rt(struct net *net, struct fib6_info *rt, bool skip_notify) argument 194 eafnosupport_ipv6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, int (*output)(struct net *, struct sock *, struct sk_buff *)) argument 201 eafnosupport_ipv6_dev_find(struct net *net, const struct in6_addr *addr, struct net_device *dev) argument [all...] |
H A D | icmp.c | 9 * Based on net/ipv4/icmp.c 37 #include <linux/net.h> 51 #include <net/ip.h> 52 #include <net/sock.h> 54 #include <net/ipv6.h> 55 #include <net/ip6_checksum.h> 56 #include <net/ping.h> 57 #include <net/protocol.h> 58 #include <net/raw.h> 59 #include <net/rawv 79 struct net *net = dev_net(skb->dev); local 103 icmpv6_xmit_lock(struct net *net) argument 166 icmpv6_mask_allow(struct net *net, int type) argument 178 icmpv6_global_allow(struct net *net, int type) argument 196 struct net *net = sock_net(sk); local 238 struct net *net = sock_net(sk); local 350 icmpv6_route_lookup(struct net *net, struct sk_buff *skb, struct sock *sk, struct flowi6 *fl6) argument 452 struct net *net; local 714 struct net *net = dev_net(skb->dev); local 827 struct net *net = dev_net(skb->dev); local 884 struct net *net = dev_net(skb->dev); local 1211 ipv6_icmp_sysctl_init(struct net *net) argument [all...] |
/linux-master/fs/nfsd/ |
H A D | filecache.h | 36 struct net *nf_net; 52 void nfsd_file_cache_purge(struct net *); 54 int nfsd_file_cache_start_net(struct net *net); 55 void nfsd_file_cache_shutdown_net(struct net *net);
|
/linux-master/net/netfilter/ |
H A D | nf_conntrack_standalone.c | 12 #include <net/net_namespace.h> 17 #include <net/netfilter/nf_conntrack.h> 18 #include <net/netfilter/nf_conntrack_core.h> 19 #include <net/netfilter/nf_conntrack_l4proto.h> 20 #include <net/netfilter/nf_conntrack_expect.h> 21 #include <net/netfilter/nf_conntrack_helper.h> 22 #include <net/netfilter/nf_conntrack_acct.h> 23 #include <net/netfilter/nf_conntrack_zones.h> 24 #include <net/netfilter/nf_conntrack_timestamp.h> 297 struct net *ne local 389 struct net *net = seq_file_net(seq); local 407 struct net *net = seq_file_net(seq); local 426 struct net *net = seq_file_net(seq); local 468 nf_conntrack_standalone_init_proc(struct net *net) argument 496 nf_conntrack_standalone_fini_proc(struct net *net) argument 502 nf_conntrack_standalone_init_proc(struct net *net) argument 507 nf_conntrack_standalone_fini_proc(struct net *net) argument 512 nf_conntrack_count(const struct net *net) argument 955 nf_conntrack_standalone_init_tcp_sysctl(struct net *net, struct ctl_table *table) argument 990 nf_conntrack_standalone_init_sctp_sysctl(struct net *net, struct ctl_table *table) argument 1012 nf_conntrack_standalone_init_dccp_sysctl(struct net *net, struct ctl_table *table) argument 1035 nf_conntrack_standalone_init_gre_sysctl(struct net *net, struct ctl_table *table) argument 1046 nf_conntrack_standalone_init_sysctl(struct net *net) argument 1103 nf_conntrack_standalone_fini_sysctl(struct net *net) argument 1113 nf_conntrack_standalone_init_sysctl(struct net *net) argument 1118 nf_conntrack_standalone_fini_sysctl(struct net *net) argument 1123 nf_conntrack_fini_net(struct net *net) argument 1132 nf_conntrack_pernet_init(struct net *net) argument 1169 struct net *net; local [all...] |
H A D | nft_chain_nat.c | 5 #include <net/netfilter/nf_nat.h> 6 #include <net/netfilter/nf_tables.h> 7 #include <net/netfilter/nf_tables_ipv4.h> 8 #include <net/netfilter/nf_tables_ipv6.h> 78 static int nft_nat_inet_reg(struct net *net, const struct nf_hook_ops *ops) argument 80 return nf_nat_inet_register_fn(net, ops); 83 static void nft_nat_inet_unreg(struct net *net, const struct nf_hook_ops *ops) argument 85 nf_nat_inet_unregister_fn(net, op [all...] |
/linux-master/drivers/net/usb/ |
H A D | pegasus.c | 116 netif_dbg(pegasus, drv, pegasus->net, "%s failed with %d\n", __func__, ret); 135 netif_dbg(pegasus, drv, pegasus->net, "%s failed with %d\n", __func__, ret); 168 netif_device_detach(pegasus->net); 169 netif_err(pegasus, drv, pegasus->net, 207 netif_dbg(p, drv, p->net, "%s failed\n", __func__); 273 netif_dbg(pegasus, drv, pegasus->net, "%s failed\n", __func__); 322 netif_dbg(pegasus, drv, pegasus->net, "%s failed\n", __func__); 360 eth_hw_addr_set(pegasus->net, node_id); 364 eth_hw_addr_random(pegasus->net); 365 netif_dbg(pegasus, drv, pegasus->net, "softwar 458 struct net_device *net; local 604 struct net_device *net; local 640 struct net_device *net; local 693 pegasus_tx_timeout(struct net_device *net, unsigned int txqueue) argument 701 pegasus_start_xmit(struct sk_buff *skb, struct net_device *net) argument 775 set_carrier(struct net_device *net) argument 826 pegasus_open(struct net_device *net) argument 879 pegasus_close(struct net_device *net) argument 1004 pegasus_siocdevprivate(struct net_device *net, struct ifreq *rq, void __user *udata, int cmd) argument 1030 pegasus_set_multicast(struct net_device *net) argument 1133 struct net_device *net; local [all...] |
/linux-master/net/ipv4/netfilter/ |
H A D | nf_socket_ipv4.c | 9 #include <net/tcp.h> 10 #include <net/udp.h> 11 #include <net/icmp.h> 12 #include <net/sock.h> 13 #include <net/inet_sock.h> 14 #include <net/netfilter/nf_socket.h> 16 #include <net/netfilter/nf_conntrack.h> 66 nf_socket_get_sock_v4(struct net *net, struct sk_buff *skb, const int doff, argument 74 return inet_lookup(net, ne 84 nf_sk_lookup_slow_v4(struct net *net, const struct sk_buff *skb, const struct net_device *indev) argument [all...] |
H A D | nf_tproxy_ipv4.c | 7 #include <net/netfilter/nf_tproxy.h> 10 #include <net/sock.h> 11 #include <net/inet_sock.h> 13 #include <net/checksum.h> 14 #include <net/udp.h> 15 #include <net/tcp.h> 19 nf_tproxy_handle_time_wait4(struct net *net, struct sk_buff *skb, argument 36 sk2 = nf_tproxy_get_sock_v4(net, skb, iph->protocol, 77 nf_tproxy_get_sock_v4(struct net *ne argument [all...] |
/linux-master/include/net/sctp/ |
H A D | sctp.h | 53 #include <net/ipv6.h> 54 #include <net/ip6_route.h> 59 #include <net/sock.h> 60 #include <net/snmp.h> 61 #include <net/sctp/structs.h> 62 #include <net/sctp/constants.h> 77 int sctp_copy_local_addr_list(struct net *net, struct sctp_bind_addr *addr, 81 void sctp_addr_wq_mgmt(struct net *, struct sctp_sockaddr_entry *, int); 82 int sctp_udp_sock_start(struct net *ne 305 sctp_dbg_objcnt_init(struct net *net) argument 317 sctp_sysctl_net_register(struct net *net) argument 318 sctp_sysctl_net_unregister(struct net *net) argument 496 sctp_phashfn(struct net *net, __u16 lport) argument 502 sctp_ep_hashfn(struct net *net, __u16 lport) argument [all...] |
/linux-master/net/ipv4/ |
H A D | proc.c | 21 * Erik Schoenfelder : /proc/net/snmp 27 * Andi Kleen : Add support for /proc/net/netstat 31 #include <net/net_namespace.h> 32 #include <net/icmp.h> 33 #include <net/protocol.h> 34 #include <net/tcp.h> 35 #include <net/mptcp.h> 36 #include <net/proto_memory.h> 37 #include <net/udp.h> 38 #include <net/udplit 54 struct net *net = seq->private; local 335 struct net *net = seq->private; local 357 struct net *net = seq->private; local 388 struct net *net = seq->private; local 415 struct net *net = seq->private; local 481 struct net *net = seq->private; local 530 ip_proc_init_net(struct net *net) argument 552 ip_proc_exit_net(struct net *net) argument [all...] |
/linux-master/net/bridge/ |
H A D | br_netfilter_hooks.c | 33 #include <net/ip.h> 34 #include <net/ipv6.h> 35 #include <net/addrconf.h> 36 #include <net/route.h> 37 #include <net/netfilter/br_netfilter.h> 38 #include <net/netns/generic.h> 47 #include <net/netfilter/nf_conntrack_core.h> 89 static inline bool is_vlan_ip(const struct sk_buff *skb, const struct net *net) argument 91 struct brnf_net *brnet = net_generic(net, brnf_net_i 96 is_vlan_ipv6(const struct sk_buff *skb, const struct net *net) argument 105 is_vlan_arp(const struct sk_buff *skb, const struct net *net) argument 118 is_pppoe_ip(const struct sk_buff *skb, const struct net *net) argument 126 is_pppoe_ipv6(const struct sk_buff *skb, const struct net *net) argument 200 br_validate_ipv4(struct net *net, struct sk_buff *skb) argument 270 br_nf_pre_routing_finish_bridge(struct net *net, struct sock *sk, struct sk_buff *skb) argument 366 br_nf_pre_routing_finish(struct net *net, struct sock *sk, struct sk_buff *skb) argument 450 brnf_get_logical_dev(struct sk_buff *skb, const struct net_device *dev, const struct net *net) argument 469 setup_pre_routing(struct sk_buff *skb, const struct net *net) argument 653 br_nf_forward_finish(struct net *net, struct sock *sk, struct sk_buff *skb) argument 799 br_nf_push_frag_xmit(struct net *net, struct sock *sk, struct sk_buff *skb) argument 823 br_nf_ip_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, int (*output)(struct net *, struct sock *, struct sk_buff *)) argument 849 br_nf_dev_queue_xmit(struct net *net, struct sock *sk, struct sk_buff *skb) argument 1101 struct net *net; local 1131 br_nf_hook_thresh(unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument 1241 br_netfilter_sysctl_init_net(struct net *net) argument 1274 br_netfilter_sysctl_exit_net(struct net *net, struct brnf_net *brnet) argument 1284 brnf_init_net(struct net *net) argument 1290 brnf_exit_net(struct net *net) argument [all...] |
/linux-master/fs/afs/ |
H A D | proc.c | 91 struct afs_net *net = afs_seq2net(m); local 125 cell = afs_lookup_cell(net, name, strlen(name), args, true); 132 afs_unuse_cell(net, cell, afs_cell_trace_unuse_no_pin); 156 struct afs_net *net = afs_seq2net_single(m); local 165 preflist = rcu_dereference(net->address_prefs); 205 struct afs_net *net; local 207 net = afs_seq2net_single(m); 208 down_read(&net->cells_lock); 209 cell = net->ws_cell; 212 up_read(&net 225 struct afs_net *net = afs_seq2net_single(m); local 501 struct afs_net *net = afs_seq2net(m); local 513 struct afs_net *net = afs_seq2net(m); variable in typeref:struct:afs_net 526 struct afs_net *net = afs_seq2net(m); local 538 struct afs_net *net = afs_seq2net(m); variable in typeref:struct:afs_net 557 struct afs_net *net = afs_seq2net(m); local 646 struct afs_net *net = afs_seq2net_single(m); local 678 struct afs_net *net = cell->net; local 711 struct afs_net *net = cell->net; local 721 afs_proc_init(struct afs_net *net) argument 768 afs_proc_cleanup(struct afs_net *net) argument [all...] |
H A D | cell.c | 26 static void afs_dec_cells_outstanding(struct afs_net *net) argument 28 if (atomic_dec_and_test(&net->cells_outstanding)) 29 wake_up_var(&net->cells_outstanding); 36 static void afs_set_cell_timer(struct afs_net *net, time64_t delay) argument 38 if (net->live) { 39 atomic_inc(&net->cells_outstanding); 40 if (timer_reduce(&net->cells_timer, jiffies + delay * HZ)) 41 afs_dec_cells_outstanding(net); 43 afs_queue_cell_manager(net); 49 * hold net 51 afs_find_cell_locked(struct afs_net *net, const char *name, unsigned int namesz, enum afs_cell_trace reason) argument 98 afs_find_cell(struct afs_net *net, const char *name, unsigned int namesz, enum afs_cell_trace reason) argument 114 afs_alloc_cell(struct afs_net *net, const char *name, unsigned int namelen, const char *addresses) argument 233 afs_lookup_cell(struct afs_net *net, const char *name, unsigned int namesz, const char *vllist, bool excl) argument 342 afs_cell_init(struct afs_net *net, const char *rootcell) argument 493 struct afs_net *net = cell->net; local 515 afs_queue_cell_manager(struct afs_net *net) argument 531 struct afs_net *net = container_of(timer, struct afs_net, cells_timer); local 590 afs_unuse_cell(struct afs_net *net, struct afs_cell *cell, enum afs_cell_trace reason) argument 669 afs_activate_cell(struct afs_net *net, struct afs_cell *cell) argument 706 afs_deactivate_cell(struct afs_net *net, struct afs_cell *cell) argument 726 struct afs_net *net = cell->net; local 847 struct afs_net *net = container_of(work, struct afs_net, cells_manager); local 930 afs_cell_purge(struct afs_net *net) argument [all...] |
/linux-master/include/net/ |
H A D | ip.h | 29 #include <net/inet_sock.h> 30 #include <net/route.h> 31 #include <net/snmp.h> 32 #include <net/flow.h> 33 #include <net/flow_dissector.h> 34 #include <net/netns/hash.h> 35 #include <net/lwtunnel.h> 166 void ip_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int proto); 168 int ip_output(struct net *ne 352 inet_get_local_port_range(const struct net *net, int *low, int *high) argument 362 inet_is_local_reserved_port(struct net *net, unsigned short port) argument 374 inet_port_requires_bind_service(struct net *net, unsigned short port) argument 380 inet_is_local_reserved_port(struct net *net, unsigned short port) argument 385 inet_port_requires_bind_service(struct net *net, unsigned short port) argument 465 struct net *net = dev_net(dst->dev); local 542 ip_select_ident_segs(struct net *net, struct sk_buff *skb, struct sock *sk, int segs) argument 574 ip_select_ident(struct net *net, struct sk_buff *skb, struct sock *sk) argument 685 ipv4_portaddr_hash(const struct net *net, __be32 saddr, unsigned int port) argument 728 ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user) argument 749 ip_options_echo(struct net *net, struct ip_options *dopt, struct sk_buff *skb) argument [all...] |
/linux-master/include/net/netfilter/ |
H A D | nf_conntrack.h | 25 #include <net/netfilter/nf_conntrack_tuple.h> 72 #include <net/netfilter/ipv4/nf_conntrack_ipv4.h> 73 #include <net/netfilter/ipv6/nf_conntrack_ipv6.h> 156 extern struct net init_net; 158 static inline struct net *nf_ct_net(const struct nf_conn *ct) 190 int nf_ct_netns_get(struct net *net, u8 nfproto); 191 void nf_ct_netns_put(struct net *net, u8 nfproto); 203 u_int16_t l3num, struct net *ne 238 struct net *net; member in struct:nf_ct_iter_data 370 nf_ct_pernet(const struct net *net) argument [all...] |
/linux-master/net/mptcp/ |
H A D | syncookies.c | 38 static u32 mptcp_join_entry_hash(struct sk_buff *skb, struct net *net) argument 52 i = jhash_3words(seq, net_hash_mix(net), 74 struct net *net = read_pnet(&subflow_req->sk.req.ireq_net); local 75 u32 i = mptcp_join_entry_hash(skb, net); 95 struct net *net = read_pnet(&subflow_req->sk.req.ireq_net); local 96 u32 i = mptcp_join_entry_hash(skb, net); 111 msk = mptcp_token_get_sock(net, [all...] |
/linux-master/net/openvswitch/ |
H A D | vport-geneve.c | 10 #include <linux/net.h> 16 #include <net/geneve.h> 17 #include <net/icmp.h> 18 #include <net/ip.h> 19 #include <net/route.h> 20 #include <net/udp.h> 21 #include <net/xfrm.h> 53 struct net *net = ovs_dp_get_net(parms->dp); local 85 dev = geneve_dev_create_fb(net, parm [all...] |
/linux-master/net/llc/ |
H A D | llc_station.c | 17 #include <net/llc.h> 18 #include <net/llc_sap.h> 19 #include <net/llc_conn.h> 20 #include <net/llc_c_ac.h> 21 #include <net/llc_s_ac.h> 22 #include <net/llc_c_ev.h> 23 #include <net/llc_c_st.h> 24 #include <net/llc_s_ev.h> 25 #include <net/llc_s_st.h> 26 #include <net/llc_pd [all...] |