| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | arp.c | 397 struct net *net = dev_net(in_dev->dev); in arp_ignore() local 436 struct net *net = dev_net(dev); in arp_filter() local 630 static int arp_xmit_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in arp_xmit_finish() 647 static bool arp_is_garp(struct net *net, struct net_device *dev, in arp_is_garp() 677 static int arp_process(struct net *net, struct sock *sk, struct sk_buff *skb) in arp_process() 988 static int arp_req_set_proxy(struct net *net, struct net_device *dev, int on) in arp_req_set_proxy() 1001 static int arp_req_set_public(struct net *net, struct arpreq *r, in arp_req_set_public() 1024 static int arp_req_set(struct net *net, struct arpreq *r, in arp_req_set() 1144 static int arp_req_delete_public(struct net *net, struct arpreq *r, in arp_req_delete_public() 1159 static int arp_req_delete(struct net *net, struct arpreq *r, in arp_req_delete() [all …]
|
| H A D | raw_diag.c | 37 static struct sock *raw_lookup(struct net *net, struct sock *from, in raw_lookup() 58 static struct sock *raw_sock_get(struct net *net, const struct inet_diag_req_v2 *r) in raw_sock_get() 96 struct net *net; in raw_diag_dump_one() local 146 struct net *net = sock_net(skb->sk); in raw_diag_dump() local 204 struct net *net = sock_net(in_skb->sk); in raw_diag_destroy() local
|
| H A D | igmp.c | 352 struct net *net = dev_net(dev); in igmpv3_newpack() local 461 struct net *net = dev_net(dev); in add_grec() local 588 struct net *net = dev_net(in_dev->dev); in igmpv3_send_report() local 731 struct net *net = dev_net(dev); in igmp_send_report() local 820 struct net *net = dev_net(in_dev->dev); in igmp_ifc_event() local 912 struct net *net = dev_net(in_dev->dev); in igmp_heard_report() local 943 struct net *net = dev_net(in_dev->dev); in igmp_heard_query() local 1169 struct net *net = dev_net(in_dev->dev); in igmpv3_add_delrec() local 1211 struct net *net = dev_net(in_dev->dev); in igmpv3_del_delrec() local 1285 struct net *net = dev_net(in_dev->dev); in __igmp_group_dropped() local [all …]
|
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | ip6_vti.c | 89 vti6_tnl_lookup(struct net *net, const struct in6_addr *remote, in vti6_tnl_lookup() 184 struct net *net = dev_net(dev); in vti6_tnl_create2() local 203 static struct ip6_tnl *vti6_tnl_create(struct net *net, struct __ip6_tnl_parm *p) in vti6_tnl_create() 254 static struct ip6_tnl *vti6_locate(struct net *net, struct __ip6_tnl_parm *p, in vti6_locate() 607 struct net *net = dev_net(skb->dev); in vti6_err() local 728 struct net *net = dev_net(t->dev); in vti6_update() local 804 struct net *net = dev_net(dev); in vti6_ioctl() local 963 struct net *net = dev_net(dev); in vti6_fb_tnl_dev_init() local 1009 struct net *net = dev_net(dev); in vti6_newlink() local 1025 struct net *net = dev_net(dev); in vti6_dellink() local [all …]
|
| H A D | ip6_output.c | 59 static int ip6_finish_output2(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_finish_output2() 157 ip6_finish_output_gso_slowpath_drop(struct net *net, struct sock *sk, in ip6_finish_output_gso_slowpath_drop() 189 static int __ip6_finish_output(struct net *net, struct sock *sk, struct sk_buff *skb) in __ip6_finish_output() 213 static int ip6_finish_output(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_finish_output() 229 int ip6_output(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_output() 249 bool ip6_autoflowlabel(struct net *net, const struct ipv6_pinfo *np) in ip6_autoflowlabel() 266 struct net *net = sock_net(sk); in ip6_xmit() local 451 static inline int ip6_forward_finish(struct net *net, struct sock *sk, in ip6_forward_finish() 493 struct net *net = dev_net(dst->dev); in ip6_forward() local 831 int ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in ip6_fragment() [all …]
|
| H A D | udp.c | 57 static u32 udp6_ehashfn(const struct net *net, in udp6_ehashfn() 101 static int compute_score(struct sock *sk, struct net *net, in compute_score() 145 static struct sock *lookup_reuseport(struct net *net, struct sock *sk, in lookup_reuseport() 164 static struct sock *udp6_lib_lookup2(struct net *net, in udp6_lib_lookup2() 192 static inline struct sock *udp6_lookup_run_bpf(struct net *net, in udp6_lookup_run_bpf() 218 struct sock *__udp6_lib_lookup(struct net *net, in __udp6_lib_lookup() 295 struct sock *udp6_lib_lookup(struct net *net, const struct in6_addr *saddr, __be16 sport, in udp6_lib_lookup() 504 static struct sock *__udp6_lib_err_encap(struct net *net, in __udp6_lib_err_encap() 560 struct net *net = dev_net(skb->dev); in __udp6_lib_err() local 760 static bool __udp_v6_is_mcast_sock(struct net *net, struct sock *sk, in __udp_v6_is_mcast_sock() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/vhost/ |
| H A D | net.c | 319 static void vhost_net_tx_packet(struct vhost_net *net) in vhost_net_tx_packet() 328 static void vhost_net_tx_err(struct vhost_net *net) in vhost_net_tx_err() 333 static bool vhost_net_tx_select_zcopy(struct vhost_net *net) in vhost_net_tx_select_zcopy() 358 static void vhost_zerocopy_signal_used(struct vhost_net *net, in vhost_zerocopy_signal_used() 459 static void vhost_tx_batch(struct vhost_net *net, in vhost_tx_batch() 507 static void vhost_net_busy_poll_try_queue(struct vhost_net *net, in vhost_net_busy_poll_try_queue() 518 static void vhost_net_busy_poll(struct vhost_net *net, in vhost_net_busy_poll() 569 static int vhost_net_tx_get_vq_desc(struct vhost_net *net, in vhost_net_tx_get_vq_desc() 597 static bool vhost_exceeds_maxpend(struct vhost_net *net) in vhost_exceeds_maxpend() 618 static int get_tx_bufs(struct vhost_net *net, in get_tx_bufs() [all …]
|
| /OK3568_Linux_fs/kernel/net/ipv4/netfilter/ |
| H A D | ip_tables.c | 187 static void trace_packet(struct net *net, in trace_packet() 451 static void cleanup_match(struct xt_entry_match *m, struct net *net) in cleanup_match() 498 static int check_target(struct ipt_entry *e, struct net *net, const char *name) in check_target() 516 find_check_entry(struct ipt_entry *e, struct net *net, const char *name, in find_check_entry() 637 cleanup_entry(struct ipt_entry *e, struct net *net) in cleanup_entry() 661 translate_table(struct net *net, struct xt_table_info *newinfo, void *entry0, in translate_table() 947 static int get_info(struct net *net, void __user *user, const int *len) in get_info() 1004 get_entries(struct net *net, struct ipt_get_entries __user *uptr, in get_entries() 1037 __do_replace(struct net *net, const char *name, unsigned int valid_hooks, in __do_replace() 1105 do_replace(struct net *net, sockptr_t arg, unsigned int len) in do_replace() [all …]
|
| H A D | arp_tables.c | 387 static int check_target(struct arpt_entry *e, struct net *net, const char *name) in check_target() 404 find_check_entry(struct arpt_entry *e, struct net *net, const char *name, in find_check_entry() 499 static void cleanup_entry(struct arpt_entry *e, struct net *net) in cleanup_entry() 518 static int translate_table(struct net *net, in translate_table() 790 static int get_info(struct net *net, void __user *user, const int *len) in get_info() 845 static int get_entries(struct net *net, struct arpt_get_entries __user *uptr, in get_entries() 879 static int __do_replace(struct net *net, const char *name, in __do_replace() 950 static int do_replace(struct net *net, sockptr_t arg, unsigned int len) in do_replace() 998 static int do_add_counters(struct net *net, sockptr_t arg, unsigned int len) in do_add_counters() 1154 static int translate_compat_table(struct net *net, in translate_compat_table() [all …]
|
| H A D | iptable_security.c | 48 static int __net_init iptable_security_table_init(struct net *net) in iptable_security_table_init() 65 static void __net_exit iptable_security_net_pre_exit(struct net *net) in iptable_security_net_pre_exit() 72 static void __net_exit iptable_security_net_exit(struct net *net) in iptable_security_net_exit()
|
| H A D | arptable_filter.c | 42 static int __net_init arptable_filter_table_init(struct net *net) in arptable_filter_table_init() 59 static void __net_exit arptable_filter_net_pre_exit(struct net *net) in arptable_filter_net_pre_exit() 66 static void __net_exit arptable_filter_net_exit(struct net *net) in arptable_filter_net_exit()
|
| /OK3568_Linux_fs/kernel/net/ipv6/netfilter/ |
| H A D | ip6_tables.c | 212 static void trace_packet(struct net *net, in trace_packet() 470 static void cleanup_match(struct xt_entry_match *m, struct net *net) in cleanup_match() 517 static int check_target(struct ip6t_entry *e, struct net *net, const char *name) in check_target() 536 find_check_entry(struct ip6t_entry *e, struct net *net, const char *name, in find_check_entry() 655 static void cleanup_entry(struct ip6t_entry *e, struct net *net) in cleanup_entry() 679 translate_table(struct net *net, struct xt_table_info *newinfo, void *entry0, in translate_table() 964 static int get_info(struct net *net, void __user *user, const int *len) in get_info() 1021 get_entries(struct net *net, struct ip6t_get_entries __user *uptr, in get_entries() 1055 __do_replace(struct net *net, const char *name, unsigned int valid_hooks, in __do_replace() 1123 do_replace(struct net *net, sockptr_t arg, unsigned int len) in do_replace() [all …]
|
| H A D | ip6table_security.c | 47 static int __net_init ip6table_security_table_init(struct net *net) in ip6table_security_table_init() 64 static void __net_exit ip6table_security_net_pre_exit(struct net *net) in ip6table_security_net_pre_exit() 71 static void __net_exit ip6table_security_net_exit(struct net *net) in ip6table_security_net_exit()
|
| /OK3568_Linux_fs/kernel/fs/nfsd/ |
| H A D | nfs4recover.c | 505 nfsd4_recdir_load(struct net *net) { in nfsd4_recdir_load() 524 nfsd4_init_recdir(struct net *net) in nfsd4_init_recdir() 558 nfsd4_shutdown_recdir(struct net *net) in nfsd4_shutdown_recdir() 569 nfs4_legacy_state_init(struct net *net) in nfs4_legacy_state_init() 588 nfs4_legacy_state_shutdown(struct net *net) in nfs4_legacy_state_shutdown() 596 nfsd4_load_reboot_recovery_data(struct net *net) in nfsd4_load_reboot_recovery_data() 612 nfsd4_legacy_tracking_init(struct net *net) in nfsd4_legacy_tracking_init() 638 nfsd4_legacy_tracking_exit(struct net *net) in nfsd4_legacy_tracking_exit() 955 nfsd4_cld_register_net(struct net *net, struct rpc_pipe *pipe) in nfsd4_cld_register_net() 969 nfsd4_cld_unregister_net(struct net *net, struct rpc_pipe *pipe) in nfsd4_cld_unregister_net() [all …]
|
| H A D | filecache.c | 49 struct net *net; member 174 struct net *net) in nfsd_file_alloc() 367 nfsd_file_list_add_disposal(struct list_head *files, struct net *net) in nfsd_file_list_add_disposal() 386 struct net *net) in nfsd_file_list_add_pernet() 721 nfsd_file_cache_purge(struct net *net) in nfsd_file_cache_purge() 753 nfsd_alloc_fcache_disposal(struct net *net) in nfsd_alloc_fcache_disposal() 793 nfsd_alloc_fcache_disposal_net(struct net *net) in nfsd_alloc_fcache_disposal_net() 805 nfsd_free_fcache_disposal_net(struct net *net) in nfsd_free_fcache_disposal_net() 822 nfsd_file_cache_start_net(struct net *net) in nfsd_file_cache_start_net() 828 nfsd_file_cache_shutdown_net(struct net *net) in nfsd_file_cache_shutdown_net() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/usb/ |
| H A D | ipheth.c | 90 struct net_device *net; member 285 struct net_device *net = dev->net; in ipheth_get_macaddr() local 332 static int ipheth_open(struct net_device *net) in ipheth_open() 352 static int ipheth_close(struct net_device *net) in ipheth_close() 361 static netdev_tx_t ipheth_tx(struct sk_buff *skb, struct net_device *net) in ipheth_tx() 403 static void ipheth_tx_timeout(struct net_device *net, unsigned int txqueue) in ipheth_tx_timeout() 412 static u32 ipheth_ethtool_op_get_link(struct net_device *net) in ipheth_ethtool_op_get_link()
|
| /OK3568_Linux_fs/kernel/net/can/ |
| H A D | af_can.c | 114 static int can_create(struct net *net, struct socket *sock, int protocol, in can_create() 303 static struct can_dev_rcv_lists *can_dev_rcv_lists_find(struct net *net, in can_dev_rcv_lists_find() 442 int can_rx_register(struct net *net, struct net_device *dev, canid_t can_id, in can_rx_register() 512 void can_rx_unregister(struct net *net, struct net_device *dev, canid_t can_id, in can_rx_unregister() 646 struct net *net = dev_net(dev); in can_receive() local 793 static int can_pernet_init(struct net *net) in can_pernet_init() 829 static void can_pernet_exit(struct net *net) in can_pernet_exit()
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | nf_flow_table_offload.c | 173 static int flow_offload_eth_src(struct net *net, in flow_offload_eth_src() 204 static int flow_offload_eth_dst(struct net *net, in flow_offload_eth_dst() 249 static void flow_offload_ipv4_snat(struct net *net, in flow_offload_ipv4_snat() 276 static void flow_offload_ipv4_dnat(struct net *net, in flow_offload_ipv4_dnat() 317 static void flow_offload_ipv6_snat(struct net *net, in flow_offload_ipv6_snat() 342 static void flow_offload_ipv6_dnat(struct net *net, in flow_offload_ipv6_dnat() 386 static void flow_offload_port_snat(struct net *net, in flow_offload_port_snat() 416 static void flow_offload_port_dnat(struct net *net, in flow_offload_port_dnat() 446 static void flow_offload_ipv4_checksum(struct net *net, in flow_offload_ipv4_checksum() 518 int nf_flow_rule_route_ipv4(struct net *net, const struct flow_offload *flow, in nf_flow_rule_route_ipv4() [all …]
|
| H A D | nf_log_netdev.c | 15 static void nf_log_netdev_packet(struct net *net, u_int8_t pf, in nf_log_netdev_packet() 34 static int __net_init nf_log_netdev_net_init(struct net *net) in nf_log_netdev_net_init() 39 static void __net_exit nf_log_netdev_net_exit(struct net *net) in nf_log_netdev_net_exit()
|
| H A D | nft_set_bitmap.c | 76 static bool nft_bitmap_lookup(const struct net *net, const struct nft_set *set, in nft_bitmap_lookup() 106 static void *nft_bitmap_get(const struct net *net, const struct nft_set *set, in nft_bitmap_get() 123 static int nft_bitmap_insert(const struct net *net, const struct nft_set *set, in nft_bitmap_insert() 146 static void nft_bitmap_remove(const struct net *net, in nft_bitmap_remove() 161 static void nft_bitmap_activate(const struct net *net, in nft_bitmap_activate() 176 static bool nft_bitmap_flush(const struct net *net, in nft_bitmap_flush() 192 static void *nft_bitmap_deactivate(const struct net *net, in nft_bitmap_deactivate()
|
| /OK3568_Linux_fs/kernel/net/tipc/ |
| H A D | core.c | 53 static int __net_init tipc_init_net(struct net *net) in tipc_init_net() 109 static void __net_exit tipc_exit_net(struct net *net) in tipc_exit_net() 127 static void __net_exit tipc_pernet_pre_exit(struct net *net) in tipc_pernet_pre_exit()
|
| H A D | core.h | 152 static inline struct tipc_net *tipc_net(struct net *net) in tipc_net() 157 static inline int tipc_netid(struct net *net) in tipc_netid() 162 static inline struct list_head *tipc_nodes(struct net *net) in tipc_nodes() 167 static inline struct name_table *tipc_name_table(struct net *net) in tipc_name_table() 172 static inline struct tipc_topsrv *tipc_topsrv(struct net *net) in tipc_topsrv() 207 static inline u32 tipc_net_hash_mixes(struct net *net, int tn_rand) in tipc_net_hash_mixes()
|
| /OK3568_Linux_fs/kernel/include/net/netfilter/ |
| H A D | nf_conntrack_labels.h | 32 struct net *net = nf_ct_net(ct); in nf_ct_labels_ext_add() local 54 static inline int nf_connlabels_get(struct net *net, unsigned int bit) { return 0; } in nf_connlabels_get() 55 static inline void nf_connlabels_put(struct net *net) {} in nf_connlabels_put()
|
| /OK3568_Linux_fs/kernel/net/bridge/netfilter/ |
| H A D | nf_log_bridge.c | 16 static void nf_log_bridge_packet(struct net *net, u_int8_t pf, in nf_log_bridge_packet() 35 static int __net_init nf_log_bridge_net_init(struct net *net) in nf_log_bridge_net_init() 40 static void __net_exit nf_log_bridge_net_exit(struct net *net) in nf_log_bridge_net_exit()
|
| /OK3568_Linux_fs/kernel/net/key/ |
| H A D | af_key.c | 96 struct net *net = sock_net(sk); in pfkey_sock_destruct() local 117 struct net *net = sock_net(sk); in pfkey_insert() local 138 static int pfkey_create(struct net *net, struct socket *sock, int protocol, in pfkey_create() 221 struct net *net) in pfkey_broadcast() 656 static struct xfrm_state *pfkey_xfrm_state_lookup(struct net *net, const struct sadb_msg *hdr, voi… in pfkey_xfrm_state_lookup() 1063 static struct xfrm_state * pfkey_msg2xfrm_state(struct net *net, in pfkey_msg2xfrm_state() 1311 struct net *net = sock_net(sk); in pfkey_getspi() local 1416 struct net *net = sock_net(sk); in pfkey_acquire() local 1503 struct net *net = sock_net(sk); in pfkey_add() local 1540 struct net *net = sock_net(sk); in pfkey_delete() local [all …]
|