| /OK3568_Linux_fs/kernel/net/l2tp/ |
| H A D | l2tp_netlink.c | 53 struct net *net = genl_info_net(info); in l2tp_nl_session_get() local 193 struct net *net = genl_info_net(info); in l2tp_nl_cmd_tunnel_create() local 263 struct net *net = genl_info_net(info); in l2tp_nl_cmd_tunnel_delete() local 293 struct net *net = genl_info_net(info); in l2tp_nl_cmd_tunnel_modify() local 455 struct net *net = genl_info_net(info); in l2tp_nl_cmd_tunnel_get() local 497 struct net *net = sock_net(skb->sk); in l2tp_nl_cmd_tunnel_dump() local 530 struct net *net = genl_info_net(info); in l2tp_nl_cmd_session_create() local 831 struct net *net = sock_net(skb->sk); in l2tp_nl_cmd_session_dump() local
|
| /OK3568_Linux_fs/kernel/net/bridge/netfilter/ |
| H A D | ebtable_broute.c | 94 static int __net_init broute_net_init(struct net *net) in broute_net_init() 100 static void __net_exit broute_net_pre_exit(struct net *net) in broute_net_pre_exit() 105 static void __net_exit broute_net_exit(struct net *net) in broute_net_exit()
|
| H A D | ebtable_filter.c | 88 static int __net_init frame_filter_net_init(struct net *net) in frame_filter_net_init() 94 static void __net_exit frame_filter_net_pre_exit(struct net *net) in frame_filter_net_pre_exit() 99 static void __net_exit frame_filter_net_exit(struct net *net) in frame_filter_net_exit()
|
| H A D | ebtable_nat.c | 88 static int __net_init frame_nat_net_init(struct net *net) in frame_nat_net_init() 94 static void __net_exit frame_nat_net_pre_exit(struct net *net) in frame_nat_net_pre_exit() 99 static void __net_exit frame_nat_net_exit(struct net *net) in frame_nat_net_exit()
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | tcp_metrics.c | 152 struct net *net; in tcpm_new() local 213 struct net *net, unsigned int hash) in __tcp_get_metrics() 235 struct net *net; in __tcp_get_metrics_req() local 278 struct net *net; in tcp_get_metrics() local 325 struct net *net = sock_net(sk); in tcp_update_metrics() local 448 struct net *net = sock_net(sk); in tcp_init_metrics() local 748 struct net *net = sock_net(skb->sk); in tcp_metrics_nl_dump() local 826 struct net *net = genl_info_net(info); in tcp_metrics_nl_cmd_get() local 876 static void tcp_metrics_flush_all(struct net *net) in tcp_metrics_flush_all() 910 struct net *net = genl_info_net(info); in tcp_metrics_nl_cmd_del() local [all …]
|
| H A D | fib_semantics.c | 222 void fib_nh_release(struct net *net, struct fib_nh *fib_nh) in fib_nh_release() 375 static struct fib_info *fib_find_info_nh(struct net *net, in fib_find_info_nh() 581 int fib_nh_common_init(struct net *net, struct fib_nh_common *nhc, in fib_nh_common_init() 619 int fib_nh_init(struct net *net, struct fib_nh *nh, in fib_nh_init() 692 struct net *net = fi->fib_net; in fib_get_nhs() local 852 static int fib_encap_match(struct net *net, u16 encap_type, in fib_encap_match() 874 int fib_nh_match(struct net *net, struct fib_config *cfg, struct fib_info *fi, in fib_nh_match() 1047 static int fib_check_nh_v6_gw(struct net *net, struct fib_nh *nh, in fib_check_nh_v6_gw() 1115 static int fib_check_nh_v4_gw(struct net *net, struct fib_nh *nh, u32 table, in fib_check_nh_v4_gw() 1209 static int fib_check_nh_nongw(struct net *net, struct fib_nh *nh, in fib_check_nh_nongw() [all …]
|
| H A D | inet_hashtables.c | 31 static u32 inet_ehashfn(const struct net *net, const __be32 laddr, in inet_ehashfn() 65 struct net *net, in inet_bind_bucket_create() 232 static inline int compute_score(struct sock *sk, struct net *net, in compute_score() 255 static inline struct sock *lookup_reuseport(struct net *net, struct sock *sk, in lookup_reuseport() 278 static struct sock *inet_lhash2_lookup(struct net *net, in inet_lhash2_lookup() 306 static inline struct sock *inet_lookup_run_bpf(struct net *net, in inet_lookup_run_bpf() 329 struct sock *__inet_lookup_listener(struct net *net, in __inet_lookup_listener() 392 struct sock *__inet_lookup_established(struct net *net, in __inet_lookup_established() 448 struct net *net = sock_net(sk); in __inet_check_established() local 523 struct net *net = sock_net(sk); in inet_ehash_lookup_by_sk() local [all …]
|
| H A D | udp.c | 133 static int udp_lib_lport_inuse(struct net *net, __u16 num, in udp_lib_lport_inuse() 169 static int udp_lib_lport_inuse2(struct net *net, __u16 num, in udp_lib_lport_inuse2() 202 struct net *net = sock_net(sk); in udp_reuseport_add_sock() local 237 struct net *net = sock_net(sk); in udp_lib_get_port() local 358 static int compute_score(struct sock *sk, struct net *net, in compute_score() 402 static u32 udp_ehashfn(const struct net *net, const __be32 laddr, in udp_ehashfn() 414 static struct sock *lookup_reuseport(struct net *net, struct sock *sk, in lookup_reuseport() 431 static struct sock *udp4_lib_lookup2(struct net *net, in udp4_lib_lookup2() 460 static struct sock *udp4_lookup_run_bpf(struct net *net, in udp4_lookup_run_bpf() 486 struct sock *__udp4_lib_lookup(struct net *net, __be32 saddr, in __udp4_lib_lookup() [all …]
|
| /OK3568_Linux_fs/kernel/fs/lockd/ |
| H A D | host.c | 62 struct net *net; /* network namespace to bind */ member 222 struct net *net, in nlmclnt_lookup_host() 337 struct net *net = SVC_NET(rqstp); in nlmsvc_lookup_host() local 557 void nlm_host_rebooted(const struct net *net, const struct nlm_reboot *info) in nlm_host_rebooted() 583 static void nlm_complain_hosts(struct net *net) in nlm_complain_hosts() 614 nlm_shutdown_hosts_net(struct net *net) in nlm_shutdown_hosts_net() 657 nlm_gc_hosts(struct net *net) in nlm_gc_hosts()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | netfilter_ipv6.h | 82 static inline int nf_ipv6_chk_addr(struct net *net, const struct in6_addr *addr, in nf_ipv6_chk_addr() 102 static inline int nf_ip6_route(struct net *net, struct dst_entry **dst, in nf_ip6_route() 128 static inline int nf_br_ip6_fragment(struct net *net, struct sock *sk, in nf_br_ip6_fragment() 131 int (*output)(struct net *, struct sock *sk, in nf_br_ip6_fragment() 151 static inline int nf_ip6_route_me_harder(struct net *net, struct sock *sk, struct sk_buff *skb) in nf_ip6_route_me_harder()
|
| /OK3568_Linux_fs/kernel/net/tipc/ |
| H A D | topsrv.c | 70 struct net *net; member 313 void tipc_topsrv_queue_evt(struct net *net, int conid, in tipc_topsrv_queue_evt() 568 bool tipc_topsrv_kern_subscr(struct net *net, u32 port, u32 type, u32 lower, in tipc_topsrv_kern_subscr() 595 void tipc_topsrv_kern_unsubscr(struct net *net, int conid) in tipc_topsrv_kern_unsubscr() 609 static void tipc_topsrv_kern_evt(struct net *net, struct tipc_event *evt) in tipc_topsrv_kern_evt() 652 static int tipc_topsrv_start(struct net *net) in tipc_topsrv_start() 691 static void tipc_topsrv_stop(struct net *net) in tipc_topsrv_stop() 718 int __net_init tipc_topsrv_init_net(struct net *net) in tipc_topsrv_init_net() 723 void __net_exit tipc_topsrv_exit_net(struct net *net) in tipc_topsrv_exit_net()
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | nfnetlink_log.c | 64 struct net *net; member 90 static struct nfnl_log_net *nfnl_log_pernet(struct net *net) in nfnl_log_pernet() 154 instance_create(struct net *net, u_int16_t group_num, in instance_create() 322 nfulnl_alloc_skb(struct net *net, u32 peer_portid, unsigned int inst_size, in nfulnl_alloc_skb() 669 nfulnl_log_packet(struct net *net, in nfulnl_log_packet() 843 static int nfulnl_recv_unsupp(struct net *net, struct sock *ctnl, in nfulnl_recv_unsupp() 867 static int nfulnl_recv_config(struct net *net, struct sock *ctnl, in nfulnl_recv_config() 1011 static struct hlist_node *get_first(struct net *net, struct iter_state *st) in get_first() 1028 static struct hlist_node *get_next(struct net *net, struct iter_state *st, in get_next() 1046 static struct hlist_node *get_idx(struct net *net, struct iter_state *st, in get_idx() [all …]
|
| H A D | nfnetlink_queue.c | 91 static struct nfnl_queue_net *nfnl_queue_pernet(struct net *net) in nfnl_queue_pernet() 375 nfqnl_build_packet_message(struct net *net, struct nfqnl_instance *queue, in nfqnl_build_packet_message() 648 __nfqnl_enqueue_packet(struct net *net, struct nfqnl_instance *queue, in __nfqnl_enqueue_packet() 744 __nfqnl_enqueue_packet_gso(struct net *net, struct nfqnl_instance *queue, in __nfqnl_enqueue_packet_gso() 780 struct net *net = entry->state.net; in nfqnl_enqueue_packet() local 925 nfqnl_dev_drop(struct net *net, int ifindex) in nfqnl_dev_drop() 959 static void nfqnl_nf_hook_drop(struct net *net) in nfqnl_nf_hook_drop() 1059 static int nfqnl_recv_verdict_batch(struct net *net, struct sock *ctnl, in nfqnl_recv_verdict_batch() 1167 static int nfqnl_recv_verdict(struct net *net, struct sock *ctnl, in nfqnl_recv_verdict() 1233 static int nfqnl_recv_unsupp(struct net *net, struct sock *ctnl, in nfqnl_recv_unsupp() [all …]
|
| /OK3568_Linux_fs/kernel/include/net/netfilter/ |
| H A D | nf_conntrack_acct.h | 33 struct net *net = nf_ct_net(ct); in nf_ct_acct_ext_add() local 51 static inline bool nf_ct_acct_enabled(struct net *net) in nf_ct_acct_enabled() 61 static inline void nf_ct_set_acct(struct net *net, bool enable) in nf_ct_set_acct()
|
| /OK3568_Linux_fs/kernel/net/ipv4/netfilter/ |
| H A D | nf_log_ipv4.c | 35 static void dump_ipv4_packet(struct net *net, struct nf_log_buf *m, in dump_ipv4_packet() 311 static void nf_log_ip_packet(struct net *net, u_int8_t pf, in nf_log_ip_packet() 347 static int __net_init nf_log_ipv4_net_init(struct net *net) in nf_log_ipv4_net_init() 352 static void __net_exit nf_log_ipv4_net_exit(struct net *net) in nf_log_ipv4_net_exit()
|
| H A D | iptable_raw.c | 49 static int __net_init iptable_raw_table_init(struct net *net) in iptable_raw_table_init() 70 static void __net_exit iptable_raw_net_pre_exit(struct net *net) in iptable_raw_net_pre_exit() 77 static void __net_exit iptable_raw_net_exit(struct net *net) in iptable_raw_net_exit()
|
| H A D | nf_defrag_ipv4.c | 25 static int nf_ct_ipv4_gather_frags(struct net *net, struct sk_buff *skb, in nf_ct_ipv4_gather_frags() 107 static void __net_exit defrag4_net_exit(struct net *net) in defrag4_net_exit() 130 int nf_defrag_ipv4_enable(struct net *net) in nf_defrag_ipv4_enable()
|
| /OK3568_Linux_fs/kernel/fs/nfs/ |
| H A D | callback.c | 42 static int nfs4_callback_up_net(struct svc_serv *serv, struct net *net) in nfs4_callback_up_net() 184 static void nfs_callback_down_net(u32 minorversion, struct svc_serv *serv, struct net *net) in nfs_callback_down_net() 196 struct net *net, struct rpc_xprt *xprt) in nfs_callback_up_net() 319 struct net *net = xprt->xprt_net; in nfs_callback_up() local 361 void nfs_callback_down(int minorversion, struct net *net) in nfs_callback_down()
|
| H A D | dns_resolve.c | 18 ssize_t nfs_dns_resolve_name(struct net *net, char *name, size_t namelen, in nfs_dns_resolve_name() 343 ssize_t nfs_dns_resolve_name(struct net *net, char *name, in nfs_dns_resolve_name() 383 int nfs_dns_resolver_cache_init(struct net *net) in nfs_dns_resolver_cache_init() 402 void nfs_dns_resolver_cache_destroy(struct net *net) in nfs_dns_resolver_cache_destroy() 410 static int nfs4_dns_net_init(struct net *net) in nfs4_dns_net_init() 415 static void nfs4_dns_net_exit(struct net *net) in nfs4_dns_net_exit() 429 struct net *net = sb->s_fs_info; in rpc_pipefs_event() local
|
| /OK3568_Linux_fs/kernel/net/xfrm/ |
| H A D | xfrm_interface.c | 69 static struct xfrm_if *xfrmi_lookup(struct net *net, struct xfrm_state *x) in xfrmi_lookup() 102 struct net *net = xs_net(xfrm_input_state(skb)); in xfrmi_decode_session() local 151 struct net *net = dev_net(dev); in xfrmi_create() local 168 static struct xfrm_if *xfrmi_locate(struct net *net, struct xfrm_if_parms *p) in xfrmi_locate() 412 struct net *net = dev_net(skb->dev); in xfrmi4_err() local 472 struct net *net = dev_net(skb->dev); in xfrmi6_err() local 535 struct net *net = xi->net; in xfrmi_update() local 648 struct net *net = dev_net(dev); in xfrmi_newlink() local 682 struct net *net = xi->net; in xfrmi_changelink() local 755 struct net *net; in xfrmi_exit_batch_net() local
|
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | netfilter.c | 23 int ip6_route_me_harder(struct net *net, struct sock *sk_partial, struct sk_buff *skb) in ip6_route_me_harder() 92 int __nf_ip6_route(struct net *net, struct dst_entry **dst, in __nf_ip6_route() 115 int br_ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in br_ip6_fragment() 117 int (*output)(struct net *, struct sock *sk, in br_ip6_fragment()
|
| H A D | ip6_tunnel.c | 144 ip6_tnl_lookup(struct net *net, int link, in ip6_tnl_lookup() 283 struct net *net = dev_net(dev); in ip6_tnl_create2() local 315 static struct ip6_tnl *ip6_tnl_create(struct net *net, struct __ip6_tnl_parm *p) in ip6_tnl_create() 367 static struct ip6_tnl *ip6_tnl_locate(struct net *net, in ip6_tnl_locate() 405 struct net *net = t->net; in ip6_tnl_dev_uninit() local 500 struct net *net = dev_net(skb->dev); in ip6_tnl_err() local 802 struct net *net = t->net; in ip6_tnl_rcv_ctl() local 1053 struct net *net = t->net; in ip6_tnl_xmit_ctl() local 1110 struct net *net = t->net; in ip6_tnl_xmit() local 1566 struct net *net = t->net; in ip6_tnl_update() local [all …]
|
| /OK3568_Linux_fs/kernel/net/bridge/ |
| H A D | br_input.c | 27 br_netif_receive_skb(struct net *net, struct sock *sk, struct sk_buff *skb) in br_netif_receive_skb() 78 int br_handle_frame_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in br_handle_frame_finish() 203 static int br_handle_local_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in br_handle_local_finish() 217 struct net *net; in nf_hook_bridge_pre() local
|
| /OK3568_Linux_fs/kernel/net/ipv6/netfilter/ |
| H A D | ip6table_raw.c | 48 static int __net_init ip6table_raw_table_init(struct net *net) in ip6table_raw_table_init() 69 static void __net_exit ip6table_raw_net_pre_exit(struct net *net) in ip6table_raw_net_pre_exit() 76 static void __net_exit ip6table_raw_net_exit(struct net *net) in ip6table_raw_net_exit()
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | rtnetlink.c | 412 static void __rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops) in __rtnl_kill_links() 434 struct net *net; in __rtnl_link_unregister() local 448 struct net *net; in rtnl_lock_unregistering_all() local 706 int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, unsigned int group, int echo) in rtnetlink_send() 720 int rtnl_unicast(struct sk_buff *skb, struct net *net, u32 pid) in rtnl_unicast() 728 void rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid, u32 group, in rtnl_notify() 741 void rtnl_set_sk_err(struct net *net, u32 group, int error) in rtnl_set_sk_err() 1995 struct net *net; in rtnl_get_net_ns_capable() local 2060 struct net *net = sock_net(skb->sk); in rtnl_dump_ifinfo() local 2168 struct net *net; in rtnl_link_get_net() local [all …]
|