/linux-master/include/net/ |
H A D | ip_fib.h | 15 #include <net/flow.h> 18 #include <net/fib_notifier.h> 19 #include <net/fib_rules.h> 20 #include <net/inet_dscp.h> 21 #include <net/inetpeer.h> 138 struct net *fib_net; 203 __be32 fib_info_update_nhc_saddr(struct net *net, struct fib_nh_common *nhc, 205 __be32 fib_result_prefsrc(struct net *net, struc 292 fib_get_table(struct net *net, u32 id) argument 306 fib_new_table(struct net *net, u32 id) argument 311 fib_lookup(struct net *net, const struct flowi4 *flp, struct fib_result *res, unsigned int flags) argument 331 fib4_has_custom_rules(const struct net *net) argument 341 fib4_rules_dump(struct net *net, struct notifier_block *nb, struct netlink_ext_ack *extack) argument 347 fib4_rules_seq_read(struct net *net) argument 352 fib4_rules_early_flow_dissect(struct net *net, struct sk_buff *skb, struct flowi4 *fl4, struct flow_keys *flkeys) argument 369 fib_lookup(struct net *net, struct flowi4 *flp, struct fib_result *res, unsigned int flags) argument 403 fib4_has_custom_rules(const struct net *net) argument 413 fib4_rules_early_flow_dissect(struct net *net, struct sk_buff *skb, struct flowi4 *fl4, struct flow_keys *flkeys) argument 447 fib_num_tclassid_users(struct net *net) argument 452 fib_num_tclassid_users(struct net *net) argument 590 fib_proc_init(struct net *net) argument 594 fib_proc_exit(struct net *net) argument [all...] |
H A D | ip6_fib.h | 16 #include <net/dst.h> 17 #include <net/flow.h> 18 #include <net/ip_fib.h> 19 #include <net/netlink.h> 20 #include <net/inetpeer.h> 21 #include <net/fib_notifier.h> 91 static inline bool fib6_routes_require_src(const struct net *net) argument 96 static inline void fib6_routes_require_src_inc(struct net *net) {} argument 97 fib6_routes_require_src_dec(struct net *net) argument 101 fib6_routes_require_src(const struct net *net) argument 106 fib6_routes_require_src_inc(struct net *net) argument 111 fib6_routes_require_src_dec(struct net *net) argument 609 pol_lookup_func(pol_lookup_t lookup, struct net *net, struct fib6_table *table, struct flowi6 *fl6, const struct sk_buff *skb, int flags) argument 625 fib6_has_custom_rules(const struct net *net) argument 637 fib6_rules_early_flow_dissect(struct net *net, struct sk_buff *skb, struct flowi6 *fl6, struct flow_keys *flkeys) argument 658 fib6_has_custom_rules(const struct net *net) argument 674 fib6_rules_dump(struct net *net, struct notifier_block *nb, struct netlink_ext_ack *extack) argument 679 fib6_rules_seq_read(struct net *net) argument 683 fib6_rules_early_flow_dissect(struct net *net, struct sk_buff *skb, struct flowi6 *fl6, struct flow_keys *flkeys) argument [all...] |
/linux-master/net/ipv4/netfilter/ |
H A D | nf_dup_ipv4.c | 14 #include <net/checksum.h> 15 #include <net/icmp.h> 16 #include <net/ip.h> 17 #include <net/route.h> 18 #include <net/netfilter/ipv4/nf_dup_ipv4.h> 20 #include <net/netfilter/nf_conntrack.h> 23 static bool nf_dup_ipv4_route(struct net *net, struct sk_buff *skb, argument 38 rt = ip_route_output_key(net, &fl4); 50 void nf_dup_ipv4(struct net *ne argument [all...] |
H A D | iptable_filter.c | 13 #include <net/ip.h> 37 static int iptable_filter_table_init(struct net *net) argument 49 err = ipt_register_table(net, &packet_filter, repl, filter_ops); 54 static int __net_init iptable_filter_net_init(struct net *net) argument 57 return iptable_filter_table_init(net); 62 static void __net_exit iptable_filter_net_pre_exit(struct net *net) argument 64 ipt_unregister_table_pre_exit(net, "filte 67 iptable_filter_net_exit(struct net *net) argument [all...] |
H A D | arptable_filter.c | 31 static int arptable_filter_table_init(struct net *net) argument 39 err = arpt_register_table(net, &packet_filter, repl, arpfilter_ops); 44 static void __net_exit arptable_filter_net_pre_exit(struct net *net) argument 46 arpt_unregister_table_pre_exit(net, "filter"); 49 static void __net_exit arptable_filter_net_exit(struct net *net) argument 51 arpt_unregister_table(net, "filter");
|
/linux-master/net/ |
H A D | sysctl_net.c | 3 * sysctl_net.c: sysctl interface to net subsystem. 6 * Added /proc/sys/net directories for each protocol family. [MS] 20 #include <net/sock.h> 23 #include <net/ip.h> 45 struct net *net = container_of(head->set, struct net, sysctls); local 48 if (ns_capable_noaudit(net->user_ns, CAP_NET_ADMIN)) { 59 struct net *net local 78 sysctl_net_init(struct net *net) argument 84 sysctl_net_exit(struct net *net) argument 123 ensure_safe_net_sysctl(struct net *net, const char *path, struct ctl_table *table, size_t table_size) argument 163 register_net_sysctl_sz(struct net *net, const char *path, struct ctl_table *table, size_t table_size) argument [all...] |
/linux-master/tools/testing/selftests/net/ |
H A D | big_tcp.sh | 31 ip -net $ROUTER_NS link add link1 type veth peer name link0 netns $CLIENT_NS 32 ip -net $ROUTER_NS link add link2 type veth peer name link3 netns $SERVER_NS 34 ip -net $CLIENT_NS link set link0 up 35 ip -net $CLIENT_NS link set link0 mtu 1442 36 ip -net $CLIENT_NS addr add $CLIENT_IP4/24 dev link0 37 ip -net $CLIENT_NS addr add $CLIENT_IP6/64 dev link0 nodad 38 ip -net $CLIENT_NS route add $SERVER_IP4 dev link0 via $CLIENT_GW4 39 ip -net $CLIENT_NS route add $SERVER_IP6 dev link0 via $CLIENT_GW6 40 ip -net $CLIENT_NS link set dev link0 \ 42 ip -net [all...] |
/linux-master/net/sunrpc/ |
H A D | sunrpc_syms.c | 3 * linux/net/sunrpc/sunrpc_syms.c 33 static __net_init int sunrpc_init_net(struct net *net) argument 36 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); 38 err = rpc_proc_init(net); 42 err = ip_map_cache_create(net); 46 err = unix_gid_cache_create(net); 50 err = rpc_pipefs_init_net(net); 60 unix_gid_cache_destroy(net); 62 ip_map_cache_destroy(net); 69 sunrpc_exit_net(struct net *net) argument [all...] |
/linux-master/net/core/ |
H A D | fib_notifier.c | 7 #include <net/net_namespace.h> 8 #include <net/netns/generic.h> 9 #include <net/fib_notifier.h> 29 int call_fib_notifiers(struct net *net, enum fib_event_type event_type, argument 32 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); 40 static unsigned int fib_seq_sum(struct net *net) argument 42 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); 51 fib_seq += ops->fib_seq_read(net); 60 fib_net_dump(struct net *net, struct notifier_block *nb, struct netlink_ext_ack *extack) argument 83 fib_dump_is_consistent(struct net *net, struct notifier_block *nb, void (*cb)(struct notifier_block *nb), unsigned int fib_seq) argument 99 register_fib_notifier(struct net *net, struct notifier_block *nb, void (*cb)(struct notifier_block *nb), struct netlink_ext_ack *extack) argument 121 unregister_fib_notifier(struct net *net, struct notifier_block *nb) argument 129 __fib_notifier_ops_register(struct fib_notifier_ops *ops, struct net *net) argument 143 fib_notifier_ops_register(const struct fib_notifier_ops *tmpl, struct net *net) argument 171 fib_notifier_net_init(struct net *net) argument 180 fib_notifier_net_exit(struct net *net) argument [all...] |
/linux-master/net/tipc/ |
H A D | net.c | 2 * net/tipc/net.c: TIPC network routing code 38 #include "net.h" 109 static void tipc_net_finalize(struct net *net, u32 addr); 111 int tipc_net_init(struct net *net, u8 *node_id, u32 addr) argument 113 if (tipc_own_id(net)) { 120 tipc_set_node_id(net, node_id); 122 tipc_net_finalize(net, add 126 tipc_net_finalize(struct net *net, u32 addr) argument 151 tipc_net_stop(struct net *net) argument 164 __tipc_nl_add_net(struct net *net, struct tipc_nl_msg *msg) argument 202 struct net *net = sock_net(skb->sk); local 228 struct net *net = sock_net(skb->sk); local 291 __tipc_nl_addr_legacy_get(struct net *net, struct tipc_nl_msg *msg) argument 325 struct net *net = sock_net(skb->sk); local [all...] |
/linux-master/include/linux/ |
H A D | netfilter_ipv4.h | 19 int ip_route_me_harder(struct net *net, struct sock *sk, struct sk_buff *skb, unsigned addr_type); 26 int nf_ip_route(struct net *net, struct dst_entry **dst, struct flowi *fl, 34 static inline int nf_ip_route(struct net *net, struct dst_entry **dst, argument
|
H A D | netfilter.h | 7 #include <linux/net.h> 18 #include <net/net_namespace.h> 84 struct net *net; member in struct:nf_hook_state 85 int (*okfn)(struct net *, struct sock *, struct sk_buff *); 163 struct net *net, 164 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) 171 p->net = net; 157 nf_hook_state_init(struct nf_hook_state *p, unsigned int hook, u_int8_t pf, struct net_device *indev, struct net_device *outdev, struct sock *sk, struct net *net, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument 223 nf_hook(u_int8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument 294 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *in, struct net_device *out, int (*okfn)(struct net *, struct sock *, struct sk_buff *), bool cond) argument 308 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *in, struct net_device *out, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument 319 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct list_head *head, struct net_device *in, struct net_device *out, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument 409 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *in, struct net_device *out, int (*okfn)(struct net *, struct sock *, struct sk_buff *), bool cond) argument 418 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *in, struct net_device *out, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument 426 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct list_head *head, struct net_device *in, struct net_device *out, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument 433 nf_hook(u_int8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument [all...] |
H A D | inet.h | 42 #include <net/net_namespace.h> 56 extern int inet_pton_with_scope(struct net *net, unsigned short af,
|
/linux-master/net/ipv6/ |
H A D | udp_impl.h | 4 #include <net/udp.h> 5 #include <net/udplite.h> 6 #include <net/protocol.h> 7 #include <net/addrconf.h> 8 #include <net/inet_common.h> 9 #include <net/transp_v6.h>
|
/linux-master/include/linux/lockd/ |
H A D | bind.h | 49 struct net *net; member in struct:nlmclnt_initdata 82 extern int lockd_up(struct net *net, const struct cred *cred); 83 extern void lockd_down(struct net *net);
|
/linux-master/net/sunrpc/auth_gss/ |
H A D | gss_rpc_upcall.h | 3 * linux/net/sunrpc/gss_rpc_upcall.h 28 int gssp_accept_sec_context_upcall(struct net *net, 33 int set_gssp_clnt(struct net *);
|
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_flow.h | 7 #include <net/flow_offload.h> 21 struct net *net; member in struct:prestera_flow_block
|
/linux-master/net/ipv6/netfilter/ |
H A D | ip6table_filter.c | 36 static int ip6table_filter_table_init(struct net *net) argument 48 err = ip6t_register_table(net, &packet_filter, repl, filter_ops); 53 static int __net_init ip6table_filter_net_init(struct net *net) argument 56 return ip6table_filter_table_init(net); 61 static void __net_exit ip6table_filter_net_pre_exit(struct net *net) argument 63 ip6t_unregister_table_pre_exit(net, "filter"); 66 static void __net_exit ip6table_filter_net_exit(struct net *ne argument [all...] |
/linux-master/fs/nfs/ |
H A D | cache_lib.h | 27 extern int nfs_cache_register_net(struct net *net, struct cache_detail *cd); 28 extern void nfs_cache_unregister_net(struct net *net, struct cache_detail *cd);
|
/linux-master/drivers/net/wireless/ti/wlcore/ |
H A D | testmode.h | 13 #include <net/mac80211.h>
|
/linux-master/include/net/netns/ |
H A D | ieee802154_6lowpan.h | 3 * ieee802154 6lowpan in net namespaces 6 #include <net/inet_frag.h>
|
/linux-master/drivers/net/ethernet/ti/ |
H A D | cpsw_switchdev.h | 9 #include <net/switchdev.h>
|
/linux-master/include/linux/sunrpc/ |
H A D | svcauth_gss.h | 21 int gss_svc_init_net(struct net *net); 22 void gss_svc_shutdown_net(struct net *net);
|
/linux-master/include/net/caif/ |
H A D | cfcnfg.h | 11 #include <net/caif/caif_layer.h> 12 #include <net/caif/cfctrl.h> 38 * @net: Network for the CAIF configuration object. 40 struct cfcnfg *get_cfcnfg(struct net *net);
|
H A D | cfserl.h | 9 #include <net/caif/caif_layer.h>
|