Home
last modified time | relevance | path

Searched defs:net (Results 126 – 150 of 967) sorted by relevance

12345678910>>...39

/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnfnetlink_acct.c47 static int nfnl_acct_new(struct net *net, struct sock *nfnl, in nfnl_acct_new()
185 struct net *net = sock_net(skb->sk); in nfnl_acct_dump() local
262 static int nfnl_acct_get(struct net *net, struct sock *nfnl, in nfnl_acct_get()
335 static int nfnl_acct_del(struct net *net, struct sock *nfnl, in nfnl_acct_del()
398 struct nf_acct *nfnl_acct_find_get(struct net *net, const char *acct_name) in nfnl_acct_find_get()
440 static void nfnl_overquota_report(struct net *net, struct nf_acct *nfacct) in nfnl_overquota_report()
459 int nfnl_acct_overquota(struct net *net, struct nf_acct *nfacct) in nfnl_acct_overquota()
484 static int __net_init nfnl_acct_net_init(struct net *net) in nfnl_acct_net_init()
491 static void __net_exit nfnl_acct_net_exit(struct net *net) in nfnl_acct_net_exit()
H A Dnf_queue.c34 void nf_register_queue_handler(struct net *net, const struct nf_queue_handler *qh) in nf_register_queue_handler()
43 void nf_unregister_queue_handler(struct net *net) in nf_unregister_queue_handler()
125 void nf_queue_nf_hook_drop(struct net *net) in nf_queue_nf_hook_drop()
171 struct net *net = state->net; in __nf_queue() local
288 static struct nf_hook_entries *nf_hook_entries_head(const struct net *net, u8 pf, u8 hooknum) in nf_hook_entries_head()
313 const struct net *net; in nf_reinject() local
H A Dnf_tables_api.c104 static void nft_validate_state_update(struct net *net, u8 new_validate_state) in nft_validate_state_update()
123 struct net *net, in nft_ctx_init()
173 struct net *net = ctx->net; in nft_set_trans_bind() local
193 static int nft_netdev_register_hooks(struct net *net, in nft_netdev_register_hooks()
219 static void nft_netdev_unregister_hooks(struct net *net, in nft_netdev_unregister_hooks()
228 static int nf_tables_register_hook(struct net *net, in nf_tables_register_hook()
251 static void nf_tables_unregister_hook(struct net *net, in nf_tables_unregister_hook()
546 static struct nft_table *nft_table_lookup(const struct net *net, in nft_table_lookup()
566 static struct nft_table *nft_table_lookup_byhandle(const struct net *net, in nft_table_lookup_byhandle()
621 static int nft_request_module(struct net *net, const char *fmt, ...) in nft_request_module()
[all …]
H A Dcore.c267 nf_hook_entry_head(struct net *net, int pf, unsigned int hooknum, in nf_hook_entry_head()
324 static int nf_ingress_check(struct net *net, const struct nf_hook_ops *reg, in nf_ingress_check()
377 static int __nf_register_net_hook(struct net *net, int pf, in __nf_register_net_hook()
456 static void __nf_unregister_net_hook(struct net *net, int pf, in __nf_unregister_net_hook()
493 void nf_unregister_net_hook(struct net *net, const struct nf_hook_ops *reg) in nf_unregister_net_hook()
521 int nf_register_net_hook(struct net *net, const struct nf_hook_ops *reg) in nf_register_net_hook()
551 int nf_register_net_hooks(struct net *net, const struct nf_hook_ops *reg, in nf_register_net_hooks()
571 void nf_unregister_net_hooks(struct net *net, const struct nf_hook_ops *reg, in nf_unregister_net_hooks()
715 static int __net_init netfilter_net_init(struct net *net) in netfilter_net_init()
743 static void __net_exit netfilter_net_exit(struct net *net) in netfilter_net_exit()
H A Dnfnetlink.c150 int nfnetlink_has_listeners(struct net *net, unsigned int group) in nfnetlink_has_listeners()
156 int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 portid, in nfnetlink_send()
163 int nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error) in nfnetlink_set_err()
169 int nfnetlink_unicast(struct sk_buff *skb, struct net *net, u32 portid) in nfnetlink_unicast()
185 struct net *net = sock_net(skb->sk); in nfnetlink_rcv_msg() local
324 struct net *net = sock_net(skb->sk); in nfnetlink_rcv_batch() local
604 static int nfnetlink_bind(struct net *net, int group) in nfnetlink_bind()
623 static int __net_init nfnetlink_net_init(struct net *net) in nfnetlink_net_init()
644 struct net *net; in nfnetlink_net_exit_batch() local
H A Dnf_conncount.c61 struct net *net; member
97 find_or_evict(struct net *net, struct nf_conncount_list *list, in find_or_evict()
125 static int __nf_conncount_add(struct net *net, in __nf_conncount_add()
196 int nf_conncount_add(struct net *net, in nf_conncount_add()
221 bool nf_conncount_gc_list(struct net *net, in nf_conncount_gc_list()
300 insert_tree(struct net *net, in insert_tree()
385 count_tree(struct net *net, in count_tree()
506 unsigned int nf_conncount_count(struct net *net, in nf_conncount_count()
516 struct nf_conncount_data *nf_conncount_init(struct net *net, unsigned int family, in nf_conncount_init()
575 void nf_conncount_destroy(struct net *net, unsigned int family, in nf_conncount_destroy()
/OK3568_Linux_fs/kernel/net/wireless/
H A Dwext-proc.c92 struct net *net = seq_file_net(seq); in wireless_dev_seq_start() local
109 struct net *net = seq_file_net(seq); in wireless_dev_seq_next() local
129 int __net_init wext_proc_init(struct net *net) in wext_proc_init()
139 void __net_exit wext_proc_exit(struct net *net) in wext_proc_exit()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Droute.c365 static int __net_init ip_rt_do_proc_init(struct net *net) in ip_rt_do_proc_init()
397 static void __net_exit ip_rt_do_proc_exit(struct net *net) in ip_rt_do_proc_exit()
428 void rt_cache_flush(struct net *net) in rt_cache_flush()
514 void __ip_select_ident(struct net *net, struct iphdr *iph, int segs) in __ip_select_ident()
541 static void __build_flow_key(const struct net *net, struct flowi4 *fl4, in __build_flow_key()
565 const struct net *net = dev_net(skb->dev); in build_skb_flow_key() local
775 struct net *net; in __ip_do_redirect() local
856 struct net *net = dev_net(skb->dev); in ip_do_redirect() local
908 struct net *net; in ip_rt_send_redirect() local
977 struct net *net; in ip_error() local
[all …]
H A Dping.c62 static inline u32 ping_hashfn(const struct net *net, u32 num, u32 mask) in ping_hashfn()
72 struct net *net, unsigned int num) in ping_hashslot()
169 static struct sock *ping_lookup(struct net *net, struct sk_buff *skb, u16 ident) in ping_lookup()
244 static void inet_get_ping_group_range_net(struct net *net, kgid_t *low, in inet_get_ping_group_range_net()
261 struct net *net = sock_net(sk); in ping_init_sock() local
305 struct net *net = sock_net(sk); in ping_check_bind_addr() local
489 struct net *net = dev_net(skb->dev); in ping_err() local
703 struct net *net = sock_net(sk); in ping_v4_sendmsg() local
971 struct net *net = dev_net(skb->dev); in ping_rcv() local
1027 struct net *net = seq_file_net(seq); in ping_get_first() local
[all …]
H A Dip_output.c99 int __ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb) in __ip_local_out()
120 int ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_local_out()
151 struct net *net = sock_net(sk); in ip_build_and_send_pkt() local
194 static int ip_finish_output2(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_finish_output2()
249 static int ip_finish_output_gso(struct net *net, struct sock *sk, in ip_finish_output_gso()
297 static int __ip_finish_output(struct net *net, struct sock *sk, struct sk_buff *skb) in __ip_finish_output()
318 static int ip_finish_output(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_finish_output()
334 static int ip_mc_finish_output(struct net *net, struct sock *sk, in ip_mc_finish_output()
368 int ip_mc_output(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_mc_output()
430 int ip_output(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_output()
[all …]
/OK3568_Linux_fs/kernel/net/ipv6/ila/
H A Dila_xlat.c204 static int ila_add_mapping(struct net *net, struct ila_xlat_params *xp) in ila_add_mapping()
283 static int ila_del_mapping(struct net *net, struct ila_xlat_params *xp) in ila_del_mapping()
347 struct net *net = genl_info_net(info); in ila_xlat_nl_cmd_add_mapping() local
360 struct net *net = genl_info_net(info); in ila_xlat_nl_cmd_del_mapping() local
381 struct net *net = genl_info_net(info); in ila_xlat_nl_cmd_flush() local
463 struct net *net = genl_info_net(info); in ila_xlat_nl_cmd_get_mapping() local
507 struct net *net = sock_net(cb->skb->sk); in ila_xlat_nl_dump_start() local
604 int ila_xlat_init_net(struct net *net) in ila_xlat_init_net()
618 void ila_xlat_exit_net(struct net *net) in ila_xlat_exit_net()
635 struct net *net = dev_net(skb->dev); in ila_xlat_addr() local
/OK3568_Linux_fs/kernel/include/net/
H A Dicmp.h29 #define ICMP_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.icmp_statistics, field) argument
30 #define __ICMP_INC_STATS(net, field) __SNMP_INC_STATS((net)->mib.icmp_statistics, field) argument
31 #define ICMPMSGOUT_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, … argument
32 #define ICMPMSGIN_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, … argument
/OK3568_Linux_fs/kernel/net/8021q/
H A Dvlanproc.c92 void vlan_proc_cleanup(struct net *net) in vlan_proc_cleanup()
111 int __net_init vlan_proc_init(struct net *net) in vlan_proc_init()
171 struct net *net = seq_file_net(seq); in vlan_seq_start() local
192 struct net *net = seq_file_net(seq); in vlan_seq_next() local
218 struct net *net = seq_file_net(seq); in vlan_seq_show() local
/OK3568_Linux_fs/kernel/net/kcm/
H A Dkcmproc.c20 struct net *net = seq_file_net(seq); in kcm_get_first() local
37 struct net *net = seq_file_net(seq); in kcm_get_idx() local
85 struct net *net = seq_file_net(seq); in kcm_format_mux_header() local
249 struct net *net = seq->private; in kcm_stats_seq_show() local
348 static int kcm_proc_init_net(struct net *net) in kcm_proc_init_net()
366 static void kcm_proc_exit_net(struct net *net) in kcm_proc_exit_net()
/OK3568_Linux_fs/kernel/fs/afs/
H A Ddynroot.c113 struct afs_net *net = afs_d2net(dentry); in afs_probe_cell_name() local
180 struct afs_net *net = afs_d2net(dentry); in afs_lookup_atcell() local
276 int afs_dynroot_mkdir(struct afs_net *net, struct afs_cell *cell) in afs_dynroot_mkdir()
306 void afs_dynroot_rmdir(struct afs_net *net, struct afs_cell *cell) in afs_dynroot_rmdir()
343 struct afs_net *net = afs_sb2net(sb); in afs_dynroot_populate() local
371 struct afs_net *net = afs_sb2net(sb); in afs_dynroot_depopulate() local
/OK3568_Linux_fs/kernel/net/rds/
H A Dtcp.c316 int rds_tcp_laddr_check(struct net *net, const struct in6_addr *addr, in rds_tcp_laddr_check()
493 struct net *net = sock_net(sk); in rds_tcp_tune() local
521 struct net *net = sock_net(sk); in rds_tcp_accept_work() local
527 static __net_init int rds_tcp_init_net(struct net *net) in rds_tcp_init_net()
588 static void rds_tcp_kill_sock(struct net *net) in rds_tcp_kill_sock()
615 static void __net_exit rds_tcp_exit_net(struct net *net) in rds_tcp_exit_net()
635 void *rds_tcp_listen_sock_def_readable(struct net *net) in rds_tcp_listen_sock_def_readable()
651 static void rds_tcp_sysctl_reset(struct net *net) in rds_tcp_sysctl_reset()
671 struct net *net = current->nsproxy->net_ns; in rds_tcp_skbuf_handler() local
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dseg6_hmac.c240 struct net *net = dev_net(skb->dev); in seg6_hmac_validate_skb() local
281 struct seg6_hmac_info *seg6_hmac_info_lookup(struct net *net, u32 key) in seg6_hmac_info_lookup()
292 int seg6_hmac_info_add(struct net *net, u32 key, struct seg6_hmac_info *hinfo) in seg6_hmac_info_add()
304 int seg6_hmac_info_del(struct net *net, u32 key) in seg6_hmac_info_del()
326 int seg6_push_hmac(struct net *net, struct in6_addr *saddr, in seg6_push_hmac()
404 int __net_init seg6_hmac_net_init(struct net *net) in seg6_hmac_net_init()
436 void __net_exit seg6_hmac_net_exit(struct net *net) in seg6_hmac_net_exit()
H A Dseg6.c95 struct net *net = genl_info_net(info); in seg6_genl_sethmac() local
182 struct net *net = genl_info_net(info); in seg6_genl_set_tunsrc() local
211 struct net *net = genl_info_net(info); in seg6_genl_get_tunsrc() local
280 struct net *net = sock_net(cb->skb->sk); in seg6_genl_dumphmac_start() local
366 static int __net_init seg6_net_init(struct net *net) in seg6_net_init()
391 static void __net_exit seg6_net_exit(struct net *net) in seg6_net_exit()
/OK3568_Linux_fs/kernel/net/xfrm/
H A Dxfrm_proc.c50 struct net *net = seq->private; in xfrm_statistics_seq_show() local
64 int __net_init xfrm_proc_init(struct net *net) in xfrm_proc_init()
72 void xfrm_proc_fini(struct net *net) in xfrm_proc_fini()
/OK3568_Linux_fs/kernel/net/tls/
H A Dtls_proc.c27 struct net *net = seq->private; in tls_statistics_seq_show() local
38 int __net_init tls_proc_init(struct net *net) in tls_proc_init()
49 void __net_exit tls_proc_fini(struct net *net) in tls_proc_fini()
/OK3568_Linux_fs/kernel/net/sctp/
H A Dsysctl.c343 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_hmac_alg() local
388 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_rto_min() local
416 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_rto_max() local
454 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_auth() local
480 int sctp_sysctl_net_register(struct net *net) in sctp_sysctl_net_register()
500 void sctp_sysctl_net_unregister(struct net *net) in sctp_sysctl_net_unregister()
/OK3568_Linux_fs/kernel/net/openvswitch/
H A Dconntrack.c495 static int handle_fragments(struct net *net, struct sw_flow_key *key, in handle_fragments()
544 ovs_ct_expect_find(struct net *net, const struct nf_conntrack_zone *zone, in ovs_ct_expect_find()
608 ovs_ct_find_existing(struct net *net, const struct nf_conntrack_zone *zone, in ovs_ct_find_existing()
651 struct nf_conn *ovs_ct_executed(struct net *net, in ovs_ct_executed()
679 static bool skb_nfct_cached(struct net *net, in skb_nfct_cached()
872 static int ovs_ct_nat(struct net *net, struct sw_flow_key *key, in ovs_ct_nat()
930 static int ovs_ct_nat(struct net *net, struct sw_flow_key *key, in ovs_ct_nat()
945 static int __ovs_ct_lookup(struct net *net, struct sw_flow_key *key, in __ovs_ct_lookup()
1046 static int ovs_ct_lookup(struct net *net, struct sw_flow_key *key, in ovs_ct_lookup()
1154 static int ovs_ct_check_limit(struct net *net, in ovs_ct_check_limit()
[all …]
/OK3568_Linux_fs/kernel/net/netfilter/ipset/
H A Dip_set_core.c38 static struct ip_set_net *ip_set_pernet(struct net *net) in ip_set_pernet()
701 ip_set_rcu_get(struct net *net, ip_set_id_t index) in ip_set_rcu_get()
815 ip_set_get_byname(struct net *net, const char *name, struct ip_set **set) in ip_set_get_byname()
856 ip_set_put_byindex(struct net *net, ip_set_id_t index) in ip_set_put_byindex()
870 ip_set_name_byindex(struct net *net, ip_set_id_t index, char *name) in ip_set_name_byindex()
892 ip_set_nfnl_get_byindex(struct net *net, ip_set_id_t index) in ip_set_nfnl_get_byindex()
919 ip_set_nfnl_put(struct net *net, ip_set_id_t index) in ip_set_nfnl_put()
1034 static int ip_set_none(struct net *net, struct sock *ctnl, struct sk_buff *skb, in ip_set_none()
1042 static int ip_set_create(struct net *net, struct sock *ctnl, in ip_set_create()
1184 static int ip_set_destroy(struct net *net, struct sock *ctnl, in ip_set_destroy()
[all …]
/OK3568_Linux_fs/kernel/net/tipc/
H A Dname_table.c317 static struct publication *tipc_service_insert_publ(struct net *net, in tipc_service_insert_publ()
444 static struct tipc_service *tipc_service_find(struct net *net, u32 type) in tipc_service_find()
458 struct publication *tipc_nametbl_insert_publ(struct net *net, u32 type, in tipc_nametbl_insert_publ()
485 struct publication *tipc_nametbl_remove_publ(struct net *net, u32 type, in tipc_nametbl_remove_publ()
545 u32 tipc_nametbl_translate(struct net *net, u32 type, u32 instance, u32 *dnode) in tipc_nametbl_translate()
601 bool tipc_nametbl_lookup(struct net *net, u32 type, u32 instance, u32 scope, in tipc_nametbl_lookup()
642 void tipc_nametbl_mc_lookup(struct net *net, u32 type, u32 lower, u32 upper, in tipc_nametbl_mc_lookup()
670 void tipc_nametbl_lookup_dst_nodes(struct net *net, u32 type, u32 lower, in tipc_nametbl_lookup_dst_nodes()
695 void tipc_nametbl_build_group(struct net *net, struct tipc_group *grp, in tipc_nametbl_build_group()
724 struct publication *tipc_nametbl_publish(struct net *net, u32 type, u32 lower, in tipc_nametbl_publish()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/usb/
H A Dusbnet.c375 int usbnet_change_mtu (struct net_device *net, int new_mtu) in usbnet_change_mtu()
796 int usbnet_stop (struct net_device *net) in usbnet_stop()
856 int usbnet_open (struct net_device *net) in usbnet_open()
945 int usbnet_get_link_ksettings(struct net_device *net, in usbnet_get_link_ksettings()
959 int usbnet_set_link_ksettings(struct net_device *net, in usbnet_set_link_ksettings()
981 void usbnet_get_stats64(struct net_device *net, struct rtnl_link_stats64 *stats) in usbnet_get_stats64()
990 u32 usbnet_get_link (struct net_device *net) in usbnet_get_link()
1007 int usbnet_nway_reset(struct net_device *net) in usbnet_nway_reset()
1018 void usbnet_get_drvinfo (struct net_device *net, struct ethtool_drvinfo *info) in usbnet_get_drvinfo()
1029 u32 usbnet_get_msglevel (struct net_device *net) in usbnet_get_msglevel()
[all …]

12345678910>>...39