| /linux/include/net/ |
| H A D | net_namespace.h | 61 struct net { struct 65 refcount_t passive; /* To decide when the network argument 76 struct list_head list; /* list of network namespaces */ argument 77 struct list_head exit_list; /* To linked to call pernet exit argument 78 * methods on dead net ( argument 94 struct idr netns_ids; argument 99 * refcounted against netns argument 102 struct proc_dir_entry *proc_net; argument 103 struct proc_dir_entry *proc_net_stat; argument 109 struct sock *rtnl; /* rtnetlink socket */ argument [all …]
|
| H A D | l3mdev.h | 90 static inline int l3mdev_master_ifindex_by_index(struct net *net, int ifindex) in l3mdev_master_ifindex_by_index() 135 int l3mdev_master_upper_ifindex_by_index(struct net *net, int ifindex) in l3mdev_master_upper_ifindex_by_index() 157 static inline bool netif_index_is_l3_master(struct net *net, int ifindex) in netif_index_is_l3_master() 248 static inline int l3mdev_master_ifindex_by_index(struct net *net, int ifindex) in l3mdev_master_ifindex_by_index() 254 int l3mdev_master_upper_ifindex_by_index_rcu(struct net *net, int ifindex) in l3mdev_master_upper_ifindex_by_index_rcu() 259 int l3mdev_master_upper_ifindex_by_index(struct net *net, int ifindex) in l3mdev_master_upper_ifindex_by_index() 278 static inline u32 l3mdev_fib_table_by_index(struct net *net, int ifindex) in l3mdev_fib_table_by_index() 283 static inline bool netif_index_is_l3_master(struct net *net, int ifindex) in netif_index_is_l3_master() 289 struct dst_entry *l3mdev_link_scope_lookup(struct net *net, struct flowi6 *fl6) in l3mdev_link_scope_lookup() 332 int l3mdev_ifindex_lookup_by_table_id(enum l3mdev_type l3type, struct net *net, in l3mdev_ifindex_lookup_by_table_id() [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 | 83 static int net_assign_generic(struct net *net, unsigned int id, void *data) in net_assign_generic() argument 120 ops_init(const struct pernet_operations * ops,struct net * net) ops_init() argument 157 struct net *net; ops_pre_exit_list() local 171 struct net *net; ops_exit_rtnl_list() local 196 struct net *net; ops_exit_list() local 211 struct net *net; ops_free_list() local 270 alloc_netid(struct net * net,struct net * peer,int reqid) alloc_netid() argument 288 net_eq_idr(int id,void * net,void * peer) net_eq_idr() argument 296 __peernet2id(const struct net * net,struct net * peer) __peernet2id() argument 314 peernet2id_alloc(struct net * net,struct net * peer,gfp_t gfp) peernet2id_alloc() argument 352 peernet2id(const struct net * net,struct net * peer) peernet2id() argument 367 peernet_has_id(const struct net * net,struct net * peer) peernet_has_id() argument 372 get_net_ns_by_id(const struct net * net,int id) get_net_ns_by_id() argument 389 preinit_net_sysctl(struct net * net) preinit_net_sysctl() argument 401 preinit_net(struct net * net,struct user_namespace * user_ns) preinit_net() argument 435 setup_net(struct net * net) setup_net() argument 482 struct net *net = NULL; net_alloc() local 519 struct net *net, *next; net_complete_free() local 529 net_passive_dec(struct net * net) net_passive_dec() argument 544 struct net *net = (struct net *)p; net_drop_ns() local 554 struct net *net; copy_net_ns() local 608 net_ns_get_ownership(const struct net * net,kuid_t * uid,kgid_t * gid) net_ns_get_ownership() argument 626 unhash_nsid(struct net * net,struct net * last) unhash_nsid() argument 661 struct net *net, *tmp, *last; cleanup_net() local 738 __put_net(struct net * net) __put_net() argument 755 struct net *net; get_net_ns() local 785 struct net *net; get_net_ns_by_pid() local 805 net_ns_net_debugfs(struct net * net) net_ns_net_debugfs() argument 822 net_ns_net_debugfs(struct net * net) net_ns_net_debugfs() argument 827 net_ns_net_init(struct net * net) net_ns_net_init() argument 848 struct net *net = sock_net(skb->sk); rtnl_net_newid() local 992 struct net *net = sock_net(skb->sk); rtnl_net_getid() local 1116 struct net *net; rtnl_valid_dump_net_req() local 1172 rtnl_net_notifyid(struct net * net,int cmd,int id,u32 portid,struct nlmsghdr * nlh,gfp_t gfp) rtnl_net_notifyid() argument 1305 struct net *net; __register_pernet_operations() local 1332 struct net *net; __unregister_pernet_operations() local 1508 struct net *net = NULL; netns_get() local 1528 struct net *net = to_net_ns(ns); netns_install() local [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() 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 D | name_distr.c | 67 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 D | sm_statefuns.c | 233 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/ipv6/ |
| 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 | ip6_fib.c | 44 struct net *net; global() member 75 FOR_WALKERS(net,w) global() argument 78 fib6_walker_link(struct net * net,struct fib6_walker * w) fib6_walker_link() argument 85 fib6_walker_unlink(struct net * net,struct fib6_walker * w) fib6_walker_unlink() argument 92 fib6_new_sernum(struct net * net) fib6_new_sernum() argument 107 fib6_update_sernum(struct net * net,struct fib6_info * f6i) fib6_update_sernum() argument 184 node_alloc(struct net * net) node_alloc() argument 195 node_free_immediate(struct net * net,struct fib6_node * fn) node_free_immediate() argument 201 node_free(struct net * net,struct fib6_node * fn) node_free() argument 213 fib6_link_table(struct net * net,struct fib6_table * tb) fib6_link_table() argument 233 fib6_alloc_table(struct net * net,u32 id) fib6_alloc_table() argument 250 fib6_new_table(struct net * net,u32 id) fib6_new_table() argument 282 fib6_get_table(struct net * net,u32 id) fib6_get_table() argument 303 fib6_tables_init(struct net * net) fib6_tables_init() argument 310 fib6_new_table(struct net * net,u32 id) fib6_new_table() argument 315 fib6_get_table(struct net * net,u32 id) fib6_get_table() argument 320 fib6_rule_lookup(struct net * net,struct flowi6 * fl6,const struct sk_buff * skb,int flags,pol_lookup_t lookup) fib6_rule_lookup() argument 339 fib6_lookup(struct net * net,int oif,struct flowi6 * fl6,struct fib6_result * res,int flags) fib6_lookup() argument 346 fib6_tables_init(struct net * net) fib6_tables_init() argument 353 fib6_tables_seq_read(const struct net * net) fib6_tables_seq_read() argument 398 call_fib6_entry_notifiers(struct net * net,enum fib_event_type event_type,struct fib6_info * rt,struct netlink_ext_ack * extack) call_fib6_entry_notifiers() argument 412 call_fib6_multipath_entry_notifiers(struct net * net,enum fib_event_type event_type,struct fib6_info * rt,unsigned int nsiblings,struct netlink_ext_ack * extack) call_fib6_multipath_entry_notifiers() argument 428 call_fib6_entry_notifiers_replace(struct net * net,struct fib6_info * rt) call_fib6_entry_notifiers_replace() argument 440 struct net *net; global() member 476 fib6_table_dump(struct net * net,struct fib6_table * tb,struct fib6_walker * w) fib6_table_dump() argument 489 fib6_tables_dump(struct net * net,struct notifier_block * nb,struct netlink_ext_ack * extack) fib6_tables_dump() argument 561 struct net *net = sock_net(cb->skb->sk); fib6_dump_end() local 585 struct net *net = sock_net(skb->sk); fib6_dump_table() local 636 struct net *net = sock_net(skb->sk); inet6_dump_fib() local 754 fib6_add_1(struct net * net,struct fib6_table * table,struct fib6_node * root,struct in6_addr * addr,int plen,int offset,int allow_create,int replace_required,struct netlink_ext_ack * extack) fib6_add_1() argument 1032 fib6_purge_rt(struct fib6_info * rt,struct fib6_node * fn,struct net * net) fib6_purge_rt() argument 1368 fib6_start_gc(struct net * net,struct fib6_info * rt) fib6_start_gc() argument 1376 fib6_force_start_gc(struct net * net) fib6_force_start_gc() argument 1398 fib6_update_sernum_upto_root(struct net * net,struct fib6_info * rt) fib6_update_sernum_upto_root() argument 1404 fib6_update_sernum_stub(struct net * net,struct fib6_info * f6i) fib6_update_sernum_stub() argument 1802 fib6_find_prefix(struct net * net,struct fib6_table * table,struct fib6_node * fn) fib6_find_prefix() argument 1834 fib6_repair_tree(struct net * net,struct fib6_table * table,struct fib6_node * fn) fib6_repair_tree() argument 1969 struct net *net = info->nl_net; fib6_del_route() local 2060 struct net *net = info->nl_net; fib6_del() local 2211 fib6_walk(struct net * net,struct fib6_walker * w) fib6_walk() argument 2282 fib6_clean_tree(struct net * net,struct fib6_node * root,int (* func)(struct fib6_info *,void * arg),int sernum,void * arg,bool skip_notify) fib6_clean_tree() argument 2302 __fib6_clean_all(struct net * net,int (* func)(struct fib6_info *,void *),int sernum,void * arg,bool skip_notify) __fib6_clean_all() argument 2323 fib6_clean_all(struct net * net,int (* func)(struct fib6_info *,void *),void * arg) fib6_clean_all() argument 2329 fib6_clean_all_skip_notify(struct net * net,int (* func)(struct fib6_info *,void *),void * arg) fib6_clean_all_skip_notify() argument 2336 fib6_flush_trees(struct net * net) fib6_flush_trees() argument 2373 fib6_gc_table(struct net * net,struct fib6_table * tb6,struct fib6_gc_args * gc_args) fib6_gc_table() argument 2389 fib6_gc_all(struct net * net,struct fib6_gc_args * gc_args) fib6_gc_all() argument 2409 fib6_run_gc(unsigned long expires,struct net * net,bool force) fib6_run_gc() argument 2444 fib6_net_init(struct net * net) fib6_net_init() argument 2518 fib6_net_exit(struct net * net) fib6_net_exit() argument 2639 ipv6_route_seq_setup_walk(struct ipv6_route_iter * iter,struct net * net) ipv6_route_seq_setup_walk() argument 2653 ipv6_route_seq_next_table(struct fib6_table * tbl,struct net * net) ipv6_route_seq_next_table() argument 2690 struct net *net = seq_file_net(seq); ipv6_route_seq_next() local 2725 struct net *net = seq_file_net(seq); ipv6_route_seq_start() local 2751 struct net *net = seq_file_net(seq); ipv6_route_native_seq_stop() local [all...] |
| H A D | reassembly.c | 85 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 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() 306 struct net *net = dev_net(skb->dev); in ipv6_rcv() local 317 struct net *net) in ip6_sublist_rcv() 335 struct net *net = dev_net(dev); in ipv6_list_rcv() local 363 void ip6_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int nexthdr, in ip6_protocol_deliver_rcu() 479 static int ip6_input_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_input_finish()
|
| H A D | xfrm6_tunnel.c | 35 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 D | net_namespace.c | 20 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 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() 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/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/mctp/ |
| H A D | route.c | 43 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/bridge/ |
| H A D | br_netfilter_hooks.c | 91 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/lockd/ |
| H A D | svc.c | 87 static unsigned long get_lockd_grace_period(struct net *net) in get_lockd_grace_period() 111 static void set_grace_period(struct net *net) in set_grace_period() 128 struct net *net = &init_net; in lockd() local 159 struct net *net, const int family, in create_lockd_listener() 173 static int create_lockd_family(struct svc_serv *serv, struct net *net, in create_lockd_family() 198 static int make_socks(struct svc_serv *serv, struct net *net, in make_socks() 223 static int lockd_up_net(struct svc_serv *serv, struct net *net, in lockd_up_net() 248 static void lockd_down_net(struct svc_serv *serv, struct net *net) in lockd_down_net() 380 int lockd_up(struct net *net, const struct cred *cred) in lockd_up() 406 lockd_down(struct net *net) in lockd_down() [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()
|
| /linux/drivers/usb/gadget/function/ |
| H A D | u_ether.c | 61 struct net_device *net; member 109 static void eth_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *p) in eth_get_drvinfo() 455 struct net_device *net) in eth_start_xmit() 614 static int eth_open(struct net_device *net) in eth_open() 632 static int eth_stop(struct net_device *net) in eth_stop() 744 struct net_device *net; in gether_setup_name() local 816 struct net_device *net; in gether_setup_name_default() local 857 int gether_register_netdev(struct net_device *net) in gether_register_netdev() 889 void gether_set_gadget(struct net_device *net, struct usb_gadget *g) in gether_set_gadget() 899 int gether_set_dev_addr(struct net_device *net, const char *dev_addr) in gether_set_dev_addr() [all …]
|
| /linux/drivers/net/thunderbolt/ |
| H A D | main.c | 240 static int tbnet_login_response(struct tbnet *net, u64 route, u8 sequence, in tbnet_login_response() 257 static int tbnet_login_request(struct tbnet *net, u8 sequence) in tbnet_login_request() 277 static int tbnet_logout_response(struct tbnet *net, u64 route, u8 sequence, in tbnet_logout_response() 291 static int tbnet_logout_request(struct tbnet *net) in tbnet_logout_request() 308 static void start_login(struct tbnet *net) in start_login() 321 static void stop_login(struct tbnet *net) in stop_login() 372 static void tbnet_tear_down(struct tbnet *net, bool send_logout) in tbnet_tear_down() 421 struct tbnet *net = data; in tbnet_handle_packet() local 499 static int tbnet_alloc_rx_buffers(struct tbnet *net, unsigned int nbuffers) in tbnet_alloc_rx_buffers() 548 static struct tbnet_frame *tbnet_get_tx_buffer(struct tbnet *net) in tbnet_get_tx_buffer() [all …]
|