Home
last modified time | relevance | path

Searched defs:net (Results 1 – 25 of 763) sorted by relevance

12345678910>>...31

/linux/include/net/
H A Dnet_namespace.h61 struct net { global() struct
65 passivenet global() argument
76 listnet global() argument
77 exit_listnet global() argument
78 fnhe_genidnet global() argument
94 netns_idsnet global() argument
99 notrefcnt_trackernet global() argument
102 proc_netnet global() argument
103 proc_net_statnet global() argument
109 rtnlnet global() argument
117 netdev_chainnet global() argument
124 loopback_devnet global() argument
129 corenet global() argument
130 mibnet global() argument
131 packetnet global() argument
133 unxnet global() argument
135 nexthopnet global() argument
136 ipv4net global() argument
138 ipv6net global() argument
141 ieee802154_lowpannet global() argument
144 sctpnet global() argument
147 nfnet global() argument
149 ctnet global() argument
152 nftnet global() argument
155 ftnet global() argument
161 gennet global() argument
164 bpfnet global() argument
168 xfrmnet global() argument
171 net_cookienet global() argument
174 ipvsnet global() argument
177 mplsnet global() argument
180 cannet global() argument
183 xdpnet global() argument
186 mctpnet global() argument
193 smcnet global() argument
204 rtnl_mutexnet global() argument
229 net_ns_get_ownership(const struct net * net,kuid_t * uid,kgid_t * gid) net_ns_get_ownership() argument
271 get_net(struct net * net) get_net() argument
277 maybe_get_net(struct net * net) maybe_get_net() argument
290 put_net(struct net * net) put_net() argument
302 check_net(const struct net * net) check_net() argument
312 get_net(struct net * net) get_net() argument
317 put_net(struct net * net) put_net() argument
321 maybe_get_net(struct net * net) maybe_get_net() argument
332 check_net(const struct net * net) check_net() argument
339 net_passive_dec(struct net * net) net_passive_dec() argument
345 net_passive_inc(struct net * net) net_passive_inc() argument
351 net_initialized(const struct net * net) net_initialized() argument
356 __netns_tracker_alloc(struct net * net,netns_tracker * tracker,bool refcounted,gfp_t gfp) __netns_tracker_alloc() argument
368 netns_tracker_alloc(struct net * net,netns_tracker * tracker,gfp_t gfp) netns_tracker_alloc() argument
374 __netns_tracker_free(struct net * net,netns_tracker * tracker,bool refcounted) __netns_tracker_free() argument
384 get_net_track(struct net * net,netns_tracker * tracker,gfp_t gfp) get_net_track() argument
392 put_net_track(struct net * net,netns_tracker * tracker) put_net_track() argument
400 struct net __rcu *net; global() member
404 write_pnet(possible_net_t * pnet,struct net * net) write_pnet() argument
515 register_net_sysctl(net,path,table) global() argument
524 register_net_sysctl_sz(struct net * net,const char * path,struct ctl_table * table,size_t table_size) register_net_sysctl_sz() argument
534 rt_genid_ipv4(const struct net * net) rt_genid_ipv4() argument
540 rt_genid_ipv6(const struct net * net) rt_genid_ipv6() argument
546 rt_genid_bump_ipv4(struct net * net) rt_genid_bump_ipv4() argument
552 rt_genid_bump_ipv6(struct net * net) rt_genid_bump_ipv6() argument
560 net_ieee802154_lowpan(struct net * net) net_ieee802154_lowpan() argument
567 rt_genid_bump_all(struct net * net) rt_genid_bump_all() argument
573 fnhe_genid(const struct net * net) fnhe_genid() argument
578 fnhe_genid_bump(struct net * net) fnhe_genid_bump() argument
[all...]
H A Dl3mdev.h90 l3mdev_master_ifindex_by_index(struct net * net,int ifindex) l3mdev_master_ifindex_by_index() argument
135 l3mdev_master_upper_ifindex_by_index(struct net * net,int ifindex) l3mdev_master_upper_ifindex_by_index() argument
157 netif_index_is_l3_master(struct net * net,int ifindex) netif_index_is_l3_master() argument
248 l3mdev_master_ifindex_by_index(struct net * net,int ifindex) l3mdev_master_ifindex_by_index() argument
254 l3mdev_master_upper_ifindex_by_index_rcu(struct net * net,int ifindex) l3mdev_master_upper_ifindex_by_index_rcu() argument
259 l3mdev_master_upper_ifindex_by_index(struct net * net,int ifindex) l3mdev_master_upper_ifindex_by_index() argument
278 l3mdev_fib_table_by_index(struct net * net,int ifindex) l3mdev_fib_table_by_index() argument
283 netif_index_is_l3_master(struct net * net,int ifindex) netif_index_is_l3_master() argument
289 l3mdev_link_scope_lookup(struct net * net,struct flowi6 * fl6) l3mdev_link_scope_lookup() argument
332 l3mdev_ifindex_lookup_by_table_id(enum l3mdev_type l3type,struct net * net,u32 table_id) l3mdev_ifindex_lookup_by_table_id() argument
339 l3mdev_fib_rule_match(struct net * net,struct flowi * fl,struct fib_lookup_arg * arg) l3mdev_fib_rule_match() argument
358 l3mdev_update_flow(struct net * net,struct flowi * fl) l3mdev_update_flow() argument
[all...]
/linux/include/linux/
H A Drtnetlink.h14 static inline int rtnetlink_maybe_send(struct sk_buff *skb, struct net *net, in rtnetlink_maybe_send()
111 #define ASSERT_RTNL_NET(net) \ argument
118 #define rcu_dereference_rtnl_net(net, p) \ argument
120 #define rtnl_net_dereference(net, p) \ argument
122 #define rcu_replace_pointer_rtnl_net(net, rp, p) \ argument
125 static inline void __rtnl_net_lock(struct net *net) {} in __rtnl_net_lock()
126 static inline void __rtnl_net_unlock(struct net *net) {} in __rtnl_net_unlock()
128 static inline void rtnl_net_lock(struct net *net) in rtnl_net_lock()
133 static inline void rtnl_net_unlock(struct net *net) in rtnl_net_unlock()
138 static inline int rtnl_net_trylock(struct net *net) in rtnl_net_trylock()
[all …]
/linux/net/tipc/
H A Dbcast.c77 static struct tipc_bc_base *tipc_bc_base(struct net *net) in tipc_bc_base()
86 int tipc_bcast_get_mtu(struct net *net) in tipc_bcast_get_mtu()
91 void tipc_bcast_toggle_rcast(struct net *net, bool supp) in tipc_bcast_toggle_rcast()
96 static void tipc_bcbase_calc_bc_threshold(struct net *net) in tipc_bcbase_calc_bc_threshold()
107 static void tipc_bcbase_select_primary(struct net *net) in tipc_bcbase_select_primary()
147 void tipc_bcast_inc_bearer_dst_cnt(struct net *net, int bearer_id) in tipc_bcast_inc_bearer_dst_cnt()
157 void tipc_bcast_dec_bearer_dst_cnt(struct net *net, int bearer_id) in tipc_bcast_dec_bearer_dst_cnt()
177 static void tipc_bcbase_xmit(struct net *net, struct sk_buff_head *xmitq) in tipc_bcbase_xmit()
212 static void tipc_bcast_select_xmit_method(struct net *net, int dests, in tipc_bcast_select_xmit_method()
259 int tipc_bcast_xmit(struct net *net, struct sk_buff_head *pkts, in tipc_bcast_xmit()
[all …]
H A Dbearer.c62 static struct tipc_bearer *bearer_get(struct net *net, int bearer_id) in bearer_get()
181 struct tipc_bearer *tipc_bearer_find(struct net *net, const char *name) in tipc_bearer_find()
200 int tipc_bearer_get_name(struct net *net, char *name, u32 bearer_id) in tipc_bearer_get_name()
216 void tipc_bearer_add_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_add_dest()
227 void tipc_bearer_remove_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_remove_dest()
247 static int tipc_enable_bearer(struct net *net, const char *name, in tipc_enable_bearer()
381 static int tipc_reset_bearer(struct net *net, struct tipc_bearer *b) in tipc_reset_bearer()
407 static void bearer_disable(struct net *net, struct tipc_bearer *b) in bearer_disable()
424 int tipc_enable_l2_media(struct net *net, struct tipc_bearer *b, in tipc_enable_l2_media()
496 int tipc_l2_send_msg(struct net *net, struct sk_buff *skb, in tipc_l2_send_msg()
[all …]
H A Dnet.c111 int tipc_net_init(struct net *net, u8 *node_id, u32 addr) in tipc_net_init()
126 static void tipc_net_finalize(struct net *net, u32 addr) in tipc_net_finalize()
153 void tipc_net_stop(struct net *net) in tipc_net_stop()
166 static int __tipc_nl_add_net(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_add_net()
204 struct net *net = sock_net(skb->sk); in tipc_nl_net_dump() local
230 struct net *net = sock_net(skb->sk); in __tipc_nl_net_set() local
293 static int __tipc_nl_addr_legacy_get(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_addr_legacy_get()
327 struct net *net = sock_net(skb->sk); in tipc_nl_net_addr_legacy_get() local
H A Dname_distr.c67 static struct sk_buff *named_prepare_buf(struct net *net, u32 type, u32 size, in named_prepare_buf()
88 struct sk_buff *tipc_named_publish(struct net *net, struct publication *p) in tipc_named_publish()
118 struct sk_buff *tipc_named_withdraw(struct net *net, struct publication *p) in tipc_named_withdraw()
150 static void named_distribute(struct net *net, struct sk_buff_head *list, in named_distribute()
206 void tipc_named_node_up(struct net *net, u32 dnode, u16 capabilities) in tipc_named_node_up()
235 static void tipc_publ_purge(struct net *net, struct publication *p, u32 addr) in tipc_publ_purge()
252 void tipc_publ_notify(struct net *net, struct list_head *nsub_list, in tipc_publ_notify()
279 static bool tipc_update_nametbl(struct net *net, struct distr_item *i, in tipc_update_nametbl()
364 void tipc_named_rcv(struct net *net, struct sk_buff_head *namedq, in tipc_named_rcv()
396 void tipc_named_reinit(struct net *net) in tipc_named_reinit()
/linux/net/sctp/
H A Dsm_statefuns.c233 enum sctp_disposition sctp_sf_do_4_C(struct net *net, in sctp_sf_do_4_C()
318 enum sctp_disposition sctp_sf_do_5_1B_init(struct net *net, in sctp_sf_do_5_1B_init()
518 enum sctp_disposition sctp_sf_do_5_1C_ack(struct net *net, in sctp_sf_do_5_1C_ack()
637 static bool sctp_auth_chunk_verify(struct net *net, struct sctp_chunk *chunk, in sctp_auth_chunk_verify()
700 enum sctp_disposition sctp_sf_do_5_1D_ce(struct net *net, in sctp_sf_do_5_1D_ce()
922 enum sctp_disposition sctp_sf_do_5_1E_ca(struct net *net, in sctp_sf_do_5_1E_ca()
1041 enum sctp_disposition sctp_sf_sendbeat_8_3(struct net *net, in sctp_sf_sendbeat_8_3()
1089 enum sctp_disposition sctp_sf_send_reconf(struct net *net, in sctp_sf_send_reconf()
1118 enum sctp_disposition sctp_sf_send_probe(struct net *net, in sctp_sf_send_probe()
1166 enum sctp_disposition sctp_sf_beat_8_3(struct net *net, in sctp_sf_beat_8_3()
[all …]
/linux/net/core/
H A Dnet_namespace.c83 static int net_assign_generic(struct net *net, unsigned int id, void *data) in net_assign_generic()
120 static int ops_init(const struct pernet_operations *ops, struct net *net) in ops_init()
157 struct net *net; in ops_pre_exit_list() local
171 struct net *net; in ops_exit_rtnl_list() local
196 struct net *net; in ops_exit_list() local
211 struct net *net; in ops_free_list() local
270 static int alloc_netid(struct net *net, struct net *peer, int reqid) in alloc_netid()
288 static int net_eq_idr(int id, void *net, void *peer) in net_eq_idr()
296 static int __peernet2id(const struct net *net, struct net *peer) in __peernet2id()
314 int peernet2id_alloc(struct net *net, struct net *peer, gfp_t gfp) in peernet2id_alloc()
[all …]
/linux/net/ipv6/
H A Dip6mr.c106 #define ip6mr_for_each_table(mrt, net) \ argument
111 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
128 static struct mr_table *__ip6mr_get_table(struct net *net, u32 id) in __ip6mr_get_table()
139 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
149 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
237 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
271 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit()
283 static int ip6mr_rules_dump(struct net *net, struct notifier_block *nb, in ip6mr_rules_dump()
289 static unsigned int ip6mr_rules_seq_read(const struct net *net) in ip6mr_rules_seq_read()
301 #define ip6mr_for_each_table(mrt, net) \ argument
[all …]
H A Dip6_fib.c44 struct net *net; member
75 #define FOR_WALKERS(net, w) \ argument
78 static void fib6_walker_link(struct net *net, struct fib6_walker *w) in fib6_walker_link()
85 static void fib6_walker_unlink(struct net *net, struct fib6_walker *w) in fib6_walker_unlink()
92 static int fib6_new_sernum(struct net *net) in fib6_new_sernum()
107 void fib6_update_sernum(struct net *net, struct fib6_info *f6i) in fib6_update_sernum()
184 static struct fib6_node *node_alloc(struct net *net) in node_alloc()
195 static void node_free_immediate(struct net *net, struct fib6_node *fn) in node_free_immediate()
201 static void node_free(struct net *net, struct fib6_node *fn) in node_free()
213 static void fib6_link_table(struct net *net, struct fib6_table *tb) in fib6_link_table()
[all …]
H A Dreassembly.c85 fq_find(struct net *net, __be32 id, const struct ipv6hdr *hdr, int iif) in fq_find()
107 static int ip6_frag_queue(struct net *net, in ip6_frag_queue()
261 struct net *net = fq->q.fqdir->net; in ip6_frag_reasm() local
328 struct net *net = skb_dst_dev_net(skb); in ipv6_frag_rcv() local
454 static int __net_init ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register()
487 static void __net_exit ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister()
511 static int ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register()
516 static void ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister()
530 static int __net_init ipv6_frags_init_net(struct net *net) in ipv6_frags_init_net()
548 static void __net_exit ipv6_frags_pre_exit_net(struct net *net) in ipv6_frags_pre_exit_net()
[all …]
H A Daddrconf_core.c132 static struct dst_entry *eafnosupport_ipv6_dst_lookup_flow(struct net *net, in eafnosupport_ipv6_dst_lookup_flow()
145 static struct fib6_table *eafnosupport_fib6_get_table(struct net *net, u32 id) in eafnosupport_fib6_get_table()
151 eafnosupport_fib6_table_lookup(struct net *net, struct fib6_table *table, in eafnosupport_fib6_table_lookup()
159 eafnosupport_fib6_lookup(struct net *net, int oif, struct flowi6 *fl6, in eafnosupport_fib6_lookup()
166 eafnosupport_fib6_select_path(const struct net *net, struct fib6_result *res, in eafnosupport_fib6_select_path()
180 static int eafnosupport_fib6_nh_init(struct net *net, struct fib6_nh *fib6_nh, in eafnosupport_fib6_nh_init()
188 static int eafnosupport_ip6_del_rt(struct net *net, struct fib6_info *rt, in eafnosupport_ip6_del_rt()
194 static int eafnosupport_ipv6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in eafnosupport_ipv6_fragment()
195 int (*output)(struct net *, struct sock *, struct sk_buff *)) in eafnosupport_ipv6_fragment()
201 static struct net_device *eafnosupport_ipv6_dev_find(struct net *net, const struct in6_addr *addr, in eafnosupport_ipv6_dev_find()
H A Dip6_input.c48 ip6_rcv_finish_core(struct net * net,struct sock * sk,struct sk_buff * skb) ip6_rcv_finish_core() argument
69 ip6_rcv_finish(struct net * net,struct sock * sk,struct sk_buff * skb) ip6_rcv_finish() argument
99 ip6_extract_route_hint(const struct net * net,struct sk_buff * skb) ip6_extract_route_hint() argument
109 ip6_list_rcv_finish(struct net * net,struct sock * sk,struct list_head * head) ip6_list_rcv_finish() argument
149 ip6_rcv_core(struct sk_buff * skb,struct net_device * dev,struct net * net) ip6_rcv_core() argument
306 struct net *net = dev_net(skb->dev); ipv6_rcv() local
317 ip6_sublist_rcv(struct list_head * head,struct net_device * dev,struct net * net) ip6_sublist_rcv() argument
335 struct net *net = dev_net(dev); ipv6_list_rcv() local
363 ip6_protocol_deliver_rcu(struct net * net,struct sk_buff * skb,int nexthdr,bool have_final) ip6_protocol_deliver_rcu() argument
479 ip6_input_finish(struct net * net,struct sock * sk,struct sk_buff * skb) ip6_input_finish() argument
[all...]
H A Dxfrm6_tunnel.c35 static inline struct xfrm6_tunnel_net *xfrm6_tunnel_pernet(struct net *net) in xfrm6_tunnel_pernet()
74 static struct xfrm6_tunnel_spi *__xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *sa… in __xfrm6_tunnel_spi_lookup()
89 __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr) in xfrm6_tunnel_spi_lookup()
102 static int __xfrm6_tunnel_spi_check(struct net *net, u32 spi) in __xfrm6_tunnel_spi_check()
117 static u32 __xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) in __xfrm6_tunnel_alloc_spi()
163 __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) in xfrm6_tunnel_alloc_spi()
187 static void xfrm6_tunnel_free_spi(struct net *net, xfrm_address_t *saddr) in xfrm6_tunnel_free_spi()
224 struct net *net = dev_net(skb->dev); in xfrm6_tunnel_rcv() local
292 struct net *net = xs_net(x); in xfrm6_tunnel_destroy() local
318 static int __net_init xfrm6_tunnel_net_init(struct net *net) in xfrm6_tunnel_net_init()
[all …]
/linux/kernel/bpf/
H A Dnet_namespace.c20 struct net *net; member
55 static void netns_bpf_run_array_detach(struct net *net, in netns_bpf_run_array_detach()
65 static int link_index(struct net *net, enum netns_bpf_attach_type type, in link_index()
79 static int link_count(struct net *net, enum netns_bpf_attach_type type) in link_count()
89 static void fill_prog_array(struct net *net, enum netns_bpf_attach_type type, in fill_prog_array()
107 struct net *net; in bpf_netns_link_release() local
171 struct net *net; in bpf_netns_link_update_prog() local
209 struct net *net; in bpf_netns_link_fill_info() local
247 struct net *net, in __netns_bpf_prog_query()
274 struct net *net; in netns_bpf_prog_query() local
[all …]
/linux/net/netfilter/
H A Dnf_synproxy_core.c306 synproxy_proc_init(struct net * net) synproxy_proc_init() argument
314 synproxy_proc_exit(struct net * net) synproxy_proc_exit() argument
319 synproxy_proc_init(struct net * net) synproxy_proc_init() argument
324 synproxy_proc_exit(struct net * net) synproxy_proc_exit() argument
330 synproxy_net_init(struct net * net) synproxy_net_init() argument
366 synproxy_net_exit(struct net * net) synproxy_net_exit() argument
396 synproxy_build_ip(struct net * net,struct sk_buff * skb,__be32 saddr,__be32 daddr) synproxy_build_ip() argument
418 synproxy_send_tcp(struct net * net,const struct sk_buff * skb,struct sk_buff * nskb,struct nf_conntrack * nfct,enum ip_conntrack_info ctinfo,struct iphdr * niph,struct tcphdr * nth,unsigned int tcp_hdr_size) synproxy_send_tcp() argument
447 synproxy_send_client_synack(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts) synproxy_send_client_synack() argument
490 synproxy_send_server_syn(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts,u32 recv_seq) synproxy_send_server_syn() argument
535 synproxy_send_server_ack(struct net * net,const struct ip_ct_tcp * state,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts) synproxy_send_server_ack() argument
574 synproxy_send_client_ack(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts) synproxy_send_client_ack() argument
613 synproxy_recv_client_ack(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,struct synproxy_options * opts,u32 recv_seq) synproxy_recv_client_ack() argument
642 struct net *net = nhs->net; ipv4_synproxy_hook() local
767 nf_synproxy_ipv4_init(struct synproxy_net * snet,struct net * net) nf_synproxy_ipv4_init() argument
783 nf_synproxy_ipv4_fini(struct synproxy_net * snet,struct net * net) nf_synproxy_ipv4_fini() argument
794 synproxy_build_ip_ipv6(struct net * net,struct sk_buff * skb,const struct in6_addr * saddr,const struct in6_addr * daddr) synproxy_build_ip_ipv6() argument
812 synproxy_send_tcp_ipv6(struct net * net,const struct sk_buff * skb,struct sk_buff * nskb,struct nf_conntrack * nfct,enum ip_conntrack_info ctinfo,struct ipv6hdr * niph,struct tcphdr * nth,unsigned int tcp_hdr_size) synproxy_send_tcp_ipv6() argument
859 synproxy_send_client_synack_ipv6(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts) synproxy_send_client_synack_ipv6() argument
904 synproxy_send_server_syn_ipv6(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts,u32 recv_seq) synproxy_send_server_syn_ipv6() argument
949 synproxy_send_server_ack_ipv6(struct net * net,const struct ip_ct_tcp * state,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts) synproxy_send_server_ack_ipv6() argument
989 synproxy_send_client_ack_ipv6(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts) synproxy_send_client_ack_ipv6() argument
1029 synproxy_recv_client_ack_ipv6(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,struct synproxy_options * opts,u32 recv_seq) synproxy_recv_client_ack_ipv6() argument
1059 struct net *net = nhs->net; ipv6_synproxy_hook() local
1191 nf_synproxy_ipv6_init(struct synproxy_net * snet,struct net * net) nf_synproxy_ipv6_init() argument
1208 nf_synproxy_ipv6_fini(struct synproxy_net * snet,struct net * net) nf_synproxy_ipv6_fini() argument
[all...]
H A Dnf_log.c45 int nf_log_set(struct net *net, u_int8_t pf, const struct nf_logger *logger) in nf_log_set()
63 void nf_log_unset(struct net *net, const struct nf_logger *logger) in nf_log_unset()
154 int nf_log_bind_pf(struct net *net, u_int8_t pf, in nf_log_bind_pf()
170 void nf_log_unbind_pf(struct net *net, u_int8_t pf) in nf_log_unbind_pf()
237 void nf_log_packet(struct net *net, in nf_log_packet()
266 void nf_log_trace(struct net *net, in nf_log_trace()
350 struct net *net = seq_file_net(seq); in seq_start() local
362 struct net *net = seq_file_net(s); in seq_next() local
382 struct net *net = seq_file_net(s); in seq_show() local
444 struct net *net = table->extra2; in nf_log_proc_dostring() local
[all …]
/linux/net/mctp/
H A Droute.c43 static struct mctp_sock *mctp_lookup_bind_details(struct net *net, in mctp_lookup_bind_details()
81 static struct mctp_sock *mctp_lookup_bind(struct net *net, struct sk_buff *skb) in mctp_lookup_bind()
163 static bool mctp_key_match(struct mctp_sk_key *key, unsigned int net, in mctp_key_match()
184 static struct mctp_sk_key *mctp_lookup_key(struct net *net, struct sk_buff *skb, in mctp_lookup_key()
224 unsigned int net, in mctp_key_alloc()
267 struct net *net = sock_net(&msk->sk); in mctp_key_add() local
312 static void __mctp_key_done_in(struct mctp_sk_key *key, struct net *net, in __mctp_key_done_in()
434 struct net *net = dev_net(skb->dev); in mctp_dst_input() local
689 unsigned int mctp_default_net(struct net *net) in mctp_default_net()
694 int mctp_default_net_set(struct net *net, unsigned int index) in mctp_default_net_set()
[all …]
/linux/net/smc/
H A Dsmc_pnet.c101 static int smc_pnet_remove_by_pnetid(struct net *net, char *pnet_name) in smc_pnet_remove_by_pnetid()
189 struct net *net = dev_net(ndev); in smc_pnet_add_by_ndev() local
221 struct net *net = dev_net(ndev); in smc_pnet_remove_by_ndev() local
348 static int smc_pnet_add_eth(struct smc_pnettable *pnettable, struct net *net, in smc_pnet_add_eth()
477 static int smc_pnet_enter(struct net *net, struct nlattr *tb[]) in smc_pnet_enter()
562 struct net *net = genl_info_net(info); in smc_pnet_add() local
569 struct net *net = genl_info_net(info); in smc_pnet_del() local
601 static int _smc_pnet_dump(struct net *net, struct sk_buff *skb, u32 portid, in _smc_pnet_dump()
635 struct net *net = sock_net(skb->sk); in smc_pnet_dump() local
648 struct net *net = genl_info_net(info); in smc_pnet_get() local
[all …]
/linux/net/bridge/
H A Dbr_netfilter_hooks.c91 static inline bool is_vlan_ip(const struct sk_buff *skb, const struct net *net) in is_vlan_ip()
99 const struct net *net) in is_vlan_ipv6()
107 static inline bool is_vlan_arp(const struct sk_buff *skb, const struct net *net) in is_vlan_arp()
120 static inline bool is_pppoe_ip(const struct sk_buff *skb, const struct net *net) in is_pppoe_ip()
129 const struct net *net) in is_pppoe_ipv6()
205 static int br_validate_ipv4(struct net *net, struct sk_buff *skb) in br_validate_ipv4()
275 int br_nf_pre_routing_finish_bridge(struct net *net, struct sock *sk, struct sk_buff *skb) in br_nf_pre_routing_finish_bridge()
371 static int br_nf_pre_routing_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in br_nf_pre_routing_finish()
432 const struct net *net) in brnf_get_logical_dev()
449 struct net_device *setup_pre_routing(struct sk_buff *skb, const struct net *net) in setup_pre_routing()
[all …]
/linux/fs/nfsd/
H A Dnfssvc.c207 bool nfsd_net_try_get(struct net *net) __must_hold(rcu) in nfsd_net_try_get()
214 void nfsd_net_put(struct net *net) __must_hold(rcu) in nfsd_net_put()
240 int nfsd_nrthreads(struct net *net) in nfsd_nrthreads()
349 static int nfsd_startup_net(struct net *net, const struct cred *cred) in nfsd_startup_net()
406 static void nfsd_shutdown_net(struct net *net) in nfsd_shutdown_net()
438 struct net *net = dev_net(dev); in nfsd_inetaddr_event() local
468 struct net *net = dev_net(dev); in nfsd_inet6addr_event() local
502 void nfsd_destroy_serv(struct net *net) in nfsd_destroy_serv()
571 void nfsd_shutdown_threads(struct net *net) in nfsd_shutdown_threads()
596 int nfsd_create_serv(struct net *net) in nfsd_create_serv()
[all …]
/linux/net/xfrm/
H A Dxfrm_policy.c121 possible_net_t net; member
298 struct net *net = xs_net(x); in xfrm_dst_lookup() local
428 struct xfrm_policy *xfrm_policy_alloc(struct net *net, gfp_t gfp) in xfrm_policy_alloc()
479 struct net *net = xp_net(policy); in xfrm_policy_kill() local
509 static inline unsigned int idx_hash(struct net *net, u32 index) in idx_hash()
515 static void __get_hash_thresh(struct net *net, in __get_hash_thresh()
536 static struct hlist_head *policy_hash_bysel(struct net *net, in policy_hash_bysel()
555 static struct hlist_head *policy_hash_direct(struct net *net, in policy_hash_direct()
572 static void xfrm_dst_hash_transfer(struct net *net, in xfrm_dst_hash_transfer()
629 static void xfrm_bydst_resize(struct net *net, int dir) in xfrm_bydst_resize()
[all …]
/linux/net/ipv4/
H A Dip_fragment.c87 struct net *net = q->fqdir->net; in ip4_frag_init() local
129 struct net *net; in ip_expire() local
199 static struct ipq *ip_find(struct net *net, struct iphdr *iph, in ip_find()
265 struct net *net = qp->q.fqdir->net; in ip_frag_queue() local
404 struct net *net = qp->q.fqdir->net; in ip_frag_reasm() local
473 int ip_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_defrag()
506 struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_check_defrag()
591 static int __net_init ip4_frags_ns_ctl_register(struct net *net) in ip4_frags_ns_ctl_register()
625 static void __net_exit ip4_frags_ns_ctl_unregister(struct net *net) in ip4_frags_ns_ctl_unregister()
639 static int ip4_frags_ns_ctl_register(struct net *net) in ip4_frags_ns_ctl_register()
[all …]
/linux/fs/nfs_common/
H A Dgrace.c30 locks_start_grace(struct net *net, struct lock_manager *lm) in locks_start_grace()
64 __state_in_grace(struct net *net, bool open) in __state_in_grace()
91 bool locks_in_grace(struct net *net) in locks_in_grace()
97 bool opens_in_grace(struct net *net) in opens_in_grace()
104 grace_init_net(struct net *net) in grace_init_net()
113 grace_exit_net(struct net *net) in grace_exit_net()

12345678910>>...31