/net/tipc/ |
D | bcast.c | 65 static struct tipc_bc_base *tipc_bc_base(struct net *net) in tipc_bc_base() 70 int tipc_bcast_get_mtu(struct net *net) in tipc_bcast_get_mtu() 78 static void tipc_bcbase_select_primary(struct net *net) in tipc_bcbase_select_primary() 108 void tipc_bcast_inc_bearer_dst_cnt(struct net *net, int bearer_id) in tipc_bcast_inc_bearer_dst_cnt() 118 void tipc_bcast_dec_bearer_dst_cnt(struct net *net, int bearer_id) in tipc_bcast_dec_bearer_dst_cnt() 138 static void tipc_bcbase_xmit(struct net *net, struct sk_buff_head *xmitq) in tipc_bcbase_xmit() 180 int tipc_bcast_xmit(struct net *net, struct sk_buff_head *list) in tipc_bcast_xmit() 216 int tipc_bcast_rcv(struct net *net, struct tipc_link *l, struct sk_buff *skb) in tipc_bcast_rcv() 250 void tipc_bcast_ack_rcv(struct net *net, struct tipc_link *l, in tipc_bcast_ack_rcv() 278 int tipc_bcast_sync_rcv(struct net *net, struct tipc_link *l, in tipc_bcast_sync_rcv() [all …]
|
D | name_distr.c | 68 static struct sk_buff *named_prepare_buf(struct net *net, u32 type, u32 size, in named_prepare_buf() 87 struct sk_buff *tipc_named_publish(struct net *net, struct publication *publ) in tipc_named_publish() 113 struct sk_buff *tipc_named_withdraw(struct net *net, struct publication *publ) in tipc_named_withdraw() 140 static void named_distribute(struct net *net, struct sk_buff_head *list, in named_distribute() 185 void tipc_named_node_up(struct net *net, u32 dnode) in tipc_named_node_up() 208 static void tipc_publ_purge(struct net *net, struct publication *publ, u32 addr) in tipc_publ_purge() 233 static void tipc_dist_queue_purge(struct net *net, u32 addr) in tipc_dist_queue_purge() 248 void tipc_publ_notify(struct net *net, struct list_head *nsub_list, u32 addr) in tipc_publ_notify() 264 static bool tipc_update_nametbl(struct net *net, struct distr_item *i, in tipc_update_nametbl() 299 static void tipc_named_add_backlog(struct net *net, struct distr_item *i, in tipc_named_add_backlog() [all …]
|
D | bearer.c | 60 static struct tipc_bearer *bearer_get(struct net *net, int bearer_id) in bearer_get() 168 struct tipc_bearer *tipc_bearer_find(struct net *net, const char *name) in tipc_bearer_find() 187 int tipc_bearer_get_name(struct net *net, char *name, u32 bearer_id) in tipc_bearer_get_name() 203 void tipc_bearer_add_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_add_dest() 215 void tipc_bearer_remove_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_remove_dest() 230 static int tipc_enable_bearer(struct net *net, const char *name, in tipc_enable_bearer() 363 static int tipc_reset_bearer(struct net *net, struct tipc_bearer *b) in tipc_reset_bearer() 373 void tipc_bearer_reset_all(struct net *net) in tipc_bearer_reset_all() 400 static void bearer_disable(struct net *net, struct tipc_bearer *b) in bearer_disable() 417 int tipc_enable_l2_media(struct net *net, struct tipc_bearer *b, in tipc_enable_l2_media() [all …]
|
D | net.c | 107 int tipc_net_start(struct net *net, u32 addr) in tipc_net_start() 130 void tipc_net_stop(struct net *net) in tipc_net_stop() 147 static int __tipc_nl_add_net(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_add_net() 180 struct net *net = sock_net(skb->sk); in tipc_nl_net_dump() local 205 struct net *net = sock_net(skb->sk); in tipc_nl_net_set() local
|
/net/core/ |
D | net_namespace.c | 58 static int net_assign_generic(struct net *net, int id, void *data) in net_assign_generic() 95 static int ops_init(const struct pernet_operations *ops, struct net *net) in ops_init() 122 static void ops_free(const struct pernet_operations *ops, struct net *net) in ops_free() 133 struct net *net; in ops_exit_list() local 145 struct net *net; in ops_free_list() local 153 static int alloc_netid(struct net *net, struct net *peer, int reqid) in alloc_netid() 171 static int net_eq_idr(int id, void *net, void *peer) in net_eq_idr() 182 static int __peernet2id_alloc(struct net *net, struct net *peer, bool *alloc) in __peernet2id_alloc() 205 static int __peernet2id(struct net *net, struct net *peer) in __peernet2id() 216 int peernet2id_alloc(struct net *net, struct net *peer) in peernet2id_alloc() [all …]
|
/net/sctp/ |
D | sm_statefuns.c | 217 sctp_disposition_t sctp_sf_do_4_C(struct net *net, in sctp_sf_do_4_C() 303 sctp_disposition_t sctp_sf_do_5_1B_init(struct net *net, in sctp_sf_do_5_1B_init() 499 sctp_disposition_t sctp_sf_do_5_1C_ack(struct net *net, in sctp_sf_do_5_1C_ack() 649 sctp_disposition_t sctp_sf_do_5_1D_ce(struct net *net, in sctp_sf_do_5_1D_ce() 875 sctp_disposition_t sctp_sf_do_5_1E_ca(struct net *net, in sctp_sf_do_5_1E_ca() 978 sctp_disposition_t sctp_sf_sendbeat_8_3(struct net *net, in sctp_sf_sendbeat_8_3() 1049 sctp_disposition_t sctp_sf_beat_8_3(struct net *net, in sctp_sf_beat_8_3() 1123 sctp_disposition_t sctp_sf_backbeat_8_3(struct net *net, in sctp_sf_backbeat_8_3() 1200 static int sctp_sf_send_restart_abort(struct net *net, union sctp_addr *ssa, in sctp_sf_send_restart_abort() 1269 struct net *net = sock_net(new_asoc->base.sk); in sctp_sf_check_restart_addrs() local [all …]
|
D | input.c | 79 static inline int sctp_rcv_checksum(struct net *net, struct sk_buff *skb) in sctp_rcv_checksum() 108 struct net *net = dev_net(skb->dev); in sctp_rcv() local 455 struct net *net = sock_net(sk); in sctp_icmp_proto_unreachable() local 471 struct sock *sctp_err_lookup(struct net *net, int family, struct sk_buff *skb, in sctp_err_lookup() 583 struct net *net = dev_net(skb->dev); in sctp_v4_err() local 719 struct net *net = sock_net(ep->base.sk); in __sctp_hash_endpoint() local 744 struct net *net = sock_net(ep->base.sk); in __sctp_unhash_endpoint() local 768 static struct sctp_endpoint *__sctp_rcv_lookup_endpoint(struct net *net, in __sctp_rcv_lookup_endpoint() 798 const struct net *net; member 838 const struct net *net = sock_net(t->asoc->base.sk); in sctp_hash_obj() local [all …]
|
/net/ipv4/ |
D | fib_frontend.c | 54 static int __net_init fib4_rules_init(struct net *net) in fib4_rules_init() 78 struct fib_table *fib_new_table(struct net *net, u32 id) in fib_new_table() 114 struct fib_table *fib_get_table(struct net *net, u32 id) in fib_get_table() 133 static void fib_replace_table(struct net *net, struct fib_table *old, in fib_replace_table() 153 int fib_unmerge(struct net *net) in fib_unmerge() 185 static void fib_flush(struct net *net) in fib_flush() 207 static inline unsigned int __inet_dev_addr_type(struct net *net, in __inet_dev_addr_type() 236 unsigned int inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id) in inet_addr_type_table() 242 unsigned int inet_addr_type(struct net *net, __be32 addr) in inet_addr_type() 248 unsigned int inet_dev_addr_type(struct net *net, const struct net_device *dev, in inet_dev_addr_type() [all …]
|
D | ipmr.c | 116 #define ipmr_for_each_table(mrt, net) \ argument 119 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table() 130 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup() 217 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init() 249 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit() 262 #define ipmr_for_each_table(mrt, net) \ argument 265 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table() 270 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup() 277 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init() 288 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit() [all …]
|
D | xfrm4_policy.c | 22 static struct dst_entry *__xfrm4_dst_lookup(struct net *net, struct flowi4 *fl4, in __xfrm4_dst_lookup() 47 static struct dst_entry *xfrm4_dst_lookup(struct net *net, int tos, int oif, in xfrm4_dst_lookup() 57 static int xfrm4_get_saddr(struct net *net, int oif, in xfrm4_get_saddr() 224 struct net *net = container_of(ops, struct net, xfrm.xfrm4_dst_ops); in xfrm4_garbage_collect() local 302 static __net_init int xfrm4_net_sysctl_init(struct net *net) in xfrm4_net_sysctl_init() 330 static __net_exit void xfrm4_net_sysctl_exit(struct net *net) in xfrm4_net_sysctl_exit() 343 static inline int xfrm4_net_sysctl_init(struct net *net) in xfrm4_net_sysctl_init() 348 static inline void xfrm4_net_sysctl_exit(struct net *net) in xfrm4_net_sysctl_exit() 353 static int __net_init xfrm4_net_init(struct net *net) in xfrm4_net_init() 370 static void __net_exit xfrm4_net_exit(struct net *net) in xfrm4_net_exit()
|
/net/netfilter/ |
D | nf_conntrack_ecache.c | 124 struct net *net = nf_ct_net(ct); in nf_conntrack_eventmask_report() local 180 struct net *net = nf_ct_net(ct); in nf_ct_deliver_cached_events() local 235 struct net *net = nf_ct_exp_net(exp); in nf_ct_expect_event_report() local 260 int nf_conntrack_register_notifier(struct net *net, in nf_conntrack_register_notifier() 282 void nf_conntrack_unregister_notifier(struct net *net, in nf_conntrack_unregister_notifier() 297 int nf_ct_expect_register_notifier(struct net *net, in nf_ct_expect_register_notifier() 319 void nf_ct_expect_unregister_notifier(struct net *net, in nf_ct_expect_unregister_notifier() 357 static int nf_conntrack_event_init_sysctl(struct net *net) in nf_conntrack_event_init_sysctl() 386 static void nf_conntrack_event_fini_sysctl(struct net *net) in nf_conntrack_event_fini_sysctl() 395 static int nf_conntrack_event_init_sysctl(struct net *net) in nf_conntrack_event_init_sysctl() [all …]
|
D | nf_conntrack_timestamp.c | 43 static int nf_conntrack_tstamp_init_sysctl(struct net *net) in nf_conntrack_tstamp_init_sysctl() 72 static void nf_conntrack_tstamp_fini_sysctl(struct net *net) in nf_conntrack_tstamp_fini_sysctl() 81 static int nf_conntrack_tstamp_init_sysctl(struct net *net) in nf_conntrack_tstamp_init_sysctl() 86 static void nf_conntrack_tstamp_fini_sysctl(struct net *net) in nf_conntrack_tstamp_fini_sysctl() 91 int nf_conntrack_tstamp_pernet_init(struct net *net) in nf_conntrack_tstamp_pernet_init() 97 void nf_conntrack_tstamp_pernet_fini(struct net *net) in nf_conntrack_tstamp_pernet_fini()
|
D | nf_conntrack_acct.c | 65 static int nf_conntrack_acct_init_sysctl(struct net *net) in nf_conntrack_acct_init_sysctl() 94 static void nf_conntrack_acct_fini_sysctl(struct net *net) in nf_conntrack_acct_fini_sysctl() 103 static int nf_conntrack_acct_init_sysctl(struct net *net) in nf_conntrack_acct_init_sysctl() 108 static void nf_conntrack_acct_fini_sysctl(struct net *net) in nf_conntrack_acct_fini_sysctl() 113 int nf_conntrack_acct_pernet_init(struct net *net) in nf_conntrack_acct_pernet_init() 119 void nf_conntrack_acct_pernet_fini(struct net *net) in nf_conntrack_acct_pernet_fini()
|
D | nf_log.c | 41 int nf_log_set(struct net *net, u_int8_t pf, const struct nf_logger *logger) in nf_log_set() 59 void nf_log_unset(struct net *net, const struct nf_logger *logger) in nf_log_unset() 125 int nf_log_bind_pf(struct net *net, u_int8_t pf, in nf_log_bind_pf() 141 void nf_log_unbind_pf(struct net *net, u_int8_t pf) in nf_log_unbind_pf() 212 void nf_log_packet(struct net *net, in nf_log_packet() 241 void nf_log_trace(struct net *net, in nf_log_trace() 325 struct net *net = seq_file_net(seq); in seq_start() local 337 struct net *net = seq_file_net(s); in seq_next() local 357 struct net *net = seq_file_net(s); in seq_show() local 424 struct net *net = table->extra2; in nf_log_proc_dostring() local [all …]
|
D | nf_conntrack_proto.c | 39 nf_ct_register_sysctl(struct net *net, in nf_ct_register_sysctl() 193 int nf_ct_l3proto_pernet_register(struct net *net, in nf_ct_l3proto_pernet_register() 224 void nf_ct_l3proto_pernet_unregister(struct net *net, in nf_ct_l3proto_pernet_unregister() 232 static struct nf_proto_net *nf_ct_l4proto_net(struct net *net, in nf_ct_l4proto_net() 246 int nf_ct_l4proto_register_sysctl(struct net *net, in nf_ct_l4proto_register_sysctl() 270 void nf_ct_l4proto_unregister_sysctl(struct net *net, in nf_ct_l4proto_unregister_sysctl() 340 int nf_ct_l4proto_pernet_register(struct net *net, in nf_ct_l4proto_pernet_register() 383 void nf_ct_l4proto_pernet_unregister(struct net *net, in nf_ct_l4proto_pernet_unregister() 400 int nf_conntrack_proto_pernet_init(struct net *net) in nf_conntrack_proto_pernet_init() 420 void nf_conntrack_proto_pernet_fini(struct net *net) in nf_conntrack_proto_pernet_fini()
|
D | nf_conntrack_proto_gre.c | 64 static inline struct netns_proto_gre *gre_pernet(struct net *net) in gre_pernet() 69 static void nf_ct_gre_keymap_flush(struct net *net) in nf_ct_gre_keymap_flush() 93 static __be16 gre_keymap_lookup(struct net *net, struct nf_conntrack_tuple *t) in gre_keymap_lookup() 118 struct net *net = nf_ct_net(ct); in nf_ct_gre_keymap_add() local 159 struct net *net = nf_ct_net(ct); in nf_ct_gre_keymap_destroy() local 193 struct net *net, struct nf_conntrack_tuple *tuple) in gre_pkt_to_tuple() 244 static unsigned int *gre_get_timeouts(struct net *net) in gre_get_timeouts() 307 struct net *net, void *data) in gre_timeout_nlattr_to_obj() 350 static int gre_init_net(struct net *net, u_int16_t proto) in gre_init_net() 396 static int proto_gre_net_init(struct net *net) in proto_gre_net_init() [all …]
|
D | core.c | 68 static struct nf_hook_entry __rcu **nf_hook_entry_head(struct net *net, const struct nf_hook_ops *r… in nf_hook_entry_head() 82 int nf_register_net_hook(struct net *net, const struct nf_hook_ops *reg) in nf_register_net_hook() 132 void nf_unregister_net_hook(struct net *net, const struct nf_hook_ops *reg) in nf_unregister_net_hook() 169 int nf_register_net_hooks(struct net *net, const struct nf_hook_ops *reg, in nf_register_net_hooks() 189 void nf_unregister_net_hooks(struct net *net, const struct nf_hook_ops *reg, in nf_unregister_net_hooks() 201 struct net *net, *last; in _nf_register_hook() local 236 struct net *net; in _nf_unregister_hook() local 455 static int nf_register_hook_list(struct net *net) in nf_register_hook_list() 476 static void nf_unregister_hook_list(struct net *net) in nf_unregister_hook_list() 486 static int __net_init netfilter_net_init(struct net *net) in netfilter_net_init() [all …]
|
D | nfnetlink_cttimeout.c | 51 struct net *net, const struct nlattr *attr) in ctnl_timeout_parse_policy() 68 static int cttimeout_new_timeout(struct net *net, struct sock *ctnl, in cttimeout_new_timeout() 206 struct net *net = sock_net(skb->sk); in ctnl_timeout_dump() local 238 static int cttimeout_get_timeout(struct net *net, struct sock *ctnl, in cttimeout_get_timeout() 299 static void ctnl_untimeout(struct net *net, struct ctnl_timeout *timeout) in ctnl_untimeout() 335 static int ctnl_timeout_try_del(struct net *net, struct ctnl_timeout *timeout) in ctnl_timeout_try_del() 354 static int cttimeout_del_timeout(struct net *net, struct sock *ctnl, in cttimeout_del_timeout() 385 static int cttimeout_default_set(struct net *net, struct sock *ctnl, in cttimeout_default_set() 426 cttimeout_default_fill_info(struct net *net, struct sk_buff *skb, u32 portid, in cttimeout_default_fill_info() 474 static int cttimeout_default_get(struct net *net, struct sock *ctnl, in cttimeout_default_get() [all …]
|
D | nf_conntrack_standalone.c | 208 struct net *net = seq_file_net(s); in ct_seq_show() local 311 struct net *net = seq_file_net(seq); in ct_cpu_seq_start() local 329 struct net *net = seq_file_net(seq); in ct_cpu_seq_next() local 348 struct net *net = seq_file_net(seq); in ct_cpu_seq_show() local 402 static int nf_conntrack_standalone_init_proc(struct net *net) in nf_conntrack_standalone_init_proc() 429 static void nf_conntrack_standalone_fini_proc(struct net *net) in nf_conntrack_standalone_fini_proc() 435 static int nf_conntrack_standalone_init_proc(struct net *net) in nf_conntrack_standalone_init_proc() 440 static void nf_conntrack_standalone_fini_proc(struct net *net) in nf_conntrack_standalone_fini_proc() 534 static int nf_conntrack_standalone_init_sysctl(struct net *net) in nf_conntrack_standalone_init_sysctl() 566 static void nf_conntrack_standalone_fini_sysctl(struct net *net) in nf_conntrack_standalone_fini_sysctl() [all …]
|
/net/ipv6/ |
D | ip6_fib.c | 52 struct net *net; member 79 #define FOR_WALKERS(net, w) \ argument 82 static void fib6_walker_link(struct net *net, struct fib6_walker *w) in fib6_walker_link() 89 static void fib6_walker_unlink(struct net *net, struct fib6_walker *w) in fib6_walker_unlink() 96 static int fib6_new_sernum(struct net *net) in fib6_new_sernum() 210 static void fib6_link_table(struct net *net, struct fib6_table *tb) in fib6_link_table() 231 static struct fib6_table *fib6_alloc_table(struct net *net, u32 id) in fib6_alloc_table() 246 struct fib6_table *fib6_new_table(struct net *net, u32 id) in fib6_new_table() 264 struct fib6_table *fib6_get_table(struct net *net, u32 id) in fib6_get_table() 287 static void __net_init fib6_tables_init(struct net *net) in fib6_tables_init() [all …]
|
D | xfrm6_tunnel.c | 48 static inline struct xfrm6_tunnel_net *xfrm6_tunnel_pernet(struct net *net) in xfrm6_tunnel_pernet() 87 static struct xfrm6_tunnel_spi *__xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *sa… in __xfrm6_tunnel_spi_lookup() 102 __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr) in xfrm6_tunnel_spi_lookup() 115 static int __xfrm6_tunnel_spi_check(struct net *net, u32 spi) in __xfrm6_tunnel_spi_check() 130 static u32 __xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) in __xfrm6_tunnel_alloc_spi() 173 __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) in xfrm6_tunnel_alloc_spi() 197 static void xfrm6_tunnel_free_spi(struct net *net, xfrm_address_t *saddr) in xfrm6_tunnel_free_spi() 234 struct net *net = dev_net(skb->dev); in xfrm6_tunnel_rcv() local 298 struct net *net = xs_net(x); in xfrm6_tunnel_destroy() local 325 static int __net_init xfrm6_tunnel_net_init(struct net *net) in xfrm6_tunnel_net_init() [all …]
|
D | ip6mr.c | 59 possible_net_t net; member 125 #define ip6mr_for_each_table(mrt, net) \ argument 128 static struct mr6_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table() 139 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup() 226 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init() 258 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit() 271 #define ip6mr_for_each_table(mrt, net) \ argument 274 static struct mr6_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table() 279 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup() 286 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init() [all …]
|
D | reassembly.c | 131 void ip6_expire_frag_queue(struct net *net, struct frag_queue *fq, in ip6_expire_frag_queue() 176 struct net *net; in ip6_frag_expire() local 185 fq_find(struct net *net, __be32 id, const struct in6_addr *src, in fq_find() 215 struct net *net = dev_net(skb_dst(skb)->dev); in ip6_frag_queue() local 382 struct net *net = container_of(fq->q.net, struct net, ipv6.frags); in ip6_frag_reasm() local 527 struct net *net = dev_net(skb_dst(skb)->dev); in ipv6_frag_rcv() local 630 static int __net_init ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register() 667 static void __net_exit ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister() 691 static int ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register() 696 static void ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister() [all …]
|
/net/xfrm/ |
D | xfrm_sysctl.c | 6 static void __net_init __xfrm_sysctl_init(struct net *net) in __xfrm_sysctl_init() 43 int __net_init xfrm_sysctl_init(struct net *net) in xfrm_sysctl_init() 72 void __net_exit xfrm_sysctl_fini(struct net *net) in xfrm_sysctl_fini() 81 int __net_init xfrm_sysctl_init(struct net *net) in xfrm_sysctl_init()
|
D | xfrm_policy.c | 124 static inline struct dst_entry *__xfrm_dst_lookup(struct net *net, in __xfrm_dst_lookup() 150 struct net *net = xs_net(x); in xfrm_dst_lookup() local 288 struct xfrm_policy *xfrm_policy_alloc(struct net *net, gfp_t gfp) in xfrm_policy_alloc() 355 static inline unsigned int idx_hash(struct net *net, u32 index) in idx_hash() 361 static void __get_hash_thresh(struct net *net, in __get_hash_thresh() 382 static struct hlist_head *policy_hash_bysel(struct net *net, in policy_hash_bysel() 401 static struct hlist_head *policy_hash_direct(struct net *net, in policy_hash_direct() 418 static void xfrm_dst_hash_transfer(struct net *net, in xfrm_dst_hash_transfer() 475 static void xfrm_bydst_resize(struct net *net, int dir) in xfrm_bydst_resize() 510 static void xfrm_byidx_resize(struct net *net, int total) in xfrm_byidx_resize() [all …]
|