/linux-master/include/net/netfilter/ |
H A D | nf_conntrack_labels.h | 9 #include <net/net_namespace.h> 10 #include <net/netfilter/nf_conntrack.h> 11 #include <net/netfilter/nf_conntrack_extend.h> 40 struct net *net = nf_ct_net(ct); local 42 if (atomic_read(&net->ct.labels_used) == 0) 55 int nf_connlabels_get(struct net *net, unsigned int bit); 56 void nf_connlabels_put(struct net *net); 58 nf_connlabels_get(struct net *net, unsigned int bit) argument 59 nf_connlabels_put(struct net *net) argument [all...] |
H A D | nf_conntrack_l4proto.h | 14 #include <net/netlink.h> 15 #include <net/netfilter/nf_conntrack.h> 16 #include <net/netns/generic.h> 51 struct net *net, void *data); 66 struct net *net, 71 struct net *net, 136 void nf_conntrack_generic_init_net(struct net *ne 186 nf_generic_pernet(struct net *net) argument 191 nf_tcp_pernet(struct net *net) argument 196 nf_udp_pernet(struct net *net) argument 201 nf_icmp_pernet(struct net *net) argument 206 nf_icmpv6_pernet(struct net *net) argument 227 nf_dccp_pernet(struct net *net) argument 234 nf_sctp_pernet(struct net *net) argument 241 nf_gre_pernet(struct net *net) argument [all...] |
/linux-master/net/tipc/ |
H A D | bcast.c | 2 * net/tipc/bcast.c: TIPC broadcast code 77 static struct tipc_bc_base *tipc_bc_base(struct net *net) argument 79 return tipc_net(net)->bcbase; 86 int tipc_bcast_get_mtu(struct net *net) argument 88 return tipc_link_mss(tipc_bc_sndlink(net)); 91 void tipc_bcast_toggle_rcast(struct net *net, bool supp) argument 93 tipc_bc_base(net) 96 tipc_bcbase_calc_bc_threshold(struct net *net) argument 107 tipc_bcbase_select_primary(struct net *net) argument 147 tipc_bcast_inc_bearer_dst_cnt(struct net *net, int bearer_id) argument 157 tipc_bcast_dec_bearer_dst_cnt(struct net *net, int bearer_id) argument 177 tipc_bcbase_xmit(struct net *net, struct sk_buff_head *xmitq) argument 212 tipc_bcast_select_xmit_method(struct net *net, int dests, struct tipc_mc_method *method) argument 259 tipc_bcast_xmit(struct net *net, struct sk_buff_head *pkts, u16 *cong_link_cnt) argument 288 tipc_rcast_xmit(struct net *net, struct sk_buff_head *pkts, struct tipc_nlist *dests, u16 *cong_link_cnt) argument 317 tipc_mcast_send_sync(struct net *net, struct sk_buff *skb, struct tipc_mc_method *method, struct tipc_nlist *dests) argument 378 tipc_mcast_xmit(struct net *net, struct sk_buff_head *pkts, struct tipc_mc_method *method, struct tipc_nlist *dests, u16 *cong_link_cnt) argument 436 tipc_bcast_rcv(struct net *net, struct tipc_link *l, struct sk_buff *skb) argument 470 tipc_bcast_ack_rcv(struct net *net, struct tipc_link *l, struct tipc_msg *hdr) argument 498 tipc_bcast_sync_rcv(struct net *net, struct tipc_link *l, struct tipc_msg *hdr, struct sk_buff_head *retrq) argument 535 tipc_bcast_add_peer(struct net *net, struct tipc_link *uc_l, struct sk_buff_head *xmitq) argument 551 tipc_bcast_remove_peer(struct net *net, struct tipc_link *rcv_l) argument 572 tipc_bclink_reset_stats(struct net *net, struct tipc_link *l) argument 583 tipc_bc_link_set_queue_limits(struct net *net, u32 max_win) argument 599 tipc_bc_link_set_broadcast_mode(struct net *net, u32 bc_mode) argument 632 tipc_bc_link_set_broadcast_ratio(struct net *net, u32 bc_ratio) argument 650 tipc_nl_bc_link_set(struct net *net, struct nlattr *attrs[]) argument 689 tipc_bcast_init(struct net *net) argument 722 tipc_bcast_stop(struct net *net) argument 761 tipc_bcast_get_mode(struct net *net) argument 777 tipc_bcast_get_broadcast_ratio(struct net *net) argument 784 tipc_mcast_filter_msg(struct net *net, struct sk_buff_head *defq, struct sk_buff_head *inputq) argument [all...] |
H A D | name_table.h | 2 * net/tipc/name_table.h: Include file for TIPC name table code 115 bool tipc_nametbl_lookup_anycast(struct net *net, struct tipc_uaddr *ua, 117 void tipc_nametbl_lookup_mcast_sockets(struct net *net, struct tipc_uaddr *ua, 119 void tipc_nametbl_lookup_mcast_nodes(struct net *net, struct tipc_uaddr *ua, 121 bool tipc_nametbl_lookup_group(struct net *net, struct tipc_uaddr *ua, 124 void tipc_nametbl_build_group(struct net *ne [all...] |
/linux-master/fs/nfsd/ |
H A D | idmap.h | 43 int nfsd_idmap_init(struct net *); 44 void nfsd_idmap_shutdown(struct net *); 46 static inline int nfsd_idmap_init(struct net *net) argument 50 static inline void nfsd_idmap_shutdown(struct net *net) argument
|
/linux-master/net/netfilter/ |
H A D | nf_conntrack_acct.c | 16 #include <net/netfilter/nf_conntrack.h> 17 #include <net/netfilter/nf_conntrack_extend.h> 18 #include <net/netfilter/nf_conntrack_acct.h> 25 void nf_conntrack_acct_pernet_init(struct net *net) argument 27 net->ct.sysctl_acct = nf_ct_acct;
|
H A D | nf_conntrack_timestamp.c | 13 #include <net/netfilter/nf_conntrack.h> 14 #include <net/netfilter/nf_conntrack_extend.h> 15 #include <net/netfilter/nf_conntrack_timestamp.h> 22 void nf_conntrack_tstamp_pernet_init(struct net *net) argument 24 net->ct.sysctl_tstamp = nf_ct_tstamp;
|
H A D | nf_flow_table_procfs.c | 4 #include <net/netfilter/nf_flow_table.h> 8 struct net *net = seq_file_net(seq); local 18 return per_cpu_ptr(net->ft.stat, cpu); 26 struct net *net = seq_file_net(seq); local 33 return per_cpu_ptr(net->ft.stat, cpu); 67 int nf_flow_table_init_proc(struct net *net) argument 71 pde = proc_create_net("nf_flowtable", 0444, net 77 nf_flow_table_fini_proc(struct net *net) argument [all...] |
/linux-master/kernel/bpf/ |
H A D | net_namespace.c | 6 #include <net/net_namespace.h> 17 /* We don't hold a ref to net in order to auto-detach the link 22 struct net *net; member in struct:bpf_netns_link 23 struct list_head node; /* node in list of links attached to net */ 56 static void netns_bpf_run_array_detach(struct net *net, argument 61 run_array = rcu_replace_pointer(net->bpf.run_array[type], NULL, 66 static int link_index(struct net *net, enu argument 80 link_count(struct net *net, enum netns_bpf_attach_type type) argument 90 fill_prog_array(struct net *net, enum netns_bpf_attach_type type, struct bpf_prog_array *prog_array) argument 108 struct net *net; local 172 struct net *net; local 210 struct net *net; local 246 __netns_bpf_prog_query(const union bpf_attr *attr, union bpf_attr __user *uattr, struct net *net, enum netns_bpf_attach_type type) argument 275 struct net *net; local 302 struct net *net; local 364 __netns_bpf_prog_detach(struct net *net, enum netns_bpf_attach_type type, struct bpf_prog *old) argument 421 netns_bpf_link_attach(struct net *net, struct bpf_link *link, enum netns_bpf_attach_type type) argument 483 struct net *net; local 529 netns_bpf_pernet_init(struct net *net) argument 539 netns_bpf_pernet_pre_exit(struct net *net) argument [all...] |
/linux-master/drivers/net/thunderbolt/ |
H A D | main.c | 24 #include <net/ip6_checksum.h> 240 static int tbnet_login_response(struct tbnet *net, u64 route, u8 sequence, argument 244 struct tb_xdomain *xd = net->xd; 250 memcpy(reply.receiver_mac, net->dev->dev_addr, ETH_ALEN); 257 static int tbnet_login_request(struct tbnet *net, u8 sequence) argument 261 struct tb_xdomain *xd = net->xd; 266 atomic_inc_return(&net->command_id)); 269 request.transmit_path = net->local_transmit_path; 277 static int tbnet_logout_response(struct tbnet *net, u64 route, u8 sequence, argument 281 struct tb_xdomain *xd = net 291 tbnet_logout_request(struct tbnet *net) argument 308 start_login(struct tbnet *net) argument 321 stop_login(struct tbnet *net) argument 372 tbnet_tear_down(struct tbnet *net, bool send_logout) argument 421 struct tbnet *net = data; local 499 tbnet_alloc_rx_buffers(struct tbnet *net, unsigned int nbuffers) argument 548 tbnet_get_tx_buffer(struct tbnet *net) argument 573 struct tbnet *net = netdev_priv(tf->dev); local 582 tbnet_alloc_tx_buffers(struct tbnet *net) argument 624 struct tbnet *net = container_of(work, typeof(*net), connected_work); local 691 struct tbnet *net = container_of(work, typeof(*net), login_work.work); local 726 struct tbnet *net = container_of(work, typeof(*net), disconnect_work); local 731 tbnet_check_frame(struct tbnet *net, const struct tbnet_frame *tf, const struct thunderbolt_ip_frame_header *hdr) argument 804 struct tbnet *net = container_of(napi, struct tbnet, napi); local 911 struct tbnet *net = data; local 918 struct tbnet *net = netdev_priv(dev); local 972 struct tbnet *net = netdev_priv(dev); local 989 tbnet_xmit_csum_and_map(struct tbnet *net, struct sk_buff *skb, struct tbnet_frame **frames, u32 frame_count) argument 1106 struct tbnet *net = netdev_priv(dev); local 1245 struct tbnet *net = netdev_priv(dev); local 1270 const struct tbnet *net = netdev_priv(dev); local 1291 struct tbnet *net; local 1359 struct tbnet *net = tb_service_get_drvdata(svc); local 1374 struct tbnet *net = tb_service_get_drvdata(svc); local 1389 struct tbnet *net = tb_service_get_drvdata(svc); local [all...] |
/linux-master/net/ipv4/ |
H A D | tcp_plb.c | 22 #include <net/tcp.h> 28 struct net *net = sock_net(sk); local 30 if (!READ_ONCE(net->ipv4.sysctl_tcp_plb_enabled)) 34 if (cong_ratio < READ_ONCE(net->ipv4.sysctl_tcp_plb_cong_thresh)) 37 READ_ONCE(net->ipv4.sysctl_tcp_plb_rehash_rounds)) 48 struct net *net = sock_net(sk); local 52 if (!READ_ONCE(net->ipv4.sysctl_tcp_plb_enabled)) 56 READ_ONCE(net 93 struct net *net = sock_net(sk); local [all...] |
/linux-master/include/net/ |
H A D | fib_notifier.h | 6 #include <net/net_namespace.h> 31 unsigned int (*fib_seq_read)(struct net *net); 32 int (*fib_dump)(struct net *net, struct notifier_block *nb, 41 int call_fib_notifiers(struct net *net, enum fib_event_type event_type, 43 int register_fib_notifier(struct net *net, struct notifier_block *nb, 46 int unregister_fib_notifier(struct net *ne [all...] |
H A D | ipv6_stubs.h | 8 #include <net/dst.h> 9 #include <net/flow.h> 10 #include <net/neighbour.h> 11 #include <net/sock.h> 13 /* structs from net/ip6_fib.h */ 27 struct dst_entry *(*ipv6_dst_lookup_flow)(struct net *net, 33 struct fib6_table *(*fib6_get_table)(struct net *net, u32 id); 34 int (*fib6_lookup)(struct net *ne [all...] |
/linux-master/drivers/s390/ |
H A D | Makefile | 6 obj-y += cio/ block/ char/ crypto/ net/ scsi/ virtio/
|
/linux-master/include/net/netfilter/ipv4/ |
H A D | nf_dup_ipv4.h | 8 void nf_dup_ipv4(struct net *net, struct sk_buff *skb, unsigned int hooknum,
|
/linux-master/fs/afs/ |
H A D | main.c | 65 static int __net_init afs_net_init(struct net *net_ns) 68 struct afs_net *net = afs_net(net_ns); local 71 net->net = net_ns; 72 net->live = true; 73 generate_random_uuid((unsigned char *)&net->uuid); 75 INIT_WORK(&net->charge_preallocation_work, afs_charge_preallocation); 76 mutex_init(&net->socket_mutex); 78 net->cells = RB_ROOT; 79 init_rwsem(&net 149 struct afs_net *net = afs_net(net_ns); local [all...] |
/linux-master/net/rxrpc/ |
H A D | misc.c | 9 #include <net/sock.h> 10 #include <net/af_rxrpc.h>
|
/linux-master/tools/testing/selftests/drivers/net/team/ |
H A D | Makefile | 2 # Makefile for net selftests 8 ../../../net/forwarding/lib.sh \ 9 ../../../net/lib.sh
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | sample.h | 7 #include <net/flow_offload.h>
|
/linux-master/include/net/netns/ |
H A D | generic.h | 3 * generic net pointers 11 #include <net/net_namespace.h> 14 * Generic net pointers are to be used by modules to put some private 15 * stuff on the struct net without explicit struct net modification 21 * a private structure pointed to from struct net. 22 * 3. do not change this pointer while the net is alive; 40 static inline void *net_generic(const struct net *net, unsigned int id) argument 46 ng = rcu_dereference(net [all...] |
/linux-master/include/net/caif/ |
H A D | caif_device.h | 10 #include <linux/net.h> 13 #include <net/caif/caif_device.h> 48 void (*flowctrl)(struct net_device *net, int on);
|
/linux-master/net/core/ |
H A D | net-sysfs.h | 9 int netdev_queue_update_kobjects(struct net_device *net, 11 int netdev_change_owner(struct net_device *, const struct net *net_old, 12 const struct net *net_new);
|
/linux-master/include/net/tc_act/ |
H A D | tc_connmark.h | 5 #include <net/act_api.h> 8 struct net *net; member in struct:tcf_connmark_parms
|
/linux-master/drivers/usb/gadget/function/ |
H A D | u_phonet.h | 17 struct net_device *net; member in struct:f_phonet_opts 21 void gphonet_set_gadget(struct net_device *net, struct usb_gadget *g); 22 int gphonet_register_netdev(struct net_device *net);
|
/linux-master/net/xfrm/ |
H A D | xfrm_proc.c | 12 #include <net/snmp.h> 13 #include <net/xfrm.h> 50 struct net *net = seq->private; local 55 xfrm_state_update_stats(net); 57 net->mib.xfrm_statistics); 65 int __net_init xfrm_proc_init(struct net *net) argument 67 if (!proc_create_net_single("xfrm_stat", 0444, net->proc_net, 73 void xfrm_proc_fini(struct net *ne argument [all...] |