/linux/include/net/ |
H A D | net_namespace.h | 61 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 266 get_net(struct net * net) get_net() argument 272 maybe_get_net(struct net * net) maybe_get_net() argument 285 put_net(struct net * net) put_net() argument 297 check_net(const struct net * net) check_net() argument 307 get_net(struct net * net) get_net() argument 312 put_net(struct net * net) put_net() argument 316 maybe_get_net(struct net * net) maybe_get_net() argument 327 check_net(const struct net * net) check_net() argument 334 net_passive_dec(struct net * net) net_passive_dec() argument 340 net_passive_inc(struct net * net) net_passive_inc() argument 346 net_initialized(const struct net * net) net_initialized() argument 351 __netns_tracker_alloc(struct net * net,netns_tracker * tracker,bool refcounted,gfp_t gfp) __netns_tracker_alloc() argument 363 netns_tracker_alloc(struct net * net,netns_tracker * tracker,gfp_t gfp) netns_tracker_alloc() argument 369 __netns_tracker_free(struct net * net,netns_tracker * tracker,bool refcounted) __netns_tracker_free() argument 379 get_net_track(struct net * net,netns_tracker * tracker,gfp_t gfp) get_net_track() argument 387 put_net_track(struct net * net,netns_tracker * tracker) put_net_track() argument 395 struct net __rcu *net; global() member 399 write_pnet(possible_net_t * pnet,struct net * net) write_pnet() argument 510 register_net_sysctl(net,path,table) global() argument 519 register_net_sysctl_sz(struct net * net,const char * path,struct ctl_table * table,size_t table_size) register_net_sysctl_sz() argument 529 rt_genid_ipv4(const struct net * net) rt_genid_ipv4() argument 535 rt_genid_ipv6(const struct net * net) rt_genid_ipv6() argument 541 rt_genid_bump_ipv4(struct net * net) rt_genid_bump_ipv4() argument 547 rt_genid_bump_ipv6(struct net * net) rt_genid_bump_ipv6() argument 555 net_ieee802154_lowpan(struct net * net) net_ieee802154_lowpan() argument 562 rt_genid_bump_all(struct net * net) rt_genid_bump_all() argument 568 fnhe_genid(const struct net * net) fnhe_genid() argument 573 fnhe_genid_bump(struct net * net) fnhe_genid_bump() argument [all...] |
/linux/include/linux/ |
H A D | rtnetlink.h | 14 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/core/ |
H A D | net_namespace.c | 84 static int net_assign_generic(struct net *net, unsigned int id, void *data) in net_assign_generic() 121 static int ops_init(const struct pernet_operations *ops, struct net *net) in ops_init() 158 struct net *net; in ops_pre_exit_list() local 172 struct net *net; in ops_exit_rtnl_list() local 197 struct net *net; in ops_exit_list() local 212 struct net *net; in ops_free_list() local 271 static int alloc_netid(struct net *net, struct net *peer, int reqid) in alloc_netid() 289 static int net_eq_idr(int id, void *net, void *peer) in net_eq_idr() 297 static int __peernet2id(const struct net *net, struct net *peer) in __peernet2id() 315 int peernet2id_alloc(struct net *net, struct net *peer, gfp_t gfp) in peernet2id_alloc() [all …]
|
/linux/net/tipc/ |
H A D | bcast.c | 77 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 D | bearer.c | 62 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 D | net.c | 111 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() 151 void tipc_net_stop(struct net *net) in tipc_net_stop() 164 static int __tipc_nl_add_net(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_add_net() 202 struct net *net = sock_net(skb->sk); in tipc_nl_net_dump() local 228 struct net *net = sock_net(skb->sk); in __tipc_nl_net_set() local 291 static int __tipc_nl_addr_legacy_get(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_addr_legacy_get() 325 struct net *net = sock_net(skb->sk); in tipc_nl_net_addr_legacy_get() local
|
/linux/net/sctp/ |
H A D | sm_statefuns.c | 232 enum sctp_disposition sctp_sf_do_4_C(struct net *net, in sctp_sf_do_4_C() 317 enum sctp_disposition sctp_sf_do_5_1B_init(struct net *net, in sctp_sf_do_5_1B_init() 517 enum sctp_disposition sctp_sf_do_5_1C_ack(struct net *net, in sctp_sf_do_5_1C_ack() 636 static bool sctp_auth_chunk_verify(struct net *net, struct sctp_chunk *chunk, in sctp_auth_chunk_verify() 699 enum sctp_disposition sctp_sf_do_5_1D_ce(struct net *net, in sctp_sf_do_5_1D_ce() 920 enum sctp_disposition sctp_sf_do_5_1E_ca(struct net *net, in sctp_sf_do_5_1E_ca() 1039 enum sctp_disposition sctp_sf_sendbeat_8_3(struct net *net, in sctp_sf_sendbeat_8_3() 1087 enum sctp_disposition sctp_sf_send_reconf(struct net *net, in sctp_sf_send_reconf() 1116 enum sctp_disposition sctp_sf_send_probe(struct net *net, in sctp_sf_send_probe() 1164 enum sctp_disposition sctp_sf_beat_8_3(struct net *net, in sctp_sf_beat_8_3() [all …]
|
/linux/net/ipv4/ |
H A D | fib_frontend.c | 52 fib4_rules_init(struct net * net) fib4_rules_init() argument 76 fib_new_table(struct net * net,u32 id) fib_new_table() argument 112 fib_get_table(struct net * net,u32 id) fib_get_table() argument 132 fib_replace_table(struct net * net,struct fib_table * old,struct fib_table * new) fib_replace_table() argument 152 fib_unmerge(struct net * net) fib_unmerge() argument 184 fib_flush(struct net * net) fib_flush() argument 206 __inet_dev_addr_type(struct net * net,const struct net_device * dev,__be32 addr,u32 tb_id) __inet_dev_addr_type() argument 237 inet_addr_type_table(struct net * net,__be32 addr,u32 tb_id) inet_addr_type_table() argument 243 inet_addr_type(struct net * net,__be32 addr) inet_addr_type() argument 249 inet_dev_addr_type(struct net * net,const struct net_device * dev,__be32 addr) inet_dev_addr_type() argument 261 inet_addr_type_dev_table(struct net * net,const struct net_device * dev,__be32 addr) inet_addr_type_dev_table() argument 277 struct net *net; fib_compute_spec_dst() local 348 struct net *net = dev_net(dev); __fib_validate_source() local 433 struct net *net = dev_net(dev); fib_validate_source() local 479 rtentry_to_fib_config(struct net * net,int cmd,struct rtentry * rt,struct fib_config * cfg) rtentry_to_fib_config() argument 625 ip_rt_ioctl(struct net * net,unsigned int cmd,struct rtentry * rt) ip_rt_ioctl() argument 733 rtm_to_fib_config(struct net * net,struct sk_buff * skb,struct nlmsghdr * nlh,struct fib_config * cfg,struct netlink_ext_ack * extack) rtm_to_fib_config() argument 878 struct net *net = sock_net(skb->sk); inet_rtm_delroute() local 912 struct net *net = sock_net(skb->sk); inet_rtm_newroute() local 939 ip_valid_fib_dump_req(struct net * net,const struct nlmsghdr * nlh,struct fib_dump_filter * filter,struct netlink_callback * cb) ip_valid_fib_dump_req() argument 1025 struct net *net = sock_net(skb->sk); inet_dump_fib() local 1101 struct net *net = dev_net(ifa->ifa_dev->dev); fib_magic() local 1368 nl_fib_lookup(struct net * net,struct fib_result_nl * frn) nl_fib_lookup() argument 1405 struct net *net; nl_fib_input() local 1431 nl_fib_lookup_init(struct net * net) nl_fib_lookup_init() argument 1445 nl_fib_lookup_exit(struct net * net) nl_fib_lookup_exit() argument 1465 struct net *net = dev_net(dev); fib_inetaddr_event() local 1498 struct net *net = dev_net(dev); fib_netdev_event() local 1559 ip_fib_net_init(struct net * net) ip_fib_net_init() argument 1595 ip_fib_net_exit(struct net * net) ip_fib_net_exit() argument 1629 fib_net_init(struct net * net) fib_net_init() argument 1665 fib_net_exit(struct net * net) fib_net_exit() argument 1673 struct net *net; fib_net_exit_batch() local [all...] |
H A D | ipmr.c | 118 #define ipmr_for_each_table(mrt, net) \ argument 123 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter() 140 static struct mr_table *__ipmr_get_table(struct net *net, u32 id) in __ipmr_get_table() 151 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table() 161 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup() 249 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init() 283 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit() 295 static int ipmr_rules_dump(struct net *net, struct notifier_block *nb, in ipmr_rules_dump() 301 static unsigned int ipmr_rules_seq_read(const struct net *net) in ipmr_rules_seq_read() 312 #define ipmr_for_each_table(mrt, net) \ argument [all …]
|
H A D | ip_input.c | 154 struct net *net = dev_net(dev); in ip_call_ra_chain() local 187 void ip_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int protocol) in ip_protocol_deliver_rcu() 227 static int ip_local_deliver_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_local_deliver_finish() 247 struct net *net = dev_net(skb->dev); in ip_local_deliver() local 317 static int ip_rcv_finish_core(struct net *net, in ip_rcv_finish_core() 434 static int ip_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_rcv_finish() 455 static struct sk_buff *ip_rcv_core(struct sk_buff *skb, struct net *net) in ip_rcv_core() 562 struct net *net = dev_net(dev); in ip_rcv() local 583 static struct sk_buff *ip_extract_route_hint(const struct net *net, in ip_extract_route_hint() 593 static void ip_list_rcv_finish(struct net *net, struct list_head *head) in ip_list_rcv_finish() [all …]
|
H A D | ip_fragment.c | 87 struct net *net = q->fqdir->net; in ip4_frag_init() local 129 struct net *net; in ip_expire() local 197 static struct ipq *ip_find(struct net *net, struct iphdr *iph, in ip_find() 269 struct net *net = qp->q.fqdir->net; in ip_frag_queue() local 408 struct net *net = qp->q.fqdir->net; in ip_frag_reasm() local 477 int ip_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_defrag() 508 struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_check_defrag() 593 static int __net_init ip4_frags_ns_ctl_register(struct net *net) in ip4_frags_ns_ctl_register() 627 static void __net_exit ip4_frags_ns_ctl_unregister(struct net *net) in ip4_frags_ns_ctl_unregister() 641 static int ip4_frags_ns_ctl_register(struct net *net) in ip4_frags_ns_ctl_register() [all …]
|
/linux/net/ipv6/ |
H A D | ip6_fib.c | 44 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 D | ip6mr.c | 106 #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 D | reassembly.c | 85 fq_find(struct net *net, __be32 id, const struct ipv6hdr *hdr, int iif) in fq_find() 111 struct net *net = dev_net(skb_dst(skb)->dev); in ip6_frag_queue() local 261 struct net *net = fq->q.fqdir->net; in ip6_frag_reasm() local 330 struct net *net = dev_net(skb_dst(skb)->dev); 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 D | addrconf_core.c | 132 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 D | ip6_input.c | 48 static void ip6_rcv_finish_core(struct net *net, struct sock *sk, in ip6_rcv_finish_core() 69 int ip6_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_rcv_finish() 99 static struct sk_buff *ip6_extract_route_hint(const struct net *net, in ip6_extract_route_hint() 109 static void ip6_list_rcv_finish(struct net *net, struct sock *sk, in ip6_list_rcv_finish() 149 struct net *net) in ip6_rcv_core() 304 struct net *net = dev_net(skb->dev); in ipv6_rcv() local 315 struct net *net) in ip6_sublist_rcv() 333 struct net *net = dev_net(dev); in ipv6_list_rcv() local 361 void ip6_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int nexthdr, in ip6_protocol_deliver_rcu() 477 static int ip6_input_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_input_finish()
|
/linux/kernel/bpf/ |
H A D | net_namespace.c | 22 struct net *net; member 56 static void netns_bpf_run_array_detach(struct net *net, in netns_bpf_run_array_detach() 66 static int link_index(struct net *net, enum netns_bpf_attach_type type, in link_index() 80 static int link_count(struct net *net, enum netns_bpf_attach_type type) in link_count() 90 static void fill_prog_array(struct net *net, enum netns_bpf_attach_type type, in fill_prog_array() 108 struct net *net; in bpf_netns_link_release() local 172 struct net *net; in bpf_netns_link_update_prog() local 210 struct net *net; in bpf_netns_link_fill_info() local 248 struct net *net, in __netns_bpf_prog_query() 275 struct net *net; in netns_bpf_prog_query() local [all …]
|
/linux/net/netfilter/ |
H A D | nf_synproxy_core.c | 306 static int __net_init synproxy_proc_init(struct net *net) in synproxy_proc_init() 314 static void __net_exit synproxy_proc_exit(struct net *net) in synproxy_proc_exit() 319 static int __net_init synproxy_proc_init(struct net *net) in synproxy_proc_init() 324 static void __net_exit synproxy_proc_exit(struct net *net) in synproxy_proc_exit() 330 static int __net_init synproxy_net_init(struct net *net) in synproxy_net_init() 366 static void __net_exit synproxy_net_exit(struct net *net) in synproxy_net_exit() 396 synproxy_build_ip(struct net *net, struct sk_buff *skb, __be32 saddr, in synproxy_build_ip() 418 synproxy_send_tcp(struct net *net, in synproxy_send_tcp() 447 synproxy_send_client_synack(struct net *net, in synproxy_send_client_synack() 490 synproxy_send_server_syn(struct net *net, in synproxy_send_server_syn() [all …]
|
H A D | nf_log.c | 45 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() 128 int nf_log_bind_pf(struct net *net, u_int8_t pf, in nf_log_bind_pf() 144 void nf_log_unbind_pf(struct net *net, u_int8_t pf) in nf_log_unbind_pf() 211 void nf_log_packet(struct net *net, in nf_log_packet() 240 void nf_log_trace(struct net *net, in nf_log_trace() 324 struct net *net = seq_file_net(seq); in seq_start() local 336 struct net *net = seq_file_net(s); in seq_next() local 356 struct net *net = seq_file_net(s); in seq_show() local 418 struct net *net = table->extra2; in nf_log_proc_dostring() local [all …]
|
H A D | nf_conntrack_standalone.c | 296 struct net *net = seq_file_net(s); ct_seq_show() local 388 struct net *net = seq_file_net(seq); ct_cpu_seq_start() local 406 struct net *net = seq_file_net(seq); ct_cpu_seq_next() local 425 struct net *net = seq_file_net(seq); ct_cpu_seq_show() local 467 nf_conntrack_standalone_init_proc(struct net * net) nf_conntrack_standalone_init_proc() argument 495 nf_conntrack_standalone_fini_proc(struct net * net) nf_conntrack_standalone_fini_proc() argument 501 nf_conntrack_standalone_init_proc(struct net * net) nf_conntrack_standalone_init_proc() argument 506 nf_conntrack_standalone_fini_proc(struct net * net) nf_conntrack_standalone_fini_proc() argument 511 nf_conntrack_count(const struct net * net) nf_conntrack_count() argument 960 nf_conntrack_standalone_init_tcp_sysctl(struct net * net,struct ctl_table * table) nf_conntrack_standalone_init_tcp_sysctl() argument 995 nf_conntrack_standalone_init_sctp_sysctl(struct net * net,struct ctl_table * table) nf_conntrack_standalone_init_sctp_sysctl() argument 1017 nf_conntrack_standalone_init_dccp_sysctl(struct net * net,struct ctl_table * table) nf_conntrack_standalone_init_dccp_sysctl() argument 1040 nf_conntrack_standalone_init_gre_sysctl(struct net * net,struct ctl_table * table) nf_conntrack_standalone_init_gre_sysctl() argument 1051 nf_conntrack_standalone_init_sysctl(struct net * net) nf_conntrack_standalone_init_sysctl() argument 1108 nf_conntrack_standalone_fini_sysctl(struct net * net) nf_conntrack_standalone_fini_sysctl() argument 1118 nf_conntrack_standalone_init_sysctl(struct net * net) nf_conntrack_standalone_init_sysctl() argument 1123 nf_conntrack_standalone_fini_sysctl(struct net * net) nf_conntrack_standalone_fini_sysctl() argument 1128 nf_conntrack_fini_net(struct net * net) nf_conntrack_fini_net() argument 1137 nf_conntrack_pernet_init(struct net * net) nf_conntrack_pernet_init() argument 1174 struct net *net; nf_conntrack_pernet_exit() local [all...] |
/linux/drivers/rapidio/ |
H A D | rio-scan.c | 56 static u16 rio_destid_alloc(struct rio_net *net) in rio_destid_alloc() 82 static int rio_destid_reserve(struct rio_net *net, u16 destid) in rio_destid_reserve() 101 static void rio_destid_free(struct rio_net *net, u16 destid) in rio_destid_free() 115 static u16 rio_destid_first(struct rio_net *net) in rio_destid_first() 135 static u16 rio_destid_next(struct rio_net *net, u16 from) in rio_destid_next() 191 static int rio_clear_locks(struct rio_net *net) in rio_clear_locks() 322 static struct rio_dev *rio_setup_device(struct rio_net *net, in rio_setup_device() 526 static int rio_enum_peer(struct rio_net *net, struct rio_mport *port, in rio_enum_peer() 730 rio_disc_peer(struct rio_net *net, struct rio_mport *port, u16 destid, in rio_disc_peer() 812 static void rio_scan_release_net(struct rio_net *net) in rio_scan_release_net() [all …]
|
/linux/net/smc/ |
H A D | smc_pnet.c | 101 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 345 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/mptcp/ |
H A D | ctrl.c | 45 static struct mptcp_pernet *mptcp_get_pernet(const struct net *net) in mptcp_get_pernet() 50 int mptcp_is_enabled(const struct net *net) in mptcp_is_enabled() 55 unsigned int mptcp_get_add_addr_timeout(const struct net *net) in mptcp_get_add_addr_timeout() 60 int mptcp_is_checksum_enabled(const struct net *net) in mptcp_is_checksum_enabled() 65 int mptcp_allow_join_id0(const struct net *net) in mptcp_allow_join_id0() 70 unsigned int mptcp_stale_loss_cnt(const struct net *net) in mptcp_stale_loss_cnt() 82 int mptcp_get_pm_type(const struct net *net) in mptcp_get_pm_type() 87 const char *mptcp_get_path_manager(const struct net *net) in mptcp_get_path_manager() 92 const char *mptcp_get_scheduler(const struct net *net) in mptcp_get_scheduler() 367 static int mptcp_pernet_new_table(struct net *net, struct mptcp_pernet *pernet) in mptcp_pernet_new_table() [all …]
|
/linux/net/xfrm/ |
H A D | xfrm_policy.c | 121 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/fs/nfs_common/ |
H A D | grace.c | 30 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()
|