/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 …]
|
/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() 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/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 …]
|
/linux/net/sctp/ |
H A D | sm_statefuns.c | 232 sctp_sf_do_4_C(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_4_C() argument 317 sctp_sf_do_5_1B_init(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_5_1B_init() argument 517 sctp_sf_do_5_1C_ack(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_5_1C_ack() argument 636 sctp_auth_chunk_verify(struct net * net,struct sctp_chunk * chunk,const struct sctp_association * asoc) sctp_auth_chunk_verify() argument 699 sctp_sf_do_5_1D_ce(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_5_1D_ce() argument 920 sctp_sf_do_5_1E_ca(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_5_1E_ca() argument 1039 sctp_sf_sendbeat_8_3(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_sendbeat_8_3() argument 1087 sctp_sf_send_reconf(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_send_reconf() argument 1116 sctp_sf_send_probe(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_send_probe() argument 1164 sctp_sf_beat_8_3(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_beat_8_3() argument 1238 sctp_sf_backbeat_8_3(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_backbeat_8_3() argument 1324 sctp_sf_send_restart_abort(struct net * net,union sctp_addr * ssa,struct sctp_chunk * init,struct sctp_cmd_seq * commands) sctp_sf_send_restart_abort() argument 1393 struct net *net = new_asoc->base.net; sctp_sf_check_restart_addrs() local 1512 sctp_sf_do_unexpected_init(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_unexpected_init() argument 1731 sctp_sf_do_5_2_1_siminit(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_5_2_1_siminit() argument 1786 sctp_sf_do_5_2_2_dupinit(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_5_2_2_dupinit() argument 1810 sctp_sf_do_5_2_3_initack(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_5_2_3_initack() argument 1830 struct net *net = asoc->base.net; sctp_sf_do_assoc_update() local 1856 sctp_sf_do_dupcook_a(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,struct sctp_chunk * chunk,struct sctp_cmd_seq * commands,struct sctp_association * new_asoc) sctp_sf_do_dupcook_a() argument 1979 sctp_sf_do_dupcook_b(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,struct sctp_chunk * chunk,struct sctp_cmd_seq * commands,struct sctp_association * new_asoc) sctp_sf_do_dupcook_b() argument 2063 sctp_sf_do_dupcook_c(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,struct sctp_chunk * chunk,struct sctp_cmd_seq * commands,struct sctp_association * new_asoc) sctp_sf_do_dupcook_c() argument 2086 sctp_sf_do_dupcook_d(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,struct sctp_chunk * chunk,struct sctp_cmd_seq * commands,struct sctp_association * new_asoc) sctp_sf_do_dupcook_d() argument 2198 sctp_sf_do_5_2_4_dupcook(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_5_2_4_dupcook() argument 2335 sctp_sf_shutdown_pending_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_shutdown_pending_abort() argument 2381 sctp_sf_shutdown_sent_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_shutdown_sent_abort() argument 2435 sctp_sf_shutdown_ack_sent_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_shutdown_ack_sent_abort() argument 2463 sctp_sf_cookie_echoed_err(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_cookie_echoed_err() argument 2528 sctp_sf_do_5_2_6_stale(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_5_2_6_stale() argument 2651 sctp_sf_do_9_1_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_9_1_abort() argument 2692 __sctp_sf_do_9_1_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) __sctp_sf_do_9_1_abort() argument 2723 sctp_sf_cookie_wait_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_cookie_wait_abort() argument 2763 sctp_sf_cookie_wait_icmp_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_cookie_wait_icmp_abort() argument 2779 sctp_sf_cookie_echoed_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_cookie_echoed_abort() argument 2798 sctp_stop_t1_and_abort(struct net * net,struct sctp_cmd_seq * commands,__be16 error,int sk_err,const struct sctp_association * asoc,struct sctp_transport * transport) sctp_stop_t1_and_abort() argument 2853 sctp_sf_do_9_2_shutdown(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_9_2_shutdown() argument 2943 sctp_sf_do_9_2_shut_ctsn(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_9_2_shut_ctsn() argument 2997 __sctp_sf_do_9_2_reshutack(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) __sctp_sf_do_9_2_reshutack() argument 3035 sctp_sf_do_9_2_reshutack(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_9_2_reshutack() argument 3079 sctp_sf_do_ecn_cwr(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_ecn_cwr() argument 3135 sctp_sf_do_ecne(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_ecne() argument 3191 sctp_sf_eat_data_6_2(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_eat_data_6_2() argument 3312 sctp_sf_eat_data_fast_4_4(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_eat_data_fast_4_4() argument 3403 sctp_sf_eat_sack_6_2(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_eat_sack_6_2() argument 3480 sctp_sf_tabort_8_4_8(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_tabort_8_4_8() argument 3527 sctp_sf_new_encap_port(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_new_encap_port() argument 3569 sctp_sf_operr_notify(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_operr_notify() argument 3607 sctp_sf_do_9_2_final(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_9_2_final() argument 3690 sctp_sf_ootb(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_ootb() argument 3786 sctp_sf_shut_8_4_5(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_shut_8_4_5() argument 3842 sctp_sf_do_8_5_1_E_sa(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_8_5_1_E_sa() argument 3870 sctp_sf_do_asconf(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_asconf() argument 3984 sctp_send_next_asconf(struct net * net,const struct sctp_endpoint * ep,struct sctp_association * asoc,const union sctp_subtype type,struct sctp_cmd_seq * commands) sctp_send_next_asconf() argument 4011 sctp_sf_do_asconf_ack(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_asconf_ack() argument 4126 sctp_sf_do_reconf(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_reconf() argument 4203 sctp_sf_eat_fwd_tsn(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_eat_fwd_tsn() argument 4270 sctp_sf_eat_fwd_tsn_fast(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_eat_fwd_tsn_fast() argument 4432 sctp_sf_eat_auth(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_eat_auth() argument 4528 sctp_sf_unk_chunk(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_unk_chunk() argument 4608 sctp_sf_discard_chunk(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_discard_chunk() argument 4651 sctp_sf_pdiscard(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_pdiscard() argument 4678 sctp_sf_violation(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_violation() argument 4702 sctp_sf_abort_violation(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,void * arg,struct sctp_cmd_seq * commands,const __u8 * payload,const size_t paylen) sctp_sf_abort_violation() argument 4819 sctp_sf_violation_chunklen(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_violation_chunklen() argument 4839 sctp_sf_violation_paramlen(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,void * ext,struct sctp_cmd_seq * commands) sctp_sf_violation_paramlen() argument 4882 sctp_sf_violation_ctsn(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_violation_ctsn() argument 4902 sctp_sf_violation_chunk(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_violation_chunk() argument 4974 sctp_sf_do_prm_asoc(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_prm_asoc() argument 5086 sctp_sf_do_prm_send(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_prm_send() argument 5126 sctp_sf_do_9_2_prm_shutdown(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_9_2_prm_shutdown() argument 5183 sctp_sf_do_9_1_prm_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_9_1_prm_abort() argument 5220 sctp_sf_error_closed(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_error_closed() argument 5235 sctp_sf_error_shutdown(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_error_shutdown() argument 5262 sctp_sf_cookie_wait_prm_shutdown(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_cookie_wait_prm_shutdown() argument 5297 sctp_sf_cookie_echoed_prm_shutdown(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_cookie_echoed_prm_shutdown() argument 5325 sctp_sf_cookie_wait_prm_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_cookie_wait_prm_abort() argument 5374 sctp_sf_cookie_echoed_prm_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_cookie_echoed_prm_abort() argument 5400 sctp_sf_shutdown_pending_prm_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_shutdown_pending_prm_abort() argument 5427 sctp_sf_shutdown_sent_prm_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_shutdown_sent_prm_abort() argument 5458 sctp_sf_shutdown_ack_sent_prm_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_shutdown_ack_sent_prm_abort() argument 5494 sctp_sf_do_prm_requestheartbeat(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_prm_requestheartbeat() argument 5526 sctp_sf_do_prm_asconf(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_prm_asconf() argument 5543 sctp_sf_do_prm_reconf(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_prm_reconf() argument 5562 sctp_sf_ignore_primitive(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_ignore_primitive() argument 5586 sctp_sf_do_no_pending_tsn(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_no_pending_tsn() argument 5618 sctp_sf_do_9_2_start_shutdown(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_9_2_start_shutdown() argument 5688 sctp_sf_do_9_2_shutdown_ack(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_9_2_shutdown_ack() argument 5761 sctp_sf_ignore_other(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_ignore_other() argument 5789 sctp_sf_do_6_3_3_rtx(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_6_3_3_rtx() argument 5877 sctp_sf_do_6_2_sack(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_6_2_sack() argument 5909 sctp_sf_t1_init_timer_expire(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_t1_init_timer_expire() argument 5974 sctp_sf_t1_cookie_timer_expire(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_t1_cookie_timer_expire() argument 6025 sctp_sf_t2_timer_expire(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_t2_timer_expire() argument 6096 sctp_sf_t4_timer_expire(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_t4_timer_expire() argument 6168 sctp_sf_t5_timer_expire(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_t5_timer_expire() argument 6205 sctp_sf_autoclose_timer_expire(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_autoclose_timer_expire() argument 6248 sctp_sf_not_impl(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_not_impl() argument 6265 sctp_sf_bug(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_bug() argument 6285 sctp_sf_timer_ignore(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_timer_ignore() argument 6330 sctp_abort_pkt_new(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,struct sctp_chunk * chunk,const void * payload,size_t paylen) sctp_abort_pkt_new() argument 6372 sctp_ootb_pkt_new(struct net * net,const struct sctp_association * asoc,const struct sctp_chunk * chunk) sctp_ootb_pkt_new() argument 6455 sctp_send_stale_cookie_err(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const struct sctp_chunk * chunk,struct sctp_cmd_seq * commands,struct sctp_chunk * err_chunk) sctp_send_stale_cookie_err() argument 6492 struct net *net = sock_net(sk); sctp_eat_data() local [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; 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 | 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()
|
/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 ipmr_for_each_table(mrt,net) global() argument 123 ipmr_mr_table_iter(struct net * net,struct mr_table * mrt) ipmr_mr_table_iter() argument 140 __ipmr_get_table(struct net * net,u32 id) __ipmr_get_table() argument 151 ipmr_get_table(struct net * net,u32 id) ipmr_get_table() argument 161 ipmr_fib_lookup(struct net * net,struct flowi4 * flp4,struct mr_table ** mrt) ipmr_fib_lookup() argument 249 ipmr_rules_init(struct net * net) ipmr_rules_init() argument 283 ipmr_rules_exit(struct net * net) ipmr_rules_exit() argument 295 ipmr_rules_dump(struct net * net,struct notifier_block * nb,struct netlink_ext_ack * extack) ipmr_rules_dump() argument 301 ipmr_rules_seq_read(const struct net * net) ipmr_rules_seq_read() argument 312 ipmr_for_each_table(mrt,net) global() argument 315 ipmr_mr_table_iter(struct net * net,struct mr_table * mrt) ipmr_mr_table_iter() argument 323 ipmr_get_table(struct net * net,u32 id) ipmr_get_table() argument 330 ipmr_fib_lookup(struct net * net,struct flowi4 * flp4,struct mr_table ** mrt) ipmr_fib_lookup() argument 337 ipmr_rules_init(struct net * net) ipmr_rules_init() argument 348 ipmr_rules_exit(struct net * net) ipmr_rules_exit() argument 355 ipmr_rules_dump(struct net * net,struct notifier_block * nb,struct netlink_ext_ack * extack) ipmr_rules_dump() argument 361 ipmr_rules_seq_read(const struct net * net) ipmr_rules_seq_read() argument 393 ipmr_new_table_set(struct mr_table * mrt,struct net * net) ipmr_new_table_set() argument 410 ipmr_new_table(struct net * net,u32 id) ipmr_new_table() argument 428 struct net *net = read_pnet(&mrt->net); ipmr_free_table() local 458 ipmr_new_tunnel(struct net * net,struct vifctl * v) ipmr_new_tunnel() argument 511 struct net *net = dev_net(dev); reg_vif_xmit() local 559 ipmr_reg_vif(struct net * net,struct mr_table * mrt) ipmr_reg_vif() argument 634 ipmr_reg_vif(struct net * net,struct mr_table * mrt) ipmr_reg_vif() argument 640 call_ipmr_vif_entry_notifiers(struct net * net,enum fib_event_type event_type,struct vif_device * vif,struct net_device * vif_dev,vifi_t vif_index,u32 tb_id) call_ipmr_vif_entry_notifiers() argument 651 call_ipmr_mfc_entry_notifiers(struct net * net,enum fib_event_type event_type,struct mfc_cache * mfc,u32 tb_id) call_ipmr_mfc_entry_notifiers() argument 669 struct net *net = read_pnet(&mrt->net); vif_delete() local 739 struct net *net = read_pnet(&mrt->net); ipmr_destroy_unres() local 827 vif_add(struct net * net,struct mr_table * mrt,struct vifctl * vifc,int mrtsock) vif_add() argument 997 ipmr_cache_resolve(struct net * net,struct mr_table * mrt,struct mfc_cache * uc,struct mfc_cache * c) ipmr_cache_resolve() argument 1195 struct net *net = read_pnet(&mrt->net); ipmr_mfc_delete() local 1214 ipmr_mfc_add(struct net * net,struct mr_table * mrt,struct mfcctl * mfc,int mrtsock,int parent) ipmr_mfc_add() argument 1297 struct net *net = read_pnet(&mrt->net); mroute_clean_tables() local 1350 struct net *net = sock_net(sk); mrtsock_destruct() local 1377 struct net *net = sock_net(sk); ip_mroute_setsockopt() local 1594 struct net *net = sock_net(sk); ip_mroute_getsockopt() local 1640 struct net *net = sock_net(sk); ipmr_ioctl() local 1710 struct net *net = sock_net(sk); ipmr_compat_ioctl() local 1766 struct net *net = dev_net(dev); ipmr_device_event() local 1792 ip_encap(struct net * net,struct sk_buff * skb,__be32 saddr,__be32 daddr) ip_encap() argument 1819 ipmr_forward_finish(struct net * net,struct sock * sk,struct sk_buff * skb) ipmr_forward_finish() argument 1856 ipmr_prepare_xmit(struct net * net,struct mr_table * mrt,struct sk_buff * skb,int vifi) ipmr_prepare_xmit() argument 1934 ipmr_queue_fwd_xmit(struct net * net,struct mr_table * mrt,int in_vifi,struct sk_buff * skb,int vifi) ipmr_queue_fwd_xmit() argument 1968 ipmr_queue_output_xmit(struct net * net,struct mr_table * mrt,struct sk_buff * skb,int vifi) ipmr_queue_output_xmit() argument 1995 ip_mr_forward(struct net * net,struct mr_table * mrt,struct net_device * dev,struct sk_buff * skb,struct mfc_cache * c,int local) ip_mr_forward() argument 2116 ipmr_rt_fib_lookup(struct net * net,struct sk_buff * skb) ipmr_rt_fib_lookup() argument 2146 struct net *net = dev_net(skb->dev); ip_mr_input() local 2240 ip_mr_output_finish(struct net * net,struct mr_table * mrt,struct net_device * dev,struct sk_buff * skb,struct mfc_cache * c) ip_mr_output_finish() argument 2294 ip_mr_output(struct net * net,struct sock * sk,struct sk_buff * skb) ip_mr_output() argument 2349 struct net *net = dev_net(skb->dev); pim_rcv_v1() local 2376 struct net *net = dev_net(skb->dev); pim_rcv() local 2400 ipmr_get_route(struct net * net,struct sk_buff * skb,__be32 saddr,__be32 daddr,struct rtmsg * rtm,u32 portid) ipmr_get_route() argument 2536 struct net *net = read_pnet(&mrt->net); mroute_netlink_event() local 2576 struct net *net = read_pnet(&mrt->net); igmpmsg_netlink_event() local 2681 struct net *net = sock_net(in_skb->sk); ipmr_rtm_getroute() local 2803 rtm_to_ipmr_mfcc(struct net * net,struct nlmsghdr * nlh,struct mfcctl * mfcc,int * mrtsock,struct mr_table ** mrtret,struct netlink_ext_ack * extack) rtm_to_ipmr_mfcc() argument 2878 struct net *net = sock_net(skb->sk); ipmr_rtm_route() local 2978 struct net *net = sock_net(skb->sk); ipmr_rtm_dumplink() local 3065 struct net *net = seq_file_net(seq); ipmr_vif_seq_start() local 3120 struct net *net = seq_file_net(seq); ipmr_mfc_seq_start() local 3185 ipmr_seq_read(const struct net * net) ipmr_seq_read() argument 3190 ipmr_dump(struct net * net,struct notifier_block * nb,struct netlink_ext_ack * extack) ipmr_dump() argument 3204 ipmr_notifier_init(struct net * net) ipmr_notifier_init() argument 3218 ipmr_notifier_exit(struct net * net) ipmr_notifier_exit() argument 3225 ipmr_net_init(struct net * net) ipmr_net_init() argument 3262 ipmr_net_exit(struct net * net) ipmr_net_exit() argument 3273 struct net *net; ipmr_net_exit_batch() local [all...] |
H A D | ip_input.c | 154 struct net *net = dev_net(dev); ip_call_ra_chain() local 187 ip_protocol_deliver_rcu(struct net * net,struct sk_buff * skb,int protocol) ip_protocol_deliver_rcu() argument 227 ip_local_deliver_finish(struct net * net,struct sock * sk,struct sk_buff * skb) ip_local_deliver_finish() argument 253 struct net *net = dev_net(skb->dev); ip_local_deliver() local 323 ip_rcv_finish_core(struct net * net,struct sk_buff * skb,struct net_device * dev,const struct sk_buff * hint) ip_rcv_finish_core() argument 440 ip_rcv_finish(struct net * net,struct sock * sk,struct sk_buff * skb) ip_rcv_finish() argument 461 ip_rcv_core(struct sk_buff * skb,struct net * net) ip_rcv_core() argument 568 struct net *net = dev_net(dev); ip_rcv() local 589 ip_extract_route_hint(const struct net * net,struct sk_buff * skb,int rt_type) ip_extract_route_hint() argument 599 ip_list_rcv_finish(struct net * net,struct list_head * head) ip_list_rcv_finish() argument 638 ip_sublist_rcv(struct list_head * head,struct net_device * dev,struct net * net) ip_sublist_rcv() argument 656 struct net *net = dev_net(dev); ip_list_rcv() local [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_conntrack_standalone.c | 102 ct_get_next(const struct net * net,struct ct_iter_state * st) ct_get_next() argument 153 struct net *net = seq_file_net(seq); ct_seq_start() local 174 struct net *net = seq_file_net(s); ct_seq_next() local 309 struct net *net = seq_file_net(s); ct_seq_show() local 401 struct net *net = seq_file_net(seq); ct_cpu_seq_start() local 419 struct net *net = seq_file_net(seq); ct_cpu_seq_next() local 438 struct net *net = seq_file_net(seq); ct_cpu_seq_show() local 480 nf_conntrack_standalone_init_proc(struct net * net) nf_conntrack_standalone_init_proc() argument 508 nf_conntrack_standalone_fini_proc(struct net * net) nf_conntrack_standalone_fini_proc() argument 514 nf_conntrack_standalone_init_proc(struct net * net) nf_conntrack_standalone_init_proc() argument 519 nf_conntrack_standalone_fini_proc(struct net * net) nf_conntrack_standalone_fini_proc() argument 524 nf_conntrack_count(const struct net * net) nf_conntrack_count() argument 934 nf_conntrack_standalone_init_tcp_sysctl(struct net * net,struct ctl_table * table) nf_conntrack_standalone_init_tcp_sysctl() argument 969 nf_conntrack_standalone_init_sctp_sysctl(struct net * net,struct ctl_table * table) nf_conntrack_standalone_init_sctp_sysctl() argument 991 nf_conntrack_standalone_init_gre_sysctl(struct net * net,struct ctl_table * table) nf_conntrack_standalone_init_gre_sysctl() argument 1002 nf_conntrack_standalone_init_sysctl(struct net * net) nf_conntrack_standalone_init_sysctl() argument 1058 nf_conntrack_standalone_fini_sysctl(struct net * net) nf_conntrack_standalone_fini_sysctl() argument 1068 nf_conntrack_standalone_init_sysctl(struct net * net) nf_conntrack_standalone_init_sysctl() argument 1073 nf_conntrack_standalone_fini_sysctl(struct net * net) nf_conntrack_standalone_fini_sysctl() argument 1078 nf_conntrack_fini_net(struct net * net) nf_conntrack_fini_net() argument 1087 nf_conntrack_pernet_init(struct net * net) nf_conntrack_pernet_init() argument 1124 struct net *net; nf_conntrack_pernet_exit() local [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 688 unsigned int mctp_default_net(struct net *net) in mctp_default_net() 693 int mctp_default_net_set(struct net *net, unsigned int index) in mctp_default_net_set() [all …]
|
/linux/fs/nfsd/ |
H A D | nfssvc.c | 207 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() 252 static int nfsd_init_socks(struct net *net, const struct cred *cred) in nfsd_init_socks() 369 static int nfsd_startup_net(struct net *net, const struct cred *cred) in nfsd_startup_net() 423 static void nfsd_shutdown_net(struct net *net) in nfsd_shutdown_net() 455 struct net *net = dev_net(dev); in nfsd_inetaddr_event() local 485 struct net *net = dev_net(dev); in nfsd_inet6addr_event() local 519 void nfsd_destroy_serv(struct net *net) in nfsd_destroy_serv() 588 void nfsd_shutdown_threads(struct net *net) in nfsd_shutdown_threads() [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() argument 189 struct net *net in smc_pnet_add_by_ndev() local 221 struct net *net = dev_net(ndev); smc_pnet_remove_by_ndev() local 345 smc_pnet_add_eth(struct smc_pnettable * pnettable,struct net * net,char * eth_name,char * pnet_name) smc_pnet_add_eth() argument 477 smc_pnet_enter(struct net * net,struct nlattr * tb[]) smc_pnet_enter() argument 562 struct net *net = genl_info_net(info); smc_pnet_add() local 569 struct net *net = genl_info_net(info); smc_pnet_del() local 601 _smc_pnet_dump(struct net * net,struct sk_buff * skb,u32 portid,u32 seq,u8 * pnetid,int start_idx) _smc_pnet_dump() argument 635 struct net *net = sock_net(skb->sk); smc_pnet_dump() local 648 struct net *net = genl_info_net(info); smc_pnet_get() local 676 struct net *net = genl_info_net(info); smc_pnet_flush() local 726 smc_pnet_is_ndev_pnetid(struct net * net,u8 * pnetid) smc_pnet_is_ndev_pnetid() argument 745 smc_pnet_add_pnetid(struct net * net,u8 * pnetid) smc_pnet_add_pnetid() argument 771 smc_pnet_remove_pnetid(struct net * net,u8 * pnetid) smc_pnet_remove_pnetid() argument 789 smc_pnet_add_base_pnetid(struct net * net,struct net_device * dev,u8 * ndev_pnetid) smc_pnet_add_base_pnetid() argument 804 smc_pnet_create_pnetids_list(struct net * net) smc_pnet_create_pnetids_list() argument 826 smc_pnet_destroy_pnetids_list(struct net * net) smc_pnet_destroy_pnetids_list() argument 843 struct net *net = dev_net(event_dev); smc_pnet_netdev_event() local 877 smc_pnet_net_init(struct net * net) smc_pnet_net_init() argument 908 smc_pnet_net_exit(struct net * net) smc_pnet_net_exit() argument 955 struct net *net = dev_net(ndev); smc_pnet_find_ndev_pnetid_by_table() local 1001 _smc_pnet_find_roce_by_pnetid(u8 * pnet_id,struct smc_init_info * ini,struct smc_ib_device * known_dev,struct net * net) _smc_pnet_find_roce_by_pnetid() argument 1031 struct net *net = lgr->net; smc_pnet_find_alt_roce() local 1042 struct net *net = dev_net(netdev); smc_pnet_find_rdma_dev() local 1083 struct net *net; smc_pnet_find_roce_by_pnetid() local [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/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/net/mptcp/ |
H A D | ctrl.c | 45 static struct mptcp_pernet *mptcp_get_pernet(const struct net *net) in mptcp_get_pernet() argument 50 int mptcp_is_enabled(const struct net *net) in mptcp_is_enabled() argument 55 unsigned int mptcp_get_add_addr_timeout(const struct net *ne argument 60 mptcp_is_checksum_enabled(const struct net * net) mptcp_is_checksum_enabled() argument 65 mptcp_allow_join_id0(const struct net * net) mptcp_allow_join_id0() argument 70 mptcp_stale_loss_cnt(const struct net * net) mptcp_stale_loss_cnt() argument 82 mptcp_get_pm_type(const struct net * net) mptcp_get_pm_type() argument 87 mptcp_get_path_manager(const struct net * net) mptcp_get_path_manager() argument 92 mptcp_get_scheduler(const struct net * net) mptcp_get_scheduler() argument 367 mptcp_pernet_new_table(struct net * net,struct mptcp_pernet * pernet) mptcp_pernet_new_table() argument 420 mptcp_pernet_new_table(struct net * net,struct mptcp_pernet * pernet) mptcp_pernet_new_table() argument 442 struct net *net = sock_net(sk); mptcp_active_disable() local 468 struct net *net = sock_net(ssk); mptcp_active_should_disable() local 516 struct net *net; mptcp_active_detect_blackhole() local 542 mptcp_net_init(struct net * net) mptcp_net_init() argument 552 mptcp_net_exit(struct net * net) mptcp_net_exit() argument [all...] |