/linux-4.1.27/include/net/ |
D | net_namespace.h | 45 struct net { struct 46 atomic_t passive; /* To decided when the network argument 49 atomic_t count; /* To decided when the network argument 56 struct list_head list; /* list of network namespaces */ argument 58 struct list_head exit_list; /* Use only net_mutex */ argument 61 struct idr netns_ids; argument 65 struct proc_dir_entry *proc_net; argument 66 struct proc_dir_entry *proc_net_stat; argument 72 struct sock *rtnl; /* rtnetlink socket */ argument 86 struct net_device *loopback_dev; /* The loopback */ argument [all …]
|
D | wext.h | 17 static inline int wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd, in wext_handle_ioctl() 22 static inline int compat_wext_handle_ioctl(struct net *net, unsigned int cmd, in compat_wext_handle_ioctl() 33 static inline int wext_proc_init(struct net *net) in wext_proc_init() 37 static inline void wext_proc_exit(struct net *net) in wext_proc_exit()
|
D | icmp.h | 32 #define ICMP_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.icmp_statistics, field) argument 33 #define ICMP_INC_STATS_BH(net, field) SNMP_INC_STATS_BH((net)->mib.icmp_statistics, field) argument 34 #define ICMPMSGOUT_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, … argument 35 #define ICMPMSGIN_INC_STATS_BH(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics… argument
|
D | ip.h | 192 #define IP_INC_STATS(net, field) SNMP_INC_STATS64((net)->mib.ip_statistics, field) argument 193 #define IP_INC_STATS_BH(net, field) SNMP_INC_STATS64_BH((net)->mib.ip_statistics, field) argument 194 #define IP_ADD_STATS(net, field, val) SNMP_ADD_STATS64((net)->mib.ip_statistics, field, val) argument 195 #define IP_ADD_STATS_BH(net, field, val) SNMP_ADD_STATS64_BH((net)->mib.ip_statistics, field, val) argument 196 #define IP_UPD_PO_STATS(net, field, val) SNMP_UPD_PO_STATS64((net)->mib.ip_statistics, field, val) argument 197 #define IP_UPD_PO_STATS_BH(net, field, val) SNMP_UPD_PO_STATS64_BH((net)->mib.ip_statistics, field,… argument 198 #define NET_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.net_statistics, field) argument 199 #define NET_INC_STATS_BH(net, field) SNMP_INC_STATS_BH((net)->mib.net_statistics, field) argument 200 #define NET_INC_STATS_USER(net, field) SNMP_INC_STATS_USER((net)->mib.net_statistics, field) argument 201 #define NET_ADD_STATS(net, field, adnd) SNMP_ADD_STATS((net)->mib.net_statistics, field, adnd) argument [all …]
|
D | ipv6.h | 115 #define IP6_REPLY_MARK(net, mark) \ argument 124 #define _DEVINC(net, statname, modifier, idev, field) \ argument 133 #define _DEVINCATOMIC(net, statname, modifier, idev, field) \ argument 142 #define _DEVINC_ATOMIC_ATOMIC(net, statname, idev, field) \ argument 150 #define _DEVADD(net, statname, modifier, idev, field, val) \ argument 158 #define _DEVUPD(net, statname, modifier, idev, field, val) \ argument 168 #define IP6_INC_STATS(net, idev,field) \ argument 170 #define IP6_INC_STATS_BH(net, idev,field) \ argument 172 #define IP6_ADD_STATS(net, idev,field,val) \ argument 174 #define IP6_ADD_STATS_BH(net, idev,field,val) \ argument [all …]
|
D | udp.h | 84 struct net *net, unsigned int num) in udp_hashslot() 199 static inline __be16 udp_flow_src_port(struct net *net, struct sk_buff *skb, in udp_flow_src_port() 274 #define UDP_INC_STATS_USER(net, field, is_udplite) do { \ argument 277 #define UDP_INC_STATS_BH(net, field, is_udplite) do { \ argument 281 #define UDP6_INC_STATS_BH(net, field, is_udplite) do { \ argument 285 #define UDP6_INC_STATS_USER(net, field, __lite) do { \ argument
|
D | ip_fib.h | 172 #define FIB_RES_SADDR(net, res) \ argument 181 #define FIB_RES_PREFSRC(net, res) ((res).fi->fib_prefsrc ? : \ argument 210 static inline struct fib_table *fib_get_table(struct net *net, u32 id) in fib_get_table() 224 static inline struct fib_table *fib_new_table(struct net *net, u32 id) in fib_new_table() 229 static inline int fib_lookup(struct net *net, const struct flowi4 *flp, in fib_lookup() 255 static inline int fib_lookup(struct net *net, struct flowi4 *flp, in fib_lookup() 294 static inline int fib_num_tclassid_users(struct net *net) in fib_num_tclassid_users() 299 static inline int fib_num_tclassid_users(struct net *net) in fib_num_tclassid_users() 346 static inline int fib_proc_init(struct net *net) in fib_proc_init() 350 static inline void fib_proc_exit(struct net *net) in fib_proc_exit()
|
D | inet_hashtables.h | 224 static inline u32 inet_bhashfn(const struct net *net, const __u16 lport, in inet_bhashfn() 234 static inline u32 inet_lhashfn(const struct net *net, const unsigned short num) in inet_lhashfn() 263 static inline struct sock *inet_lookup_listener(struct net *net, in inet_lookup_listener() 333 inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, in inet_lookup_established() 342 static inline struct sock *__inet_lookup(struct net *net, in __inet_lookup() 356 static inline struct sock *inet_lookup(struct net *net, in inet_lookup()
|
/linux-4.1.27/net/core/ |
D | net_namespace.c | 56 static int net_assign_generic(struct net *net, int id, void *data) in net_assign_generic() 93 static int ops_init(const struct pernet_operations *ops, struct net *net) in ops_init() 120 static void ops_free(const struct pernet_operations *ops, struct net *net) in ops_free() 131 struct net *net; in ops_exit_list() local 143 struct net *net; in ops_free_list() local 152 static int alloc_netid(struct net *net, struct net *peer, int reqid) in alloc_netid() 176 static int net_eq_idr(int id, void *net, void *peer) in net_eq_idr() 183 static int __peernet2id(struct net *net, struct net *peer, bool alloc) in __peernet2id() 204 int peernet2id(struct net *net, struct net *peer) in peernet2id() 214 struct net *get_net_ns_by_id(struct net *net, int id) in get_net_ns_by_id() [all …]
|
D | dev_ioctl.c | 20 static int dev_ifname(struct net *net, struct ifreq __user *arg) in dev_ifname() 67 static int dev_ifconf(struct net *net, char __user *arg) in dev_ifconf() 121 static int dev_ifsioc_locked(struct net *net, struct ifreq *ifr, unsigned int cmd) in dev_ifsioc_locked() 241 static int dev_ifsioc(struct net *net, struct ifreq *ifr, unsigned int cmd) in dev_ifsioc() 359 void dev_load(struct net *net, const char *name) in dev_load() 393 int dev_ioctl(struct net *net, unsigned int cmd, void __user *arg) in dev_ioctl()
|
D | fib_rules.c | 68 static struct fib_rules_ops *lookup_rules_ops(struct net *net, int family) in lookup_rules_ops() 102 struct net *net; in __fib_rules_register() local 128 fib_rules_register(const struct fib_rules_ops *tmpl, struct net *net) in fib_rules_register() 164 struct net *net = ops->fro_net; in fib_rules_unregister() local 267 struct net *net = sock_net(skb->sk); in fib_nl_newrule() local 424 struct net *net = sock_net(skb->sk); in fib_nl_delrule() local 642 struct net *net = sock_net(skb->sk); in fib_nl_dumprule() local 680 struct net *net; in notify_rule_change() local 735 struct net *net = dev_net(dev); in fib_rules_event() local 766 static int __net_init fib_rules_net_init(struct net *net) in fib_rules_net_init()
|
D | rtnetlink.c | 335 static void __rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops) in __rtnl_kill_links() 355 struct net *net; in __rtnl_link_unregister() local 369 struct net *net; in rtnl_lock_unregistering_all() local 619 int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, unsigned int group, int echo) in rtnetlink_send() 633 int rtnl_unicast(struct sk_buff *skb, struct net *net, u32 pid) in rtnl_unicast() 641 void rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid, u32 group, in rtnl_notify() 654 void rtnl_set_sk_err(struct net *net, u32 group, int error) in rtnl_set_sk_err() 1316 struct net *net = sock_net(skb->sk); in rtnl_dump_ifinfo() local 1386 struct net *net; in rtnl_link_get_net() local 1577 struct net *net = rtnl_link_get_net(dev_net(dev), tb); in do_setlink() local [all …]
|
D | flow.c | 34 struct net *net; member 192 flow_cache_lookup(struct net *net, const struct flowi *key, u16 family, u8 dir, in flow_cache_lookup() 340 void flow_cache_flush(struct net *net) in flow_cache_flush() 383 struct net *net = container_of(xfrm, struct net, xfrm); in flow_cache_flush_task() local 388 void flow_cache_flush_deferred(struct net *net) in flow_cache_flush_deferred() 435 int flow_cache_init(struct net *net) in flow_cache_init() 494 void flow_cache_fini(struct net *net) in flow_cache_fini()
|
D | net-procfs.c | 17 struct net *net = seq_file_net(seq); in dev_from_same_bucket() local 315 static int __net_init dev_proc_net_init(struct net *net) in dev_proc_net_init() 341 static void __net_exit dev_proc_net_exit(struct net *net) in dev_proc_net_exit() 400 static int __net_init dev_mc_net_init(struct net *net) in dev_mc_net_init() 407 static void __net_exit dev_mc_net_exit(struct net *net) in dev_mc_net_exit()
|
/linux-4.1.27/net/ipv4/ |
D | fib_frontend.c | 51 static int __net_init fib4_rules_init(struct net *net) in fib4_rules_init() 75 struct fib_table *fib_new_table(struct net *net, u32 id) in fib_new_table() 113 struct fib_table *fib_get_table(struct net *net, u32 id) in fib_get_table() 132 static void fib_replace_table(struct net *net, struct fib_table *old, in fib_replace_table() 155 int fib_unmerge(struct net *net) in fib_unmerge() 177 static void fib_flush(struct net *net) in fib_flush() 195 void fib_flush_external(struct net *net) in fib_flush_external() 212 static inline unsigned int __inet_dev_addr_type(struct net *net, in __inet_dev_addr_type() 241 unsigned int inet_addr_type(struct net *net, __be32 addr) in inet_addr_type() 247 unsigned int inet_dev_addr_type(struct net *net, const struct net_device *dev, in inet_dev_addr_type() [all …]
|
D | xfrm4_policy.c | 21 static struct dst_entry *__xfrm4_dst_lookup(struct net *net, struct flowi4 *fl4, in __xfrm4_dst_lookup() 41 static struct dst_entry *xfrm4_dst_lookup(struct net *net, int tos, in xfrm4_dst_lookup() 50 static int xfrm4_get_saddr(struct net *net, in xfrm4_get_saddr() 191 struct net *net = container_of(ops, struct net, xfrm.xfrm4_dst_ops); in xfrm4_garbage_collect() local 269 static int __net_init xfrm4_net_sysctl_init(struct net *net) in xfrm4_net_sysctl_init() 297 static void __net_exit xfrm4_net_sysctl_exit(struct net *net) in xfrm4_net_sysctl_exit() 310 static int inline xfrm4_net_sysctl_init(struct net *net) in xfrm4_net_sysctl_init() 315 static void inline xfrm4_net_sysctl_exit(struct net *net) in xfrm4_net_sysctl_exit() 320 static int __net_init xfrm4_net_init(struct net *net) in xfrm4_net_init() 337 static void __net_exit xfrm4_net_exit(struct net *net) in xfrm4_net_exit()
|
D | ipmr.c | 76 possible_net_t net; member 141 #define ipmr_for_each_table(mrt, net) \ argument 144 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table() 155 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup() 243 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init() 275 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit() 288 #define ipmr_for_each_table(mrt, net) \ argument 291 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table() 296 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup() 303 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init() [all …]
|
D | proc.c | 54 struct net *net = seq->private; in sockstat_seq_show() local 328 struct net *net = seq->private; in icmpmsg_put() local 350 struct net *net = seq->private; in icmp_put() local 380 struct net *net = seq->private; in snmp_seq_show() local 464 struct net *net = seq->private; in netstat_seq_show() local 504 static __net_init int ip_proc_init_net(struct net *net) in ip_proc_init_net() 524 static __net_exit void ip_proc_exit_net(struct net *net) in ip_proc_exit_net()
|
D | ip_fragment.c | 90 int ip_frag_mem(struct net *net) in ip_frag_mem() 137 struct net *net = container_of(ipv4, struct net, ipv4); in ip4_frag_init() local 182 struct net *net; in ip_expire() local 239 static struct ipq *ip_find(struct net *net, struct iphdr *iph, u32 user) in ip_find() 277 struct net *net; in ip_frag_too_far() local 505 struct net *net = container_of(qp->q.net, struct net, ipv4.frags); in ip_frag_reasm() local 639 struct net *net; in ip_defrag() local 754 static int __net_init ip4_frags_ns_ctl_register(struct net *net) in ip4_frags_ns_ctl_register() 791 static void __net_exit ip4_frags_ns_ctl_unregister(struct net *net) in ip4_frags_ns_ctl_unregister() 805 static int ip4_frags_ns_ctl_register(struct net *net) in ip4_frags_ns_ctl_register() [all …]
|
D | icmp.c | 206 static struct sock *icmp_sk(struct net *net) in icmp_sk() 211 static inline struct sock *icmp_xmit_lock(struct net *net) in icmp_xmit_lock() 288 static bool icmpv4_xrlim_allow(struct net *net, struct rtable *rt, in icmpv4_xrlim_allow() 326 void icmp_out_count(struct net *net, unsigned char type) in icmp_out_count() 391 struct net *net = dev_net(rt->dst.dev); in icmp_reply() local 440 static struct rtable *icmp_route_lookup(struct net *net, in icmp_route_lookup() 555 struct net *net; in icmp_send() local 753 struct net *net; in icmp_unreach() local 883 struct net *net; in icmp_echo() local 955 struct net *net = dev_net(rt->dst.dev); in icmp_rcv() local [all …]
|
D | ping.c | 67 static inline u32 ping_hashfn(const struct net *net, u32 num, u32 mask) in ping_hashfn() 77 struct net *net, unsigned int num) in ping_hashslot() 171 static struct sock *ping_lookup(struct net *net, struct sk_buff *skb, u16 ident) in ping_lookup() 239 static void inet_get_ping_group_range_net(struct net *net, kgid_t *low, in inet_get_ping_group_range_net() 256 struct net *net = sock_net(sk); in ping_init_sock() local 304 struct net *net = sock_net(sk); in ping_check_bind_addr() local 491 struct net *net = dev_net(skb->dev); in ping_err() local 698 struct net *net = sock_net(sk); in ping_v4_sendmsg() local 965 struct net *net = dev_net(skb->dev); in ping_rcv() local 1019 struct net *net = seq_file_net(seq); in ping_get_first() local [all …]
|
D | devinet.c | 93 #define IPV4_DEVCONF_DFLT(net, attr) \ argument 110 static u32 inet_addr_hash(const struct net *net, __be32 addr) in inet_addr_hash() 117 static void inet_hash_insert(struct net *net, struct in_ifaddr *ifa) in inet_hash_insert() 139 struct net_device *__ip_dev_find(struct net *net, __be32 addr, bool devref) in __ip_dev_find() 523 struct in_device *inetdev_by_index(struct net *net, int ifindex) in inetdev_by_index() 573 struct net *net = sock_net(skb->sk); in inet_rtm_deladdr() local 742 static struct in_ifaddr *rtm_to_ifaddr(struct net *net, struct nlmsghdr *nlh, in rtm_to_ifaddr() 845 struct net *net = sock_net(skb->sk); in inet_rtm_newaddr() local 915 int devinet_ioctl(struct net *net, unsigned int cmd, void __user *arg) in devinet_ioctl() 1197 struct net *net = dev_net(dev); in inet_select_addr() local [all …]
|
D | fib_rules.c | 50 int __fib_lookup(struct net *net, struct flowi4 *flp, struct fib_result *res) in __fib_lookup() 151 static struct fib_table *fib_empty_table(struct net *net) in fib_empty_table() 170 struct net *net = sock_net(skb->sk); in fib4_rule_configure() local 226 struct net *net = rule->fr_net; in fib4_rule_delete() local 344 int __net_init fib4_rules_init(struct net *net) in fib4_rules_init() 366 void __net_exit fib4_rules_exit(struct net *net) in fib4_rules_exit()
|
D | sysctl_net_ipv4.c | 46 static void set_local_port_range(struct net *net, int range[2]) in set_local_port_range() 59 struct net *net = in ipv4_local_port_range() local 89 struct net *net = in inet_get_ping_group_range_table() local 104 struct net *net = in set_ping_group_range() local 903 static __net_init int ipv4_sysctl_init_net(struct net *net) in ipv4_sysctl_init_net() 939 static __net_exit void ipv4_sysctl_exit_net(struct net *net) in ipv4_sysctl_exit_net()
|
D | ipcomp.c | 28 struct net *net = dev_net(skb->dev); in ipcomp4_err() local 62 struct net *net = xs_net(x); in ipcomp_tunnel_create() local 100 struct net *net = xs_net(x); in ipcomp_tunnel_attach() local
|
D | arp.c | 355 struct net *net = dev_net(in_dev->dev); in arp_ignore() local 394 struct net *net = dev_net(dev); in arp_filter() local 641 struct net *net = dev_net(dev); in arp_process() local 903 static int arp_req_set_proxy(struct net *net, struct net_device *dev, int on) in arp_req_set_proxy() 916 static int arp_req_set_public(struct net *net, struct arpreq *r, in arp_req_set_public() 939 static int arp_req_set(struct net *net, struct arpreq *r, in arp_req_set() 1048 static int arp_req_delete_public(struct net *net, struct arpreq *r, in arp_req_delete_public() 1063 static int arp_req_delete(struct net *net, struct arpreq *r, in arp_req_delete() 1088 int arp_ioctl(struct net *net, unsigned int cmd, void __user *arg) in arp_ioctl() 1346 static int __net_init arp_net_init(struct net *net) in arp_net_init() [all …]
|
D | udp.c | 136 static int udp_lib_lport_inuse(struct net *net, __u16 num, in udp_lib_lport_inuse() 170 static int udp_lib_lport_inuse2(struct net *net, __u16 num, in udp_lib_lport_inuse2() 217 struct net *net = sock_net(sk); in udp_lib_get_port() local 322 static u32 udp4_portaddr_hash(const struct net *net, __be32 saddr, in udp4_portaddr_hash() 340 static inline int compute_score(struct sock *sk, struct net *net, in compute_score() 385 static inline int compute_score2(struct sock *sk, struct net *net, in compute_score2() 425 static u32 udp_ehashfn(const struct net *net, const __be32 laddr, in udp_ehashfn() 438 static struct sock *udp4_lib_lookup2(struct net *net, in udp4_lib_lookup2() 492 struct sock *__udp4_lib_lookup(struct net *net, __be32 saddr, in __udp4_lib_lookup() 584 struct sock *udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport, in udp4_lib_lookup() [all …]
|
D | tcp_metrics.c | 161 struct net *net; in tcpm_new() local 222 struct net *net, unsigned int hash) in __tcp_get_metrics() 244 struct net *net; in __tcp_get_metrics_req() local 285 struct net *net; in __tcp_get_metrics_tw() local 335 struct net *net; in tcp_get_metrics() local 922 struct net *net = sock_net(skb->sk); in tcp_metrics_nl_dump() local 999 struct net *net = genl_info_net(info); in tcp_metrics_nl_cmd_get() local 1049 static void tcp_metrics_flush_all(struct net *net) in tcp_metrics_flush_all() 1079 struct net *net = genl_info_net(info); in tcp_metrics_nl_cmd_del() local 1147 static int __net_init tcp_net_metrics_init(struct net *net) in tcp_net_metrics_init() [all …]
|
D | route.c | 372 static int __net_init ip_rt_do_proc_init(struct net *net) in ip_rt_do_proc_init() 403 static void __net_exit ip_rt_do_proc_exit(struct net *net) in ip_rt_do_proc_exit() 434 void rt_cache_flush(struct net *net) in rt_cache_flush() 486 void __ip_select_ident(struct net *net, struct iphdr *iph, int segs) in __ip_select_ident() 712 struct net *net; in __ip_do_redirect() local 838 struct net *net; in ip_rt_send_redirect() local 902 struct net *net; in ip_error() local 1000 void ipv4_update_pmtu(struct sk_buff *skb, struct net *net, u32 mtu, in ipv4_update_pmtu() 1091 void ipv4_redirect(struct sk_buff *skb, struct net *net, in ipv4_redirect() 1365 struct net *net = dev_net(dev); in rt_flush_dev() local [all …]
|
D | inet_hashtables.c | 27 static u32 inet_ehashfn(const struct net *net, const __be32 laddr, in inet_ehashfn() 61 struct net *net, in inet_bind_bucket_create() 172 static inline int compute_score(struct sock *sk, struct net *net, in compute_score() 205 struct sock *__inet_lookup_listener(struct net *net, in __inet_lookup_listener() 282 struct sock *__inet_lookup_established(struct net *net, in __inet_lookup_established() 343 struct net *net = sock_net(sk); in __inet_check_established() local 498 struct net *net = sock_net(sk); in __inet_hash_connect() local
|
D | ipip.c | 136 struct net *net = dev_net(skb->dev); in ipip_err() local 188 struct net *net = dev_net(skb->dev); in ipip_rcv() local 510 static int __net_init ipip_init_net(struct net *net) in ipip_init_net() 515 static void __net_exit ipip_exit_net(struct net *net) in ipip_exit_net()
|
D | geneve.c | 68 static struct geneve_sock *geneve_find_sock(struct net *net, in geneve_find_sock() 305 static struct socket *geneve_create_sock(struct net *net, bool ipv6, in geneve_create_sock() 332 static struct geneve_sock *geneve_socket_create(struct net *net, __be16 port, in geneve_socket_create() 374 struct geneve_sock *geneve_sock_add(struct net *net, __be16 port, in geneve_sock_add() 415 static __net_init int geneve_init_net(struct net *net) in geneve_init_net()
|
D | ip_gre.c | 141 struct net *net = dev_net(skb->dev); in ipgre_err() local 205 struct net *net = dev_net(skb->dev); in ipgre_rcv() local 539 static int __net_init ipgre_init_net(struct net *net) in ipgre_init_net() 544 static void __net_exit ipgre_exit_net(struct net *net) in ipgre_exit_net() 852 static int __net_init ipgre_tap_init_net(struct net *net) in ipgre_tap_init_net() 857 static void __net_exit ipgre_tap_exit_net(struct net *net) in ipgre_tap_exit_net()
|
D | udplite.c | 96 static int __net_init udplite4_proc_init_net(struct net *net) in udplite4_proc_init_net() 101 static void __net_exit udplite4_proc_exit_net(struct net *net) in udplite4_proc_exit_net()
|
D | ip_options.c | 257 int ip_options_compile(struct net *net, in ip_options_compile() 519 static int ip_options_get_finish(struct net *net, struct ip_options_rcu **optp, in ip_options_get_finish() 534 int ip_options_get_from_user(struct net *net, struct ip_options_rcu **optp, in ip_options_get_from_user() 548 int ip_options_get(struct net *net, struct ip_options_rcu **optp, in ip_options_get()
|
/linux-4.1.27/net/sctp/ |
D | sm_statefuns.c | 217 sctp_disposition_t sctp_sf_do_4_C(struct net *net, in sctp_sf_do_4_C() 303 sctp_disposition_t sctp_sf_do_5_1B_init(struct net *net, in sctp_sf_do_5_1B_init() 499 sctp_disposition_t sctp_sf_do_5_1C_ack(struct net *net, in sctp_sf_do_5_1C_ack() 649 sctp_disposition_t sctp_sf_do_5_1D_ce(struct net *net, in sctp_sf_do_5_1D_ce() 875 sctp_disposition_t sctp_sf_do_5_1E_ca(struct net *net, in sctp_sf_do_5_1E_ca() 978 sctp_disposition_t sctp_sf_sendbeat_8_3(struct net *net, in sctp_sf_sendbeat_8_3() 1049 sctp_disposition_t sctp_sf_beat_8_3(struct net *net, in sctp_sf_beat_8_3() 1123 sctp_disposition_t sctp_sf_backbeat_8_3(struct net *net, in sctp_sf_backbeat_8_3() 1200 static int sctp_sf_send_restart_abort(struct net *net, union sctp_addr *ssa, in sctp_sf_send_restart_abort() 1269 struct net *net = sock_net(new_asoc->base.sk); in sctp_sf_check_restart_addrs() local [all …]
|
D | input.c | 79 static inline int sctp_rcv_checksum(struct net *net, struct sk_buff *skb) in sctp_rcv_checksum() 120 struct net *net = dev_net(skb->dev); in sctp_rcv() local 454 struct net *net = sock_net(sk); in sctp_icmp_proto_unreachable() local 470 struct sock *sctp_err_lookup(struct net *net, int family, struct sk_buff *skb, in sctp_err_lookup() 580 struct net *net = dev_net(skb->dev); in sctp_v4_err() local 711 struct net *net = sock_net(ep->base.sk); in __sctp_hash_endpoint() local 736 struct net *net = sock_net(ep->base.sk); in __sctp_unhash_endpoint() local 760 static struct sctp_endpoint *__sctp_rcv_lookup_endpoint(struct net *net, in __sctp_rcv_lookup_endpoint() 788 struct net *net = sock_net(asoc->base.sk); in __sctp_hash_established() local 819 struct net *net = sock_net(asoc->base.sk); in __sctp_unhash_established() local [all …]
|
D | protocol.c | 84 static int __net_init sctp_proc_init(struct net *net) in sctp_proc_init() 120 static void sctp_proc_exit(struct net *net) in sctp_proc_exit() 168 static void sctp_get_local_addr_list(struct net *net) in sctp_get_local_addr_list() 185 static void sctp_free_local_addr_list(struct net *net) in sctp_free_local_addr_list() 198 int sctp_copy_local_addr_list(struct net *net, struct sctp_bind_addr *bp, in sctp_copy_local_addr_list() 364 struct net *net = sock_net(&sp->inet.sk); in sctp_v4_available() local 600 struct net *net = (struct net *)arg; in sctp_addr_wq_timeout_handler() local 658 static void sctp_free_addr_wq(struct net *net) in sctp_free_addr_wq() 675 static struct sctp_sockaddr_entry *sctp_addr_wq_lookup(struct net *net, in sctp_addr_wq_lookup() 696 void sctp_addr_wq_mgmt(struct net *net, struct sctp_sockaddr_entry *addr, int cmd) in sctp_addr_wq_mgmt() [all …]
|
D | proc.c | 76 struct net *net = seq->private; in sctp_snmp_seq_show() local 102 int __net_init sctp_snmp_proc_init(struct net *net) in sctp_snmp_proc_init() 115 void sctp_snmp_proc_exit(struct net *net) in sctp_snmp_proc_exit() 266 int __net_init sctp_eps_proc_init(struct net *net) in sctp_eps_proc_init() 279 void sctp_eps_proc_exit(struct net *net) in sctp_eps_proc_exit() 392 int __net_init sctp_assocs_proc_init(struct net *net) in sctp_assocs_proc_init() 405 void sctp_assocs_proc_exit(struct net *net) in sctp_assocs_proc_exit() 528 void sctp_remaddr_proc_exit(struct net *net) in sctp_remaddr_proc_exit() 546 int __net_init sctp_remaddr_proc_init(struct net *net) in sctp_remaddr_proc_init()
|
D | sysctl.c | 319 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_hmac_alg() local 365 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_rto_min() local 394 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_rto_max() local 434 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_auth() local 460 int sctp_sysctl_net_register(struct net *net) in sctp_sysctl_net_register() 480 void sctp_sysctl_net_unregister(struct net *net) in sctp_sysctl_net_unregister()
|
D | endpointola.c | 61 struct net *net = sock_net(sk); in sctp_endpoint_init() local 301 struct net *net, in sctp_endpoint_is_match() 387 struct net *net = sock_net(ep->base.sk); in sctp_endpoint_is_peeled_off() local 411 struct net *net; in sctp_endpoint_bh_rcv() local
|
/linux-4.1.27/net/netfilter/ |
D | nf_conntrack_ecache.c | 120 struct net *net = nf_ct_net(ct); in nf_ct_deliver_cached_events() local 170 int nf_conntrack_register_notifier(struct net *net, in nf_conntrack_register_notifier() 192 void nf_conntrack_unregister_notifier(struct net *net, in nf_conntrack_unregister_notifier() 206 int nf_ct_expect_register_notifier(struct net *net, in nf_ct_expect_register_notifier() 228 void nf_ct_expect_unregister_notifier(struct net *net, in nf_ct_expect_unregister_notifier() 265 static int nf_conntrack_event_init_sysctl(struct net *net) in nf_conntrack_event_init_sysctl() 294 static void nf_conntrack_event_fini_sysctl(struct net *net) in nf_conntrack_event_fini_sysctl() 303 static int nf_conntrack_event_init_sysctl(struct net *net) in nf_conntrack_event_init_sysctl() 308 static void nf_conntrack_event_fini_sysctl(struct net *net) in nf_conntrack_event_fini_sysctl() 313 int nf_conntrack_ecache_pernet_init(struct net *net) in nf_conntrack_ecache_pernet_init() [all …]
|
D | nf_conntrack_timestamp.c | 43 static int nf_conntrack_tstamp_init_sysctl(struct net *net) in nf_conntrack_tstamp_init_sysctl() 72 static void nf_conntrack_tstamp_fini_sysctl(struct net *net) in nf_conntrack_tstamp_fini_sysctl() 81 static int nf_conntrack_tstamp_init_sysctl(struct net *net) in nf_conntrack_tstamp_init_sysctl() 86 static void nf_conntrack_tstamp_fini_sysctl(struct net *net) in nf_conntrack_tstamp_fini_sysctl() 91 int nf_conntrack_tstamp_pernet_init(struct net *net) in nf_conntrack_tstamp_pernet_init() 97 void nf_conntrack_tstamp_pernet_fini(struct net *net) in nf_conntrack_tstamp_pernet_fini()
|
D | nf_conntrack_proto.c | 39 nf_ct_register_sysctl(struct net *net, in nf_ct_register_sysctl() 162 static struct nf_ip_net *nf_ct_l3proto_net(struct net *net, in nf_ct_l3proto_net() 171 static int nf_ct_l3proto_register_sysctl(struct net *net, in nf_ct_l3proto_register_sysctl() 195 static void nf_ct_l3proto_unregister_sysctl(struct net *net, in nf_ct_l3proto_unregister_sysctl() 241 int nf_ct_l3proto_pernet_register(struct net *net, in nf_ct_l3proto_pernet_register() 272 void nf_ct_l3proto_pernet_unregister(struct net *net, in nf_ct_l3proto_pernet_unregister() 282 static struct nf_proto_net *nf_ct_l4proto_net(struct net *net, in nf_ct_l4proto_net() 296 int nf_ct_l4proto_register_sysctl(struct net *net, in nf_ct_l4proto_register_sysctl() 340 void nf_ct_l4proto_unregister_sysctl(struct net *net, in nf_ct_l4proto_unregister_sysctl() 417 int nf_ct_l4proto_pernet_register(struct net *net, in nf_ct_l4proto_pernet_register() [all …]
|
D | nf_conntrack_acct.c | 65 static int nf_conntrack_acct_init_sysctl(struct net *net) in nf_conntrack_acct_init_sysctl() 94 static void nf_conntrack_acct_fini_sysctl(struct net *net) in nf_conntrack_acct_fini_sysctl() 103 static int nf_conntrack_acct_init_sysctl(struct net *net) in nf_conntrack_acct_init_sysctl() 108 static void nf_conntrack_acct_fini_sysctl(struct net *net) in nf_conntrack_acct_fini_sysctl() 113 int nf_conntrack_acct_pernet_init(struct net *net) in nf_conntrack_acct_pernet_init() 119 void nf_conntrack_acct_pernet_fini(struct net *net) in nf_conntrack_acct_pernet_fini()
|
D | nf_conntrack_standalone.c | 57 struct net *net = seq_file_net(seq); in ct_get_first() local 74 struct net *net = seq_file_net(seq); in ct_get_next() local 272 struct net *net = seq_file_net(seq); in ct_cpu_seq_start() local 290 struct net *net = seq_file_net(seq); in ct_cpu_seq_next() local 309 struct net *net = seq_file_net(seq); in ct_cpu_seq_show() local 363 static int nf_conntrack_standalone_init_proc(struct net *net) in nf_conntrack_standalone_init_proc() 383 static void nf_conntrack_standalone_fini_proc(struct net *net) in nf_conntrack_standalone_fini_proc() 389 static int nf_conntrack_standalone_init_proc(struct net *net) in nf_conntrack_standalone_init_proc() 394 static void nf_conntrack_standalone_fini_proc(struct net *net) in nf_conntrack_standalone_fini_proc() 469 static int nf_conntrack_standalone_init_sysctl(struct net *net) in nf_conntrack_standalone_init_sysctl() [all …]
|
D | nf_log.c | 42 void nf_log_set(struct net *net, u_int8_t pf, const struct nf_logger *logger) in nf_log_set() 58 void nf_log_unset(struct net *net, const struct nf_logger *logger) in nf_log_unset() 124 int nf_log_bind_pf(struct net *net, u_int8_t pf, in nf_log_bind_pf() 140 void nf_log_unbind_pf(struct net *net, u_int8_t pf) in nf_log_unbind_pf() 191 void nf_log_packet(struct net *net, in nf_log_packet() 220 void nf_log_trace(struct net *net, in nf_log_trace() 304 struct net *net = seq_file_net(seq); in seq_start() local 316 struct net *net = seq_file_net(s); in seq_next() local 336 struct net *net = seq_file_net(s); in seq_show() local 404 struct net *net = current->nsproxy->net_ns; in nf_log_proc_dostring() local [all …]
|
D | nf_conntrack_proto_gre.c | 64 static inline struct netns_proto_gre *gre_pernet(struct net *net) in gre_pernet() 69 static void nf_ct_gre_keymap_flush(struct net *net) in nf_ct_gre_keymap_flush() 93 static __be16 gre_keymap_lookup(struct net *net, struct nf_conntrack_tuple *t) in gre_keymap_lookup() 118 struct net *net = nf_ct_net(ct); in nf_ct_gre_keymap_add() local 159 struct net *net = nf_ct_net(ct); in nf_ct_gre_keymap_destroy() local 195 struct net *net = dev_net(skb->dev ? skb->dev : skb_dst(skb)->dev); in gre_pkt_to_tuple() local 245 static unsigned int *gre_get_timeouts(struct net *net) in gre_get_timeouts() 308 struct net *net, void *data) in gre_timeout_nlattr_to_obj() 351 static int gre_init_net(struct net *net, u_int16_t proto) in gre_init_net() 397 static int proto_gre_net_init(struct net *net) in proto_gre_net_init() [all …]
|
D | nf_conntrack_expect.c | 47 struct net *net = nf_ct_exp_net(exp); in nf_ct_unlink_expect_report() local 91 __nf_ct_expect_find(struct net *net, u16 zone, in __nf_ct_expect_find() 112 nf_ct_expect_find_get(struct net *net, u16 zone, in nf_ct_expect_find_get() 130 nf_ct_find_expectation(struct net *net, u16 zone, in nf_ct_find_expectation() 341 struct net *net = nf_ct_exp_net(exp); in nf_ct_expect_insert() local 392 struct net *net = nf_ct_exp_net(expect); in __nf_ct_expect_check() local 468 struct net *net = seq_file_net(seq); in ct_expect_get_first() local 483 struct net *net = seq_file_net(seq); in ct_expect_get_next() local 592 static int exp_proc_init(struct net *net) in exp_proc_init() 605 static void exp_proc_remove(struct net *net) in exp_proc_remove() [all …]
|
D | xt_addrtype.c | 36 static u32 match_lookup_rt6(struct net *net, const struct net_device *dev, in match_lookup_rt6() 83 static bool match_type6(struct net *net, const struct net_device *dev, in match_type6() 103 addrtype_mt6(struct net *net, const struct net_device *dev, in addrtype_mt6() 119 static inline bool match_type(struct net *net, const struct net_device *dev, in match_type() 128 struct net *net = dev_net(par->in ? par->in : par->out); in addrtype_mt_v0() local 146 struct net *net = dev_net(par->in ? par->in : par->out); in addrtype_mt_v1() local
|
D | nf_conntrack_core.c | 79 static bool nf_conntrack_double_lock(struct net *net, unsigned int h1, in nf_conntrack_double_lock() 148 static u32 hash_bucket(u32 hash, const struct net *net) in hash_bucket() 159 static inline u_int32_t hash_conntrack(const struct net *net, u16 zone, in hash_conntrack() 294 struct net *net = nf_ct_net(ct); in destroy_conntrack() local 330 struct net *net = nf_ct_net(ct); in nf_ct_delete_from_lists() local 409 ____nf_conntrack_find(struct net *net, u16 zone, in ____nf_conntrack_find() 445 __nf_conntrack_find_get(struct net *net, u16 zone, in __nf_conntrack_find_get() 472 nf_conntrack_find_get(struct net *net, u16 zone, in nf_conntrack_find_get() 484 struct net *net = nf_ct_net(ct); in __nf_conntrack_hash_insert() local 495 struct net *net = nf_ct_net(ct); in nf_conntrack_hash_check_insert() local [all …]
|
D | nf_conntrack_helper.c | 58 static int nf_conntrack_helper_init_sysctl(struct net *net) in nf_conntrack_helper_init_sysctl() 88 static void nf_conntrack_helper_fini_sysctl(struct net *net) in nf_conntrack_helper_fini_sysctl() 97 static int nf_conntrack_helper_init_sysctl(struct net *net) in nf_conntrack_helper_init_sysctl() 102 static void nf_conntrack_helper_fini_sysctl(struct net *net) in nf_conntrack_helper_fini_sysctl() 191 struct net *net = nf_ct_net(ct); in __nf_ct_try_assign_helper() local 390 struct net *net) in __nf_conntrack_helper_unregister() 440 struct net *net; in nf_conntrack_helper_unregister() local 465 int nf_conntrack_helper_pernet_init(struct net *net) in nf_conntrack_helper_pernet_init() 472 void nf_conntrack_helper_pernet_fini(struct net *net) in nf_conntrack_helper_pernet_fini()
|
D | nfnetlink.c | 119 int nfnetlink_has_listeners(struct net *net, unsigned int group) in nfnetlink_has_listeners() 125 struct sk_buff *nfnetlink_alloc_skb(struct net *net, unsigned int size, in nfnetlink_alloc_skb() 132 int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 portid, in nfnetlink_send() 139 int nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error) in nfnetlink_set_err() 145 int nfnetlink_unicast(struct sk_buff *skb, struct net *net, u32 portid, in nfnetlink_unicast() 155 struct net *net = sock_net(skb->sk); in nfnetlink_rcv_msg() local 276 struct net *net = sock_net(skb->sk); in nfnetlink_rcv_batch() local 472 static int nfnetlink_bind(struct net *net, int group) in nfnetlink_bind() 491 static int __net_init nfnetlink_net_init(struct net *net) in nfnetlink_net_init() 512 struct net *net; in nfnetlink_net_exit_batch() local
|
D | nf_conntrack_proto_dccp.c | 395 static inline struct dccp_net *dccp_pernet(struct net *net) in dccp_pernet() 425 struct net *net = nf_ct_net(ct); in dccp_new() local 473 static unsigned int *dccp_get_timeouts(struct net *net) in dccp_get_timeouts() 483 struct net *net = nf_ct_net(ct); in dccp_packet() local 570 static int dccp_error(struct net *net, struct nf_conn *tmpl, in dccp_error() 717 struct net *net, void *data) in dccp_timeout_nlattr_to_obj() 819 static int dccp_kmemdup_sysctl_table(struct net *net, struct nf_proto_net *pn, in dccp_kmemdup_sysctl_table() 848 static int dccp_init_net(struct net *net, u_int16_t proto) in dccp_init_net() 936 static __net_init int dccp_net_init(struct net *net) in dccp_net_init() 956 static __net_exit void dccp_net_exit(struct net *net) in dccp_net_exit()
|
D | nf_conntrack_proto_udplite.c | 44 static inline struct udplite_net *udplite_pernet(struct net *net) in udplite_pernet() 82 static unsigned int *udplite_get_timeouts(struct net *net) in udplite_get_timeouts() 118 static int udplite_error(struct net *net, struct nf_conn *tmpl, in udplite_error() 176 struct net *net, void *data) in udplite_timeout_nlattr_to_obj() 256 static int udplite_init_net(struct net *net, u_int16_t proto) in udplite_init_net() 335 static int udplite_net_init(struct net *net) in udplite_net_init() 357 static void udplite_net_exit(struct net *net) in udplite_net_exit()
|
D | nf_conntrack_proto_udp.c | 34 static inline struct nf_udp_net *udp_pernet(struct net *net) in udp_pernet() 74 static unsigned int *udp_get_timeouts(struct net *net) in udp_get_timeouts() 110 static int udp_error(struct net *net, struct nf_conn *tmpl, struct sk_buff *skb, in udp_error() 161 struct net *net, void *data) in udp_timeout_nlattr_to_obj() 274 static int udp_init_net(struct net *net, u_int16_t proto) in udp_init_net() 301 static struct nf_proto_net *udp_get_net_proto(struct net *net) in udp_get_net_proto()
|
D | nf_conntrack_proto_generic.c | 41 static inline struct nf_generic_net *generic_pernet(struct net *net) in generic_pernet() 71 static unsigned int *generic_get_timeouts(struct net *net) in generic_get_timeouts() 102 struct net *net, void *data) in generic_timeout_nlattr_to_obj() 193 static int generic_init_net(struct net *net, u_int16_t proto) in generic_init_net() 212 static struct nf_proto_net *generic_get_net_proto(struct net *net) in generic_get_net_proto()
|
D | nf_synproxy_core.c | 324 static int __net_init synproxy_proc_init(struct net *net) in synproxy_proc_init() 332 static void __net_exit synproxy_proc_exit(struct net *net) in synproxy_proc_exit() 337 static int __net_init synproxy_proc_init(struct net *net) in synproxy_proc_init() 342 static void __net_exit synproxy_proc_exit(struct net *net) in synproxy_proc_exit() 348 static int __net_init synproxy_net_init(struct net *net) in synproxy_net_init() 388 static void __net_exit synproxy_net_exit(struct net *net) in synproxy_net_exit()
|
D | nf_conntrack_proto_tcp.c | 274 static inline struct nf_tcp_net *tcp_pernet(struct net *net) in tcp_pernet() 509 struct net *net = nf_ct_net(ct); in tcp_in_window() local 752 static int tcp_error(struct net *net, struct nf_conn *tmpl, in tcp_error() 806 static unsigned int *tcp_get_timeouts(struct net *net) in tcp_get_timeouts() 820 struct net *net = nf_ct_net(ct); in tcp_packet() local 1109 struct net *net = nf_ct_net(ct); in tcp_new() local 1298 struct net *net, void *data) in tcp_timeout_nlattr_to_obj() 1631 static int tcp_init_net(struct net *net, u_int16_t proto) in tcp_init_net() 1662 static struct nf_proto_net *tcp_get_net_proto(struct net *net) in tcp_get_net_proto()
|
D | nfnetlink_queue_core.c | 88 static struct nfnl_queue_net *nfnl_queue_pernet(struct net *net) in nfnl_queue_pernet() 282 nfqnl_build_packet_message(struct net *net, struct nfqnl_instance *queue, in nfqnl_build_packet_message() 517 __nfqnl_enqueue_packet(struct net *net, struct nfqnl_instance *queue, in __nfqnl_enqueue_packet() 608 __nfqnl_enqueue_packet_gso(struct net *net, struct nfqnl_instance *queue, in __nfqnl_enqueue_packet_gso() 644 struct net *net = dev_net(entry->state.in ? in nfqnl_enqueue_packet() local 791 nfqnl_dev_drop(struct net *net, int ifindex) in nfqnl_dev_drop() 832 static void nfqnl_nf_hook_drop(struct net *net, struct nf_hook_ops *hook) in nfqnl_nf_hook_drop() 941 struct net *net = sock_net(ctnl); in nfqnl_recv_verdict_batch() local 993 struct net *net = sock_net(ctnl); in nfqnl_recv_verdict() local 1068 struct net *net = sock_net(ctnl); in nfqnl_recv_config() local [all …]
|
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() 326 nfulnl_alloc_skb(struct net *net, u32 peer_portid, unsigned int inst_size, in nfulnl_alloc_skb() 616 nfulnl_log_packet(struct net *net, in nfulnl_log_packet() 807 struct net *net = sock_net(ctnl); in nfulnl_recv_config() local 940 static struct hlist_node *get_first(struct net *net, struct iter_state *st) in get_first() 957 static struct hlist_node *get_next(struct net *net, struct iter_state *st, in get_next() 975 static struct hlist_node *get_idx(struct net *net, struct iter_state *st, in get_idx() 1042 static int __net_init nfnl_log_net_init(struct net *net) in nfnl_log_net_init() [all …]
|
D | nf_tables_inet.c | 41 static int __net_init nf_tables_inet_init_net(struct net *net) in nf_tables_inet_init_net() 58 static void __net_exit nf_tables_inet_exit_net(struct net *net) in nf_tables_inet_exit_net()
|
D | nf_tables_api.c | 34 int nft_register_afinfo(struct net *net, struct nft_af_info *afi) in nft_register_afinfo() 59 static struct nft_af_info *nft_afinfo_lookup(struct net *net, int family) in nft_afinfo_lookup() 71 nf_tables_afinfo_lookup(struct net *net, int family, bool autoload) in nf_tables_afinfo_lookup() 199 nft_rule_is_active(struct net *net, const struct nft_rule *rule) in nft_rule_is_active() 205 nft_rule_is_active_next(struct net *net, const struct nft_rule *rule) in nft_rule_is_active_next() 211 nft_rule_activate_next(struct net *net, struct nft_rule *rule) in nft_rule_activate_next() 218 nft_rule_deactivate_next(struct net *net, struct nft_rule *rule) in nft_rule_deactivate_next() 223 static inline void nft_rule_clear(struct net *net, struct nft_rule *rule) in nft_rule_clear() 404 static int nf_tables_fill_table_info(struct sk_buff *skb, struct net *net, in nf_tables_fill_table_info() 472 struct net *net = sock_net(skb->sk); in nf_tables_dump_tables() local [all …]
|
D | nf_nat_core.c | 121 hash_by_src(const struct net *net, u16 zone, in hash_by_src() 188 find_appropriate_src(struct net *net, u16 zone, in find_appropriate_src() 302 struct net *net = nf_ct_net(ct); in get_unique_tuple() local 380 struct net *net = nf_ct_net(ct); in nf_nat_setup_info() local 568 struct net *net; in nf_nat_l4proto_clean() local 581 struct net *net; in nf_nat_l3proto_clean() local 818 static int __net_init nf_nat_net_init(struct net *net) in nf_nat_net_init() 828 static void __net_exit nf_nat_net_exit(struct net *net) in nf_nat_net_exit()
|
D | xt_recent.c | 100 static inline struct recent_net *recent_pernet(struct net *net) in recent_pernet() 240 struct net *net = dev_net(par->in ? par->in : par->out); in recent_mt() local 641 static int __net_init recent_proc_net_init(struct net *net) in recent_proc_net_init() 651 static void __net_exit recent_proc_net_exit(struct net *net) in recent_proc_net_exit() 670 static inline int recent_proc_net_init(struct net *net) in recent_proc_net_init() 675 static inline void recent_proc_net_exit(struct net *net) in recent_proc_net_exit() 680 static int __net_init recent_net_init(struct net *net) in recent_net_init() 688 static void __net_exit recent_net_exit(struct net *net) in recent_net_exit()
|
D | nfnetlink_cttimeout.c | 53 struct net *net, const struct nlattr *attr) in ctnl_timeout_parse_policy() 79 struct net *net = sock_net(skb->sk); in cttimeout_new_timeout() local 351 struct net *net = sock_net(skb->sk); in cttimeout_default_set() local 385 cttimeout_default_fill_info(struct net *net, struct sk_buff *skb, u32 portid, in cttimeout_default_fill_info() 440 struct net *net = sock_net(skb->sk); in cttimeout_default_get() local
|
D | nf_conntrack_netlink.c | 612 struct net *net; in ctnetlink_conntrack_event() local 796 struct net *net = sock_net(skb->sk); in ctnetlink_dump_table() local 1031 static int ctnetlink_flush_conntrack(struct net *net, in ctnetlink_flush_conntrack() 1055 struct net *net = sock_net(ctnl); in ctnetlink_del_conntrack() local 1108 struct net *net = sock_net(ctnl); in ctnetlink_get_conntrack() local 1202 struct net *net = sock_net(skb->sk); in ctnetlink_dump_list() local 1648 ctnetlink_create_conntrack(struct net *net, u16 zone, in ctnetlink_create_conntrack() 1801 struct net *net = sock_net(ctnl); in ctnetlink_new_conntrack() local 1940 struct net *net = sock_net(skb->sk); in ctnetlink_ct_stat_cpu_dump() local 1980 struct net *net) in ctnetlink_stat_ct_fill_info() [all …]
|
D | nf_conntrack_proto_sctp.c | 139 static inline struct sctp_net *sctp_pernet(struct net *net) in sctp_pernet() 296 static unsigned int *sctp_get_timeouts(struct net *net) in sctp_get_timeouts() 569 struct net *net, void *data) in sctp_timeout_nlattr_to_obj() 760 static int sctp_init_net(struct net *net, u_int16_t proto) in sctp_init_net() 855 static int sctp_net_init(struct net *net) in sctp_net_init() 877 static void sctp_net_exit(struct net *net) in sctp_net_exit()
|
/linux-4.1.27/net/tipc/ |
D | bcast.c | 55 static void tipc_bclink_lock(struct net *net) in tipc_bclink_lock() 62 static void tipc_bclink_unlock(struct net *net) in tipc_bclink_unlock() 69 void tipc_bclink_input(struct net *net) in tipc_bclink_input() 96 void tipc_bclink_add_node(struct net *net, u32 addr) in tipc_bclink_add_node() 105 void tipc_bclink_remove_node(struct net *net, u32 addr) in tipc_bclink_remove_node() 114 static void bclink_set_last_sent(struct net *net) in bclink_set_last_sent() 126 u32 tipc_bclink_get_last_sent(struct net *net) in tipc_bclink_get_last_sent() 144 struct tipc_node *tipc_bclink_retransmit_to(struct net *net) in tipc_bclink_retransmit_to() 176 void tipc_bclink_wakeup_users(struct net *net) in tipc_bclink_wakeup_users() 194 struct net *net = n_ptr->net; in tipc_bclink_acknowledge() local [all …]
|
D | name_distr.c | 71 static struct sk_buff *named_prepare_buf(struct net *net, u32 type, u32 size, in named_prepare_buf() 87 void named_cluster_distribute(struct net *net, struct sk_buff *skb) in named_cluster_distribute() 115 struct sk_buff *tipc_named_publish(struct net *net, struct publication *publ) in tipc_named_publish() 141 struct sk_buff *tipc_named_withdraw(struct net *net, struct publication *publ) in tipc_named_withdraw() 168 static void named_distribute(struct net *net, struct sk_buff_head *list, in named_distribute() 212 void tipc_named_node_up(struct net *net, u32 dnode) in tipc_named_node_up() 229 static void tipc_publ_subscribe(struct net *net, struct publication *publ, in tipc_publ_subscribe() 250 static void tipc_publ_unsubscribe(struct net *net, struct publication *publ, in tipc_publ_unsubscribe() 271 static void tipc_publ_purge(struct net *net, struct publication *publ, u32 addr) in tipc_publ_purge() 293 void tipc_publ_notify(struct net *net, struct list_head *nsub_list, u32 addr) in tipc_publ_notify() [all …]
|
D | net.c | 110 int tipc_net_start(struct net *net, u32 addr) in tipc_net_start() 133 void tipc_net_stop(struct net *net) in tipc_net_stop() 151 static int __tipc_nl_add_net(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_add_net() 184 struct net *net = sock_net(skb->sk); in tipc_nl_net_dump() local 209 struct net *net = sock_net(skb->sk); in tipc_nl_net_set() local
|
D | addr.c | 41 u32 tipc_own_addr(struct net *net) in tipc_own_addr() 51 int in_own_cluster(struct net *net, u32 addr) in in_own_cluster() 56 int in_own_cluster_exact(struct net *net, u32 addr) in in_own_cluster_exact() 66 int in_own_node(struct net *net, u32 addr) in in_own_node() 79 u32 addr_domain(struct net *net, u32 sc) in addr_domain()
|
D | bearer.c | 176 struct tipc_bearer *tipc_bearer_find(struct net *net, const char *name) in tipc_bearer_find() 190 void tipc_bearer_add_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_add_dest() 204 void tipc_bearer_remove_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_remove_dest() 221 static int tipc_enable_bearer(struct net *net, const char *name, in tipc_enable_bearer() 344 static int tipc_reset_bearer(struct net *net, struct tipc_bearer *b_ptr) in tipc_reset_bearer() 357 static void bearer_disable(struct net *net, struct tipc_bearer *b_ptr, in bearer_disable() 379 int tipc_enable_l2_media(struct net *net, struct tipc_bearer *b, in tipc_enable_l2_media() 425 int tipc_l2_send_msg(struct net *net, struct sk_buff *buf, in tipc_l2_send_msg() 462 void tipc_bearer_send(struct net *net, u32 bearer_id, struct sk_buff *buf, in tipc_bearer_send() 520 struct net *net = dev_net(dev); in tipc_l2_device_event() local [all …]
|
D | node.c | 91 struct tipc_node *tipc_node_find(struct net *net, u32 addr) in tipc_node_find() 112 struct tipc_node *tipc_node_create(struct net *net, u32 addr) in tipc_node_create() 156 void tipc_node_stop(struct net *net) in tipc_node_stop() 167 int tipc_node_add_conn(struct net *net, u32 dnode, u32 port, u32 peer_port) in tipc_node_add_conn() 198 void tipc_node_remove_conn(struct net *net, u32 dnode, u32 port) in tipc_node_remove_conn() 441 int tipc_node_get_linkname(struct net *net, u32 bearer_id, u32 addr, in tipc_node_get_linkname() 468 struct net *net = node->net; in tipc_node_unlock() local 564 struct net *net = sock_net(skb->sk); in tipc_nl_node_dump() local
|
D | name_table.c | 232 static struct publication *tipc_nameseq_insert_publ(struct net *net, in tipc_nameseq_insert_publ() 355 static struct publication *tipc_nameseq_remove_publ(struct net *net, in tipc_nameseq_remove_publ() 455 static struct name_seq *nametbl_find_seq(struct net *net, u32 type) in nametbl_find_seq() 470 struct publication *tipc_nametbl_insert_publ(struct net *net, u32 type, in tipc_nametbl_insert_publ() 498 struct publication *tipc_nametbl_remove_publ(struct net *net, u32 type, in tipc_nametbl_remove_publ() 534 u32 tipc_nametbl_translate(struct net *net, u32 type, u32 instance, in tipc_nametbl_translate() 622 int tipc_nametbl_mc_translate(struct net *net, u32 type, u32 lower, u32 upper, in tipc_nametbl_mc_translate() 663 struct publication *tipc_nametbl_publish(struct net *net, u32 type, u32 lower, in tipc_nametbl_publish() 697 int tipc_nametbl_withdraw(struct net *net, u32 type, u32 lower, u32 ref, in tipc_nametbl_withdraw() 778 int tipc_nametbl_init(struct net *net) in tipc_nametbl_init() [all …]
|
D | discover.c | 65 struct net *net; member 80 static void tipc_disc_init_msg(struct net *net, struct sk_buff *buf, u32 type, in tipc_disc_init_msg() 123 void tipc_disc_rcv(struct net *net, struct sk_buff *buf, in tipc_disc_rcv() 358 int tipc_disc_create(struct net *net, struct tipc_bearer *b_ptr, in tipc_disc_create() 404 void tipc_disc_reset(struct net *net, struct tipc_bearer *b_ptr) in tipc_disc_reset()
|
D | socket.c | 312 static int tipc_sk_create(struct net *net, struct socket *sock, in tipc_sk_create() 409 struct net *net; in tipc_release() local 667 struct net *net = sock_net(sk); in tipc_sendmcast() local 716 void tipc_sk_mcast_rcv(struct net *net, struct sk_buff_head *arrvq, in tipc_sk_mcast_rcv() 855 struct net *net = sock_net(sk); in __tipc_sendmsg() local 1007 struct net *net = sock_net(sk); in __tipc_send_stream() local 1098 struct net *net = sock_net(sk); in tipc_sk_finish_conn() local 1211 struct net *net = sock_net(&tsk->sk); in tipc_sk_send_ack() local 1517 struct net *net = sock_net(sk); in filter_connect() local 1694 struct net *net = sock_net(sk); in tipc_backlog_rcv() local [all …]
|
D | core.c | 52 static int __net_init tipc_init_net(struct net *net) in tipc_init_net() 84 static void __net_exit tipc_exit_net(struct net *net) in tipc_exit_net()
|
D | link.c | 314 void tipc_link_delete_list(struct net *net, unsigned int bearer_id, in tipc_link_delete_list() 479 void tipc_link_reset_list(struct net *net, unsigned int bearer_id) in tipc_link_reset_list() 699 int __tipc_link_xmit(struct net *net, struct tipc_link *link, in __tipc_link_xmit() 776 int tipc_link_xmit_skb(struct net *net, struct sk_buff *skb, u32 dnode, in tipc_link_xmit_skb() 799 int tipc_link_xmit(struct net *net, struct sk_buff_head *list, u32 dnode, in tipc_link_xmit() 921 struct net *net = l_ptr->owner->net; in link_retransmit_failure() local 1038 void tipc_rcv(struct net *net, struct sk_buff *skb, struct tipc_bearer *b_ptr) in tipc_rcv() 1768 static struct tipc_node *tipc_link_find_owner(struct net *net, in tipc_link_find_owner() 1880 struct net *net = sock_net(skb->sk); in tipc_nl_link_set() local 2012 static int __tipc_nl_add_link(struct net *net, struct tipc_nl_msg *msg, in __tipc_nl_add_link() [all …]
|
D | subscr.c | 230 static int subscr_subscribe(struct net *net, struct tipc_subscr *s, in subscr_subscribe() 296 static void subscr_conn_msg_event(struct net *net, int conid, in subscr_conn_msg_event() 330 int tipc_subscr_start(struct net *net) in tipc_subscr_start() 368 void tipc_subscr_stop(struct net *net) in tipc_subscr_stop()
|
/linux-4.1.27/net/xfrm/ |
D | xfrm_sysctl.c | 6 static void __net_init __xfrm_sysctl_init(struct net *net) in __xfrm_sysctl_init() 43 int __net_init xfrm_sysctl_init(struct net *net) in xfrm_sysctl_init() 72 void __net_exit xfrm_sysctl_fini(struct net *net) in xfrm_sysctl_fini() 81 int __net_init xfrm_sysctl_init(struct net *net) in xfrm_sysctl_init()
|
D | xfrm_policy.c | 118 static inline struct dst_entry *__xfrm_dst_lookup(struct net *net, int tos, in __xfrm_dst_lookup() 142 struct net *net = xs_net(x); in xfrm_dst_lookup() local 280 struct xfrm_policy *xfrm_policy_alloc(struct net *net, gfp_t gfp) in xfrm_policy_alloc() 348 static inline unsigned int idx_hash(struct net *net, u32 index) in idx_hash() 354 static void __get_hash_thresh(struct net *net, in __get_hash_thresh() 375 static struct hlist_head *policy_hash_bysel(struct net *net, in policy_hash_bysel() 392 static struct hlist_head *policy_hash_direct(struct net *net, in policy_hash_direct() 408 static void xfrm_dst_hash_transfer(struct net *net, in xfrm_dst_hash_transfer() 465 static void xfrm_bydst_resize(struct net *net, int dir) in xfrm_bydst_resize() 490 static void xfrm_byidx_resize(struct net *net, int total) in xfrm_byidx_resize() [all …]
|
D | xfrm_state.c | 40 static inline unsigned int xfrm_dst_hash(struct net *net, in xfrm_dst_hash() 49 static inline unsigned int xfrm_src_hash(struct net *net, in xfrm_src_hash() 58 xfrm_spi_hash(struct net *net, const xfrm_address_t *daddr, in xfrm_spi_hash() 102 struct net *net = container_of(work, struct net, xfrm.state_hash_work); in xfrm_hash_resize() local 358 struct net *net = container_of(work, struct net, xfrm.state_gc_work); in xfrm_state_gc_task() local 468 struct xfrm_state *xfrm_state_alloc(struct net *net) in xfrm_state_alloc() 503 struct net *net = xs_net(x); in __xfrm_state_destroy() local 516 struct net *net = xs_net(x); in __xfrm_state_delete() local 556 xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush_secctx_check() 576 xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush_secctx_check() [all …]
|
D | xfrm_proc.c | 53 struct net *net = seq->private; in xfrm_statistics_seq_show() local 75 int __net_init xfrm_proc_init(struct net *net) in xfrm_proc_init() 83 void xfrm_proc_fini(struct net *net) in xfrm_proc_fini()
|
D | xfrm_user.c | 502 static struct xfrm_state *xfrm_state_construct(struct net *net, in xfrm_state_construct() 593 struct net *net = sock_net(skb->sk); in xfrm_add_sa() local 631 static struct xfrm_state *xfrm_user_state_lookup(struct net *net, in xfrm_user_state_lookup() 668 struct net *net = sock_net(skb->sk); in xfrm_del_sa() local 871 struct net *net = sock_net(sk); in xfrm_dump_sa_done() local 880 struct net *net = sock_net(skb->sk); in xfrm_dump_sa() local 953 static inline int xfrm_nlmsg_multicast(struct net *net, struct sk_buff *skb, in xfrm_nlmsg_multicast() 973 static int build_spdinfo(struct sk_buff *skb, struct net *net, in build_spdinfo() 1029 struct net *net = sock_net(skb->sk); in xfrm_set_spdinfo() local 1074 struct net *net = sock_net(skb->sk); in xfrm_get_spdinfo() local [all …]
|
/linux-4.1.27/fs/nfsd/ |
D | nfssvc.c | 176 int nfsd_nrthreads(struct net *net) in nfsd_nrthreads() 188 static int nfsd_init_socks(struct net *net) in nfsd_init_socks() 257 static int nfsd_startup_net(int nrservs, struct net *net) in nfsd_startup_net() 296 static void nfsd_shutdown_net(struct net *net) in nfsd_shutdown_net() 309 static void nfsd_last_thread(struct svc_serv *serv, struct net *net) in nfsd_last_thread() 394 int nfsd_create_serv(struct net *net) in nfsd_create_serv() 424 int nfsd_nrpools(struct net *net) in nfsd_nrpools() 434 int nfsd_get_nrthreads(int n, int *nthreads, struct net *net) in nfsd_get_nrthreads() 447 void nfsd_destroy(struct net *net) in nfsd_destroy() 459 int nfsd_set_nrthreads(int n, int *nthreads, struct net *net) in nfsd_set_nrthreads() [all …]
|
D | idmap.h | 48 static inline int nfsd_idmap_init(struct net *net) in nfsd_idmap_init() 52 static inline void nfsd_idmap_shutdown(struct net *net) in nfsd_idmap_shutdown()
|
D | nfsctl.c | 136 static int exports_net_open(struct net *net, struct file *file) in exports_net_open() 260 struct net *net = netns(file); in write_unlock_ip() local 436 struct net *net = netns(file); in write_threads() local 487 struct net *net = netns(file); in write_pool_threads() local 686 static ssize_t __write_ports_names(char *buf, struct net *net) in __write_ports_names() 700 static ssize_t __write_ports_addfd(char *buf, struct net *net) in __write_ports_addfd() 734 static ssize_t __write_ports_addxprt(char *buf, struct net *net) in __write_ports_addxprt() 776 struct net *net) in __write_ports() 1157 struct net *net = data; in nfsd_fill_super() local 1175 struct net *net = sb->s_fs_info; in nfsd_umount() local [all …]
|
D | nfs4recover.c | 432 nfsd4_recdir_load(struct net *net) { in nfsd4_recdir_load() 451 nfsd4_init_recdir(struct net *net) in nfsd4_init_recdir() 485 nfsd4_shutdown_recdir(struct net *net) in nfsd4_shutdown_recdir() 496 nfs4_legacy_state_init(struct net *net) in nfs4_legacy_state_init() 514 nfs4_legacy_state_shutdown(struct net *net) in nfs4_legacy_state_shutdown() 522 nfsd4_load_reboot_recovery_data(struct net *net) in nfsd4_load_reboot_recovery_data() 538 nfsd4_legacy_tracking_init(struct net *net) in nfsd4_legacy_tracking_init() 564 nfsd4_legacy_tracking_exit(struct net *net) in nfsd4_legacy_tracking_exit() 790 nfsd4_cld_register_net(struct net *net, struct rpc_pipe *pipe) in nfsd4_cld_register_net() 804 nfsd4_cld_unregister_net(struct net *net, struct rpc_pipe *pipe) in nfsd4_cld_unregister_net() [all …]
|
/linux-4.1.27/fs/proc/ |
D | proc_net.c | 42 struct net *net; in seq_open_net() local 67 struct net *net; in single_open_net() local 111 struct net *net = NULL; in get_proc_task_net() local 131 struct net *net; in proc_tgid_net_lookup() local 146 struct net *net; in proc_tgid_net_getattr() local 168 struct net *net; in proc_tgid_net_readdir() local 185 static __net_init int proc_net_ns_init(struct net *net) in proc_net_ns_init() 217 static __net_exit void proc_net_ns_exit(struct net *net) in proc_net_ns_exit()
|
/linux-4.1.27/include/net/netfilter/ |
D | nf_conntrack_timestamp.h | 29 struct net *net = nf_ct_net(ct); in nf_ct_tstamp_ext_add() local 40 static inline bool nf_ct_tstamp_enabled(struct net *net) in nf_ct_tstamp_enabled() 45 static inline void nf_ct_set_tstamp(struct net *net, bool enable) in nf_ct_set_tstamp() 57 static inline int nf_conntrack_tstamp_pernet_init(struct net *net) in nf_conntrack_tstamp_pernet_init() 62 static inline void nf_conntrack_tstamp_pernet_fini(struct net *net) in nf_conntrack_tstamp_pernet_fini()
|
D | nf_conntrack_ecache.h | 37 struct net *net = nf_ct_net(ct); in nf_ct_ecache_ext_add() local 80 struct net *net = nf_ct_net(ct); in nf_conntrack_event_cache() local 100 struct net *net = nf_ct_net(ct); in nf_conntrack_eventmask_report() local 181 struct net *net = nf_ct_exp_net(exp); in nf_ct_expect_event_report() local 219 static inline void nf_conntrack_ecache_delayed_work(struct net *net) in nf_conntrack_ecache_delayed_work() 227 static inline void nf_conntrack_ecache_work(struct net *net) in nf_conntrack_ecache_work() 255 static inline int nf_conntrack_ecache_pernet_init(struct net *net) in nf_conntrack_ecache_pernet_init() 260 static inline void nf_conntrack_ecache_pernet_fini(struct net *net) in nf_conntrack_ecache_pernet_fini() 273 static inline void nf_conntrack_ecache_delayed_work(struct net *net) in nf_conntrack_ecache_delayed_work() 277 static inline void nf_conntrack_ecache_work(struct net *net) in nf_conntrack_ecache_work()
|
D | nf_conntrack_acct.h | 35 struct net *net = nf_ct_net(ct); in nf_ct_acct_ext_add() local 53 static inline bool nf_ct_acct_enabled(struct net *net) in nf_ct_acct_enabled() 59 static inline void nf_ct_set_acct(struct net *net, bool enable) in nf_ct_set_acct()
|
/linux-4.1.27/net/ipv6/ |
D | ip6_fib.c | 51 struct net *net; member 97 static int fib6_new_sernum(struct net *net) in fib6_new_sernum() 163 static void fib6_link_table(struct net *net, struct fib6_table *tb) in fib6_link_table() 184 static struct fib6_table *fib6_alloc_table(struct net *net, u32 id) in fib6_alloc_table() 199 struct fib6_table *fib6_new_table(struct net *net, u32 id) in fib6_new_table() 216 struct fib6_table *fib6_get_table(struct net *net, u32 id) in fib6_get_table() 238 static void __net_init fib6_tables_init(struct net *net) in fib6_tables_init() 245 struct fib6_table *fib6_new_table(struct net *net, u32 id) in fib6_new_table() 250 struct fib6_table *fib6_get_table(struct net *net, u32 id) in fib6_get_table() 255 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6, in fib6_rule_lookup() [all …]
|
D | xfrm6_tunnel.c | 48 static inline struct xfrm6_tunnel_net *xfrm6_tunnel_pernet(struct net *net) in xfrm6_tunnel_pernet() 87 static struct xfrm6_tunnel_spi *__xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *sa… in __xfrm6_tunnel_spi_lookup() 102 __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr) in xfrm6_tunnel_spi_lookup() 115 static int __xfrm6_tunnel_spi_check(struct net *net, u32 spi) in __xfrm6_tunnel_spi_check() 130 static u32 __xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) in __xfrm6_tunnel_alloc_spi() 173 __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) in xfrm6_tunnel_alloc_spi() 197 static void xfrm6_tunnel_free_spi(struct net *net, xfrm_address_t *saddr) in xfrm6_tunnel_free_spi() 234 struct net *net = dev_net(skb->dev); in xfrm6_tunnel_rcv() local 298 struct net *net = xs_net(x); in xfrm6_tunnel_destroy() local 325 static int __net_init xfrm6_tunnel_net_init(struct net *net) in xfrm6_tunnel_net_init() [all …]
|
D | reassembly.c | 131 void ip6_expire_frag_queue(struct net *net, struct frag_queue *fq, in ip6_expire_frag_queue() 176 struct net *net; in ip6_frag_expire() local 185 fq_find(struct net *net, __be32 id, const struct in6_addr *src, in fq_find() 215 struct net *net = dev_net(skb_dst(skb)->dev); in ip6_frag_queue() local 382 struct net *net = container_of(fq->q.net, struct net, ipv6.frags); in ip6_frag_reasm() local 528 struct net *net = dev_net(skb_dst(skb)->dev); in ipv6_frag_rcv() local 631 static int __net_init ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register() 668 static void __net_exit ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister() 692 static int ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register() 697 static void ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister() [all …]
|
D | ip6mr.c | 59 possible_net_t net; member 125 #define ip6mr_for_each_table(mrt, net) \ argument 128 static struct mr6_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table() 139 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup() 227 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init() 259 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit() 272 #define ip6mr_for_each_table(mrt, net) \ argument 275 static struct mr6_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table() 280 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup() 287 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init() [all …]
|
D | route.c | 302 static inline struct rt6_info *ip6_dst_alloc(struct net *net, in ip6_dst_alloc() 437 static inline struct rt6_info *rt6_device_match(struct net *net, in rt6_device_match() 672 struct net *net; in rt6_select() local 701 struct net *net = dev_net(dev); in rt6_route_rcv() local 790 static struct rt6_info *ip6_pol_route_lookup(struct net *net, in ip6_pol_route_lookup() 815 struct dst_entry *ip6_route_lookup(struct net *net, struct flowi6 *fl6, in ip6_route_lookup() 822 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr, in rt6_lookup() 915 static struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table, int oif, in ip6_pol_route() 994 static struct rt6_info *ip6_pol_route_input(struct net *net, struct fib6_table *table, in ip6_pol_route_input() 1000 static struct dst_entry *ip6_route_input_lookup(struct net *net, in ip6_route_input_lookup() [all …]
|
D | xfrm6_policy.c | 29 static struct dst_entry *xfrm6_dst_lookup(struct net *net, int tos, in xfrm6_dst_lookup() 53 static int xfrm6_get_saddr(struct net *net, in xfrm6_get_saddr() 74 static void xfrm6_init_dst(struct net *net, struct xfrm_dst *xdst) in xfrm6_init_dst() 227 struct net *net = container_of(ops, struct net, xfrm.xfrm6_dst_ops); in xfrm6_garbage_collect() local 339 static int __net_init xfrm6_net_sysctl_init(struct net *net) in xfrm6_net_sysctl_init() 367 static void __net_exit xfrm6_net_sysctl_exit(struct net *net) in xfrm6_net_sysctl_exit() 380 static int inline xfrm6_net_sysctl_init(struct net *net) in xfrm6_net_sysctl_init() 385 static void inline xfrm6_net_sysctl_exit(struct net *net) in xfrm6_net_sysctl_exit() 390 static int __net_init xfrm6_net_init(struct net *net) in xfrm6_net_init() 407 static void __net_exit xfrm6_net_exit(struct net *net) in xfrm6_net_exit()
|
D | ip6_flowlabel.c | 74 static inline struct ip6_flowlabel *__fl_lookup(struct net *net, __be32 label) in __fl_lookup() 85 static struct ip6_flowlabel *fl_lookup(struct net *net, __be32 label) in fl_lookup() 170 static void __net_exit ip6_fl_purge(struct net *net) in ip6_fl_purge() 195 static struct ip6_flowlabel *fl_intern(struct net *net, in fl_intern() 354 fl_create(struct net *net, struct sock *sk, struct in6_flowlabel_req *freq, in fl_create() 515 struct net *net = sock_net(sk); in ipv6_flowlabel_opt() local 583 struct net *net = sock_net(sk); in ipv6_flowlabel_opt() local 702 struct net *net = seq_file_net(seq); in ip6fl_get_first() local 718 struct net *net = seq_file_net(seq); in ip6fl_get_next() local 840 static int __net_init ip6_flowlabel_proc_init(struct net *net) in ip6_flowlabel_proc_init() [all …]
|
D | proc.c | 35 struct net *net = seq->private; in sockstat6_seq_show() local 217 struct net *net = (struct net *)seq->private; in snmp6_seq_show() local 273 struct net *net; in snmp6_register_dev() local 294 struct net *net = dev_net(idev->dev); in snmp6_unregister_dev() local 304 static int __net_init ipv6_proc_init_net(struct net *net) in ipv6_proc_init_net() 325 static void __net_exit ipv6_proc_exit_net(struct net *net) in ipv6_proc_exit_net()
|
D | addrlabel.c | 150 static bool __ip6addrlbl_match(struct net *net, in __ip6addrlbl_match() 166 static struct ip6addrlbl_entry *__ipv6_addr_label(struct net *net, in __ipv6_addr_label() 178 u32 ipv6_addr_label(struct net *net, in ipv6_addr_label() 198 static struct ip6addrlbl_entry *ip6addrlbl_alloc(struct net *net, in ip6addrlbl_alloc() 283 static int ip6addrlbl_add(struct net *net, in ip6addrlbl_add() 306 static int __ip6addrlbl_del(struct net *net, in __ip6addrlbl_del() 331 static int ip6addrlbl_del(struct net *net, in ip6addrlbl_del() 349 static int __net_init ip6addrlbl_net_init(struct net *net) in ip6addrlbl_net_init() 369 static void __net_exit ip6addrlbl_net_exit(struct net *net) in ip6addrlbl_net_exit() 409 struct net *net = sock_net(skb->sk); in ip6addrlbl_newdel() local [all …]
|
D | anycast.c | 59 struct net *net = sock_net(sk); in ipv6_sock_ac_join() local 147 struct net *net = sock_net(sk); in ipv6_sock_ac_drop() local 178 struct net *net = sock_net(sk); in ipv6_sock_ac_close() local 390 bool ipv6_chk_acast_addr(struct net *net, struct net_device *dev, in ipv6_chk_acast_addr() 411 bool ipv6_chk_acast_addr_src(struct net *net, struct net_device *dev, in ipv6_chk_acast_addr_src() 433 struct net *net = seq_file_net(seq); in ac6_get_first() local 543 int __net_init ac6_proc_init(struct net *net) in ac6_proc_init() 551 void ac6_proc_exit(struct net *net) in ac6_proc_exit()
|
D | inet6_hashtables.c | 26 u32 inet6_ehashfn(const struct net *net, in inet6_ehashfn() 51 struct sock *__inet6_lookup_established(struct net *net, in __inet6_lookup_established() 96 static inline int compute_score(struct sock *sk, struct net *net, in compute_score() 121 struct sock *inet6_lookup_listener(struct net *net, in inet6_lookup_listener() 177 struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, in inet6_lookup() 202 struct net *net = sock_net(sk); in __inet6_check_established() local
|
D | icmp.c | 81 static inline struct sock *icmpv6_sk(struct net *net) in icmpv6_sk() 91 struct net *net = dev_net(skb->dev); in icmpv6_err() local 111 static __inline__ struct sock *icmpv6_xmit_lock(struct net *net) in icmpv6_xmit_lock() 175 struct net *net = sock_net(sk); in icmpv6_xrlim_allow() local 323 static struct dst_entry *icmpv6_route_lookup(struct net *net, in icmpv6_route_lookup() 392 struct net *net = dev_net(skb->dev); in icmp6_send() local 548 struct net *net = dev_net(skb->dev); in icmpv6_echo_reply() local 633 struct net *net = dev_net(skb->dev); in icmpv6_notify() local 834 static int __net_init icmpv6_sk_init(struct net *net) in icmpv6_sk_init() 878 static void __net_exit icmpv6_sk_exit(struct net *net) in icmpv6_sk_exit() [all …]
|
D | af_inet6.c | 100 static int inet6_create(struct net *net, struct socket *sock, int protocol, in inet6_create() 261 struct net *net = sock_net(sk); in inet6_bind() local 482 struct net *net = sock_net(sk); in inet6_ioctl() local 719 static int __net_init ipv6_init_mibs(struct net *net) in ipv6_init_mibs() 760 static void ipv6_cleanup_mibs(struct net *net) in ipv6_cleanup_mibs() 769 static int __net_init inet6_net_init(struct net *net) in inet6_net_init() 808 static void __net_exit inet6_net_exit(struct net *net) in inet6_net_exit()
|
D | ip6_vti.c | 92 vti6_tnl_lookup(struct net *net, const struct in6_addr *remote, in vti6_tnl_lookup() 188 struct net *net = dev_net(dev); in vti6_tnl_create2() local 208 static struct ip6_tnl *vti6_tnl_create(struct net *net, struct __ip6_tnl_parm *p) in vti6_tnl_create() 256 static struct ip6_tnl *vti6_locate(struct net *net, struct __ip6_tnl_parm *p, in vti6_locate() 563 struct net *net = dev_net(skb->dev); in vti6_err() local 650 struct net *net = dev_net(t->dev); in vti6_update() local 722 struct net *net = dev_net(dev); in vti6_ioctl() local 892 struct net *net = dev_net(dev); in vti6_fb_tnl_dev_init() local 934 struct net *net = dev_net(dev); in vti6_newlink() local 950 struct net *net = dev_net(dev); in vti6_dellink() local [all …]
|
D | fib6_rules.c | 32 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6, in fib6_rule_lookup() 56 struct net *net = rule->fr_net; in fib6_rule_action() local 188 struct net *net = sock_net(skb->sk); in fib6_rule_configure() local 290 static int __net_init fib6_rules_net_init(struct net *net) in fib6_rules_net_init() 316 static void __net_exit fib6_rules_net_exit(struct net *net) in fib6_rules_net_exit()
|
D | ip6_tunnel.c | 175 ip6_tnl_lookup(struct net *net, const struct in6_addr *remote, const struct in6_addr *local) in ip6_tnl_lookup() 281 struct net *net = dev_net(dev); in ip6_tnl_create2() local 314 static struct ip6_tnl *ip6_tnl_create(struct net *net, struct __ip6_tnl_parm *p) in ip6_tnl_create() 362 static struct ip6_tnl *ip6_tnl_locate(struct net *net, in ip6_tnl_locate() 399 struct net *net = t->net; in ip6_tnl_dev_uninit() local 769 struct net *net = t->net; in ip6_tnl_rcv_ctl() local 926 struct net *net = t->net; in ip6_tnl_xmit_ctl() local 979 struct net *net = t->net; in ip6_tnl_xmit2() local 1320 struct net *net = t->net; in ip6_tnl_update() local 1403 struct net *net = t->net; in ip6_tnl_ioctl() local [all …]
|
D | ipcomp6.c | 59 struct net *net = dev_net(skb->dev); in ipcomp6_err() local 87 struct net *net = xs_net(x); in ipcomp6_tunnel_create() local 123 struct net *net = xs_net(x); in ipcomp6_tunnel_attach() local
|
D | addrconf.c | 524 void inet6_netconf_notify_devconf(struct net *net, int type, int ifindex, in inet6_netconf_notify_devconf() 557 struct net *net = sock_net(in_skb->sk); in inet6_netconf_get_devconf() local 618 struct net *net = sock_net(skb->sk); in inet6_netconf_dump_devconf() local 722 static void addrconf_forward_change(struct net *net, __s32 newf) in addrconf_forward_change() 740 struct net *net; in addrconf_fixup_forwarding() local 1236 static int ipv6_get_saddr_eval(struct net *net, in ipv6_get_saddr_eval() 1370 int ipv6_dev_get_saddr(struct net *net, const struct net_device *dst_dev, in ipv6_dev_get_saddr() 1543 int ipv6_chk_addr(struct net *net, const struct in6_addr *addr, in ipv6_chk_addr() 1550 int ipv6_chk_addr_and_flags(struct net *net, const struct in6_addr *addr, in ipv6_chk_addr_and_flags() 1582 static bool ipv6_chk_same_addr(struct net *net, const struct in6_addr *addr, in ipv6_chk_same_addr() [all …]
|
D | udp.c | 56 static u32 udp6_ehashfn(const struct net *net, in udp6_ehashfn() 107 static u32 udp6_portaddr_hash(const struct net *net, in udp6_portaddr_hash() 144 static inline int compute_score(struct sock *sk, struct net *net, in compute_score() 189 static inline int compute_score2(struct sock *sk, struct net *net, in compute_score2() 230 static struct sock *udp6_lib_lookup2(struct net *net, in udp6_lib_lookup2() 284 struct sock *__udp6_lib_lookup(struct net *net, in __udp6_lib_lookup() 380 struct sock *udp6_lib_lookup(struct net *net, const struct in6_addr *saddr, __be16 sport, in udp6_lib_lookup() 545 struct net *net = dev_net(skb->dev); in __udp6_lib_err() local 717 static bool __udp_v6_is_mcast_sock(struct net *net, struct sock *sk, in __udp_v6_is_mcast_sock() 782 static int __udp6_lib_mcast_deliver(struct net *net, struct sk_buff *skb, in __udp6_lib_mcast_deliver() [all …]
|
D | output_core.c | 12 static u32 __ipv6_select_ident(struct net *net, u32 hashrnd, in __ipv6_select_ident() 40 void ipv6_proxy_select_ident(struct net *net, struct sk_buff *skb) in ipv6_proxy_select_ident() 63 void ipv6_select_ident(struct net *net, struct frag_hdr *fhdr, in ipv6_select_ident()
|
D | ip6_gre.c | 118 struct net *net = dev_net(dev); in ip6gre_tunnel_lookup() local 283 static struct ip6_tnl *ip6gre_tunnel_find(struct net *net, in ip6gre_tunnel_find() 308 static struct ip6_tnl *ip6gre_tunnel_locate(struct net *net, in ip6gre_tunnel_locate() 610 struct net *net = tunnel->net; in ip6gre_xmit2() local 1065 struct net *net = t->net; in ip6gre_tunnel_ioctl() local 1290 static void ip6gre_destroy_tunnels(struct net *net, struct list_head *head) in ip6gre_destroy_tunnels() 1321 static int __net_init ip6gre_init_net(struct net *net) in ip6gre_init_net() 1357 static void __net_exit ip6gre_exit_net(struct net *net) in ip6gre_exit_net() 1504 struct net *net = dev_net(dev); in ip6gre_newlink() local 1540 struct net *net = nt->net; in ip6gre_changelink() local [all …]
|
D | sysctl_net_ipv6.c | 93 static int __net_init ipv6_sysctl_net_init(struct net *net) in ipv6_sysctl_net_init() 151 static void __net_exit ipv6_sysctl_net_exit(struct net *net) in ipv6_sysctl_net_exit()
|
D | sit.c | 93 static struct ip_tunnel *ipip6_tunnel_lookup(struct net *net, in ipip6_tunnel_lookup() 194 struct net *net = dev_net(dev); in ipip6_tunnel_create() local 221 static struct ip_tunnel *ipip6_tunnel_locate(struct net *net, in ipip6_tunnel_locate() 1083 struct net *net = t->net; in ipip6_tunnel_update() local 1143 struct net *net = t->net; in ipip6_tunnel_ioctl() local 1401 struct net *net = dev_net(dev); in ipip6_fb_tunnel_init() local 1545 struct net *net = dev_net(dev); in ipip6_newlink() local 1584 struct net *net = t->net; in ipip6_changelink() local 1731 struct net *net = dev_net(dev); in ipip6_dellink() local 1765 static void __net_exit sit_destroy_tunnels(struct net *net, in sit_destroy_tunnels() [all …]
|
/linux-4.1.27/fs/lockd/ |
D | svc.c | 101 static void set_grace_period(struct net *net) in set_grace_period() 114 struct net *net = &init_net; in restart_grace() local 180 struct net *net, const int family, in create_lockd_listener() 193 static int create_lockd_family(struct svc_serv *serv, struct net *net, in create_lockd_family() 215 static int make_socks(struct svc_serv *serv, struct net *net) in make_socks() 239 static int lockd_up_net(struct svc_serv *serv, struct net *net) in lockd_up_net() 263 static void lockd_down_net(struct svc_serv *serv, struct net *net) in lockd_down_net() 365 int lockd_up(struct net *net) in lockd_up() 407 lockd_down(struct net *net) in lockd_down() 583 static int lockd_init_net(struct net *net) in lockd_init_net() [all …]
|
D | host.c | 61 struct net *net; /* network namespace to bind */ member 215 struct net *net) in nlmclnt_lookup_host() 329 struct net *net = SVC_NET(rqstp); in nlmsvc_lookup_host() local 568 static void nlm_complain_hosts(struct net *net) in nlm_complain_hosts() 597 nlm_shutdown_hosts_net(struct net *net) in nlm_shutdown_hosts_net() 640 nlm_gc_hosts(struct net *net) in nlm_gc_hosts()
|
/linux-4.1.27/drivers/rapidio/ |
D | rio-scan.c | 62 static u16 rio_destid_alloc(struct rio_net *net) in rio_destid_alloc() 88 static int rio_destid_reserve(struct rio_net *net, u16 destid) in rio_destid_reserve() 107 static void rio_destid_free(struct rio_net *net, u16 destid) in rio_destid_free() 121 static u16 rio_destid_first(struct rio_net *net) in rio_destid_first() 141 static u16 rio_destid_next(struct rio_net *net, u16 from) in rio_destid_next() 210 static int rio_clear_locks(struct rio_net *net) in rio_clear_locks() 341 static struct rio_dev *rio_setup_device(struct rio_net *net, in rio_setup_device() 564 static int rio_enum_peer(struct rio_net *net, struct rio_mport *port, in rio_enum_peer() 772 rio_disc_peer(struct rio_net *net, struct rio_mport *port, u16 destid, in rio_disc_peer() 881 struct rio_net *net; in rio_alloc_net() local [all …]
|
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
D | rtw_android.c | 88 static int rtw_android_get_rssi(struct net_device *net, char *command, in rtw_android_get_rssi() 105 static int rtw_android_get_link_speed(struct net_device *net, char *command, in rtw_android_get_link_speed() 116 static int rtw_android_get_macaddr(struct net_device *net, char *command, in rtw_android_get_macaddr() 123 static int android_set_cntry(struct net_device *net, char *command, in android_set_cntry() 134 static int android_get_p2p_addr(struct net_device *net, char *command, in android_get_p2p_addr() 142 static int rtw_android_set_block(struct net_device *net, char *command, in rtw_android_set_block() 148 int rtw_android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd) in rtw_android_priv_cmd()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | u_ether.c | 57 struct net_device *net; member 139 static int ueth_change_mtu(struct net_device *net, int new_mtu) in ueth_change_mtu() 158 static void eth_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *p) in eth_get_drvinfo() 483 struct net_device *net) in eth_start_xmit() 637 static int eth_open(struct net_device *net) in eth_open() 655 static int eth_stop(struct net_device *net) in eth_stop() 768 struct net_device *net; in gether_setup_name() local 830 struct net_device *net; in gether_setup_name_default() local 865 int gether_register_netdev(struct net_device *net) in gether_register_netdev() 903 void gether_set_gadget(struct net_device *net, struct usb_gadget *g) in gether_set_gadget() [all …]
|
/linux-4.1.27/fs/nfs_common/ |
D | grace.c | 28 locks_start_grace(struct net *net, struct lock_manager *lm) in locks_start_grace() 66 locks_in_grace(struct net *net) in locks_in_grace() 75 grace_init_net(struct net *net) in grace_init_net() 84 grace_exit_net(struct net *net) in grace_exit_net()
|
/linux-4.1.27/net/sunrpc/ |
D | stats.c | 243 do_register(struct net *net, const char *name, void *data, in do_register() 254 rpc_proc_register(struct net *net, struct rpc_stat *statp) in rpc_proc_register() 261 rpc_proc_unregister(struct net *net, const char *name) in rpc_proc_unregister() 271 svc_proc_register(struct net *net, struct svc_stat *statp, const struct file_operations *fops) in svc_proc_register() 278 svc_proc_unregister(struct net *net, const char *name) in svc_proc_unregister() 287 int rpc_proc_init(struct net *net) in rpc_proc_init() 300 void rpc_proc_exit(struct net *net) in rpc_proc_exit()
|
D | svc.c | 375 int svc_rpcb_setup(struct svc_serv *serv, struct net *net) in svc_rpcb_setup() 389 void svc_rpcb_cleanup(struct svc_serv *serv, struct net *net) in svc_rpcb_cleanup() 413 int svc_bind(struct svc_serv *serv, struct net *net) in svc_bind() 426 void (*shutdown)(struct svc_serv *serv, struct net *net)) in __svc_create() 489 void (*shutdown)(struct svc_serv *serv, struct net *net)) in svc_create() 497 void (*shutdown)(struct svc_serv *serv, struct net *net), in svc_create_pooled() 516 void svc_shutdown_net(struct svc_serv *serv, struct net *net) in svc_shutdown_net() 809 static int __svc_rpcb_register4(struct net *net, const u32 program, in __svc_rpcb_register4() 857 static int __svc_rpcb_register6(struct net *net, const u32 program, in __svc_rpcb_register6() 901 static int __svc_register(struct net *net, const char *progname, in __svc_register() [all …]
|
D | addr.c | 160 static int rpc_parse_scope_id(struct net *net, const char *buf, in rpc_parse_scope_id() 202 static size_t rpc_pton6(struct net *net, const char *buf, const size_t buflen, in rpc_pton6() 225 static size_t rpc_pton6(struct net *net, const char *buf, const size_t buflen, in rpc_pton6() 247 size_t rpc_pton(struct net *net, const char *buf, const size_t buflen, in rpc_pton() 313 size_t rpc_uaddr2sockaddr(struct net *net, const char *uaddr, in rpc_uaddr2sockaddr()
|
D | sunrpc_syms.c | 30 static __net_init int sunrpc_init_net(struct net *net) in sunrpc_init_net() 66 static __net_exit void sunrpc_exit_net(struct net *net) in sunrpc_exit_net()
|
D | rpcb_clnt.c | 164 static int rpcb_get_local(struct net *net) in rpcb_get_local() 178 void rpcb_put_local(struct net *net) in rpcb_put_local() 206 static void rpcb_set_local(struct net *net, struct rpc_clnt *clnt, in rpcb_set_local() 228 static int rpcb_create_local_unix(struct net *net) in rpcb_create_local_unix() 286 static int rpcb_create_local_net(struct net *net) in rpcb_create_local_net() 338 int rpcb_create_local(struct net *net) in rpcb_create_local() 358 static struct rpc_clnt *rpcb_create(struct net *net, const char *nodename, in rpcb_create() 445 int rpcb_register(struct net *net, u32 prog, u32 vers, int prot, unsigned short port) in rpcb_register() 593 int rpcb_v4_register(struct net *net, const u32 program, const u32 version, in rpcb_v4_register()
|
/linux-4.1.27/include/linux/sunrpc/ |
D | stats.h | 46 static inline int rpc_proc_init(struct net *net) in rpc_proc_init() 51 static inline void rpc_proc_exit(struct net *net) in rpc_proc_exit() 72 static inline struct proc_dir_entry *rpc_proc_register(struct net *net, struct rpc_stat *s) { retur… in rpc_proc_register() 73 static inline void rpc_proc_unregister(struct net *net, const char *p) {} in rpc_proc_unregister() 76 static inline struct proc_dir_entry *svc_proc_register(struct net *net, struct svc_stat *s, in svc_proc_register() 78 static inline void svc_proc_unregister(struct net *net, const char *p) {} in svc_proc_unregister()
|
/linux-4.1.27/net/netfilter/ipvs/ |
D | ip_vs_est.c | 105 struct net *net = (struct net *)arg; in estimation_timer() local 143 void ip_vs_start_estimator(struct net *net, struct ip_vs_stats *stats) in ip_vs_start_estimator() 155 void ip_vs_stop_estimator(struct net *net, struct ip_vs_stats *stats) in ip_vs_stop_estimator() 195 int __net_init ip_vs_estimator_net_init(struct net *net) in ip_vs_estimator_net_init() 206 void __net_exit ip_vs_estimator_net_cleanup(struct net *net) in ip_vs_estimator_net_cleanup()
|
D | ip_vs_ctl.c | 76 static bool __ip_vs_addr_is_local_v6(struct net *net, in __ip_vs_addr_is_local_v6() 266 ip_vs_svc_hashkey(struct net *net, int af, unsigned int proto, in ip_vs_svc_hashkey() 288 static inline unsigned int ip_vs_svc_fwm_hashkey(struct net *net, __u32 fwmark) in ip_vs_svc_fwm_hashkey() 360 __ip_vs_service_find(struct net *net, int af, __u16 protocol, in __ip_vs_service_find() 388 __ip_vs_svc_fwm_find(struct net *net, int af, __u32 fwmark) in __ip_vs_svc_fwm_find() 409 ip_vs_service_find(struct net *net, int af, __u32 fwmark, __u16 protocol, in ip_vs_service_find() 546 bool ip_vs_has_real_service(struct net *net, int af, __u16 protocol, in ip_vs_has_real_service() 604 struct ip_vs_dest *ip_vs_find_dest(struct net *net, int svc_af, int dest_af, in ip_vs_find_dest() 718 static void ip_vs_trash_cleanup(struct net *net) in ip_vs_trash_cleanup() 1039 static void __ip_vs_del_dest(struct net *net, struct ip_vs_dest *dest, in __ip_vs_del_dest() [all …]
|
D | ip_vs_app.c | 78 ip_vs_app_inc_new(struct net *net, struct ip_vs_app *app, __u16 proto, in ip_vs_app_inc_new() 130 ip_vs_app_inc_release(struct net *net, struct ip_vs_app *inc) in ip_vs_app_inc_release() 178 register_ip_vs_app_inc(struct net *net, struct ip_vs_app *app, __u16 proto, in register_ip_vs_app_inc() 194 struct ip_vs_app *register_ip_vs_app(struct net *net, struct ip_vs_app *app) in register_ip_vs_app() 233 void unregister_ip_vs_app(struct net *net, struct ip_vs_app *app) in unregister_ip_vs_app() 536 struct net *net = seq_file_net(seq); in ip_vs_app_seq_start() local 548 struct net *net = seq_file_net(seq); in ip_vs_app_seq_next() local 614 int __net_init ip_vs_app_net_init(struct net *net) in ip_vs_app_net_init() 623 void __net_exit ip_vs_app_net_cleanup(struct net *net) in ip_vs_app_net_cleanup()
|
D | ip_vs_proto_ah_esp.c | 44 ah_esp_conn_fill_param_proto(struct net *net, int af, in ah_esp_conn_fill_param_proto() 65 struct net *net = skb_net(skb); in ah_esp_conn_in_get() local 92 struct net *net = skb_net(skb); in ah_esp_conn_out_get() local
|
D | ip_vs_sync.c | 196 struct net *net; member 527 static void ip_vs_sync_conn_v0(struct net *net, struct ip_vs_conn *cp, in ip_vs_sync_conn_v0() 624 void ip_vs_sync_conn(struct net *net, struct ip_vs_conn *cp, int pkts) in ip_vs_sync_conn() 784 ip_vs_conn_fill_param_sync(struct net *net, int af, union ip_vs_sync_conn *sc, in ip_vs_conn_fill_param_sync() 837 static void ip_vs_proc_conn(struct net *net, struct ip_vs_conn_param *param, in ip_vs_proc_conn() 953 static void ip_vs_process_message_v0(struct net *net, const char *buffer, in ip_vs_process_message_v0() 1067 static inline int ip_vs_proc_sync_conn(struct net *net, __u8 *p, __u8 *msg_end) in ip_vs_proc_sync_conn() 1204 static void ip_vs_process_message(struct net *net, __u8 *buffer, in ip_vs_process_message() 1329 struct net *net = sock_net(sk); in set_mcast_if() local 1351 static int set_sync_mesg_maxlen(struct net *net, int sync_state) in set_sync_mesg_maxlen() [all …]
|
D | ip_vs_proto_udp.c | 36 struct net *net; in udp_conn_schedule() local 351 static int udp_register_app(struct net *net, struct ip_vs_app *inc) in udp_register_app() 377 udp_unregister_app(struct net *net, struct ip_vs_app *inc) in udp_unregister_app() 459 static int __udp_init(struct net *net, struct ip_vs_proto_data *pd) in __udp_init() 471 static void __udp_exit(struct net *net, struct ip_vs_proto_data *pd) in __udp_exit()
|
D | ip_vs_conn.c | 111 static unsigned int ip_vs_conn_hashkey(struct net *net, int af, unsigned int proto, in ip_vs_conn_hashkey() 322 struct net *net = skb_net(skb); in ip_vs_conn_fill_param_proto() local 803 struct net *net = ip_vs_conn_net(cp); in ip_vs_conn_expire() local 1059 struct net *net = seq_file_net(seq); in ip_vs_conn_seq_show() local 1147 struct net *net = seq_file_net(seq); in ip_vs_conn_sync_seq_show() local 1243 void ip_vs_random_dropentry(struct net *net) in ip_vs_random_dropentry() 1311 static void ip_vs_conn_flush(struct net *net) in ip_vs_conn_flush() 1348 int __net_init ip_vs_conn_net_init(struct net *net) in ip_vs_conn_net_init() 1359 void __net_exit ip_vs_conn_net_cleanup(struct net *net) in ip_vs_conn_net_cleanup()
|
D | ip_vs_proto.c | 66 register_ip_vs_proto_netns(struct net *net, struct ip_vs_protocol *pp) in register_ip_vs_proto_netns() 119 unregister_ip_vs_proto_netns(struct net *net, struct ip_vs_proto_data *pd) in unregister_ip_vs_proto_netns() 174 ip_vs_proto_data_get(struct net *net, unsigned short proto) in ip_vs_proto_data_get() 320 int __net_init ip_vs_protocol_net_init(struct net *net) in ip_vs_protocol_net_init() 353 void __net_exit ip_vs_protocol_net_cleanup(struct net *net) in ip_vs_protocol_net_cleanup()
|
D | ip_vs_proto_tcp.c | 39 struct net *net; in tcp_conn_schedule() local 574 static int tcp_register_app(struct net *net, struct ip_vs_app *inc) in tcp_register_app() 600 tcp_unregister_app(struct net *net, struct ip_vs_app *inc) in tcp_unregister_app() 656 void ip_vs_tcp_conn_listen(struct net *net, struct ip_vs_conn *cp) in ip_vs_tcp_conn_listen() 671 static int __ip_vs_tcp_init(struct net *net, struct ip_vs_proto_data *pd) in __ip_vs_tcp_init() 684 static void __ip_vs_tcp_exit(struct net *net, struct ip_vs_proto_data *pd) in __ip_vs_tcp_exit()
|
D | ip_vs_ftp.c | 184 struct net *net; in ip_vs_ftp_out() local 323 struct net *net; in ip_vs_ftp_in() local 441 static int __net_init __ip_vs_ftp_init(struct net *net) in __ip_vs_ftp_init() 472 static void __ip_vs_ftp_exit(struct net *net) in __ip_vs_ftp_exit()
|
D | ip_vs_proto_sctp.c | 16 struct net *net; in sctp_conn_schedule() local 477 static int sctp_register_app(struct net *net, struct ip_vs_app *inc) in sctp_register_app() 501 static void sctp_unregister_app(struct net *net, struct ip_vs_app *inc) in sctp_unregister_app() 552 static int __ip_vs_sctp_init(struct net *net, struct ip_vs_proto_data *pd) in __ip_vs_sctp_init() 564 static void __ip_vs_sctp_exit(struct net *net, struct ip_vs_proto_data *pd) in __ip_vs_sctp_exit()
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 97 static int nf_ct_frag6_sysctl_register(struct net *net) in nf_ct_frag6_sysctl_register() 131 static void __net_exit nf_ct_frags6_sysctl_unregister(struct net *net) in nf_ct_frags6_sysctl_unregister() 142 static int nf_ct_frag6_sysctl_register(struct net *net) in nf_ct_frag6_sysctl_register() 146 static void __net_exit nf_ct_frags6_sysctl_unregister(struct net *net) in nf_ct_frags6_sysctl_unregister() 182 struct net *net; in nf_ct_frag6_expire() local 191 static inline struct frag_queue *fq_find(struct net *net, __be32 id, in fq_find() 571 struct net *net = skb_dst(skb) ? dev_net(skb_dst(skb)->dev) in nf_ct_frag6_gather() local 650 static int nf_ct_net_init(struct net *net) in nf_ct_net_init() 660 static void nf_ct_net_exit(struct net *net) in nf_ct_net_exit()
|
D | nf_conntrack_proto_icmpv6.c | 32 static inline struct nf_icmp_net *icmpv6_pernet(struct net *net) in icmpv6_pernet() 96 static unsigned int *icmpv6_get_timeouts(struct net *net) in icmpv6_get_timeouts() 144 icmpv6_error_message(struct net *net, struct nf_conn *tmpl, in icmpv6_error_message() 196 icmpv6_error(struct net *net, struct nf_conn *tmpl, in icmpv6_error() 291 struct net *net, void *data) in icmpv6_timeout_nlattr_to_obj() 352 static int icmpv6_init_net(struct net *net, u_int16_t proto) in icmpv6_init_net() 362 static struct nf_proto_net *icmpv6_get_net_proto(struct net *net) in icmpv6_get_net_proto()
|
D | ip6table_raw.c | 25 const struct net *net = dev_net(state->in ? state->in : state->out); in ip6table_raw_hook() local 32 static int __net_init ip6table_raw_net_init(struct net *net) in ip6table_raw_net_init() 45 static void __net_exit ip6table_raw_net_exit(struct net *net) in ip6table_raw_net_exit()
|
D | ip6table_security.c | 42 const struct net *net = dev_net(state->in ? state->in : state->out); in ip6table_security_hook() local 50 static int __net_init ip6table_security_net_init(struct net *net) in ip6table_security_net_init() 63 static void __net_exit ip6table_security_net_exit(struct net *net) in ip6table_security_net_exit()
|
D | ip6table_filter.c | 38 const struct net *net = dev_net(state->in ? state->in : state->out); in ip6table_filter_hook() local 49 static int __net_init ip6table_filter_net_init(struct net *net) in ip6table_filter_net_init() 66 static void __net_exit ip6table_filter_net_exit(struct net *net) in ip6table_filter_net_exit()
|
D | ip6table_nat.c | 38 struct net *net = nf_ct_net(ct); in ip6table_nat_do_chain() local 106 static int __net_init ip6table_nat_net_init(struct net *net) in ip6table_nat_net_init() 118 static void __net_exit ip6table_nat_net_exit(struct net *net) in ip6table_nat_net_exit()
|
D | ip6_tables.c | 291 struct net *net = dev_net(in ? in : out); in trace_packet() local 566 static void cleanup_match(struct xt_entry_match *m, struct net *net) in cleanup_match() 642 static int check_target(struct ip6t_entry *e, struct net *net, const char *name) in check_target() 668 find_check_entry(struct ip6t_entry *e, struct net *net, const char *name, in find_check_entry() 782 static void cleanup_entry(struct ip6t_entry *e, struct net *net) in cleanup_entry() 805 translate_table(struct net *net, struct xt_table_info *newinfo, void *entry0, in translate_table() 1087 static int get_info(struct net *net, void __user *user, in get_info() 1149 get_entries(struct net *net, struct ip6t_get_entries __user *uptr, in get_entries() 1189 __do_replace(struct net *net, const char *name, unsigned int valid_hooks, in __do_replace() 1264 do_replace(struct net *net, const void __user *user, unsigned int len) in do_replace() [all …]
|
D | nf_tables_ipv6.c | 61 static int nf_tables_ipv6_init_net(struct net *net) in nf_tables_ipv6_init_net() 78 static void nf_tables_ipv6_exit_net(struct net *net) in nf_tables_ipv6_exit_net()
|
D | nf_log_ipv6.c | 344 static void nf_log_ip6_packet(struct net *net, u_int8_t pf, in nf_log_ip6_packet() 380 static int __net_init nf_log_ipv6_net_init(struct net *net) in nf_log_ipv6_net_init() 386 static void __net_exit nf_log_ipv6_net_exit(struct net *net) in nf_log_ipv6_net_exit()
|
/linux-4.1.27/net/ |
D | sysctl_net.c | 44 struct net *net = container_of(head->set, struct net, sysctls); in net_ctl_permissions() local 67 static int __net_init sysctl_net_init(struct net *net) in sysctl_net_init() 73 static void __net_exit sysctl_net_exit(struct net *net) in sysctl_net_exit() 103 struct ctl_table_header *register_net_sysctl(struct net *net, in register_net_sysctl()
|
/linux-4.1.27/fs/nfs/blocklayout/ |
D | rpc_pipefs.c | 56 struct net *net = server->nfs_client->cl_net; in bl_resolve_deviceid() local 169 struct net *net = sb->s_fs_info; in rpc_pipefs_event() local 207 static struct dentry *nfs4blocklayout_register_net(struct net *net, in nfs4blocklayout_register_net() 221 static void nfs4blocklayout_unregister_net(struct net *net, in nfs4blocklayout_unregister_net() 233 static int nfs4blocklayout_net_init(struct net *net) in nfs4blocklayout_net_init() 252 static void nfs4blocklayout_net_exit(struct net *net) in nfs4blocklayout_net_exit()
|
/linux-4.1.27/net/wireless/ |
D | wext-proc.c | 92 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 143 int __net_init wext_proc_init(struct net *net) in wext_proc_init() 153 void __net_exit wext_proc_exit(struct net *net) in wext_proc_exit()
|
D | wext-core.c | 348 struct net *net; in wireless_nlevent_flush() local 379 static int __net_init wext_pernet_init(struct net *net) in wext_pernet_init() 385 static void __net_exit wext_pernet_exit(struct net *net) in wext_pernet_exit() 914 static int wireless_process_ioctl(struct net *net, struct ifreq *ifr, in wireless_process_ioctl() 998 static int wext_ioctl_dispatch(struct net *net, struct ifreq *ifr, in wext_ioctl_dispatch() 1060 int wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd, in wext_handle_ioctl() 1108 int compat_wext_handle_ioctl(struct net *net, unsigned int cmd, in compat_wext_handle_ioctl()
|
/linux-4.1.27/net/ieee802154/6lowpan/ |
D | reassembly.c | 97 struct net *net; in lowpan_frag_expire() local 114 fq_find(struct net *net, const struct lowpan_frag_info *frag_info, in fq_find() 357 struct net *net = dev_net(skb->dev); in lowpan_frag_rcv() local 436 static int __net_init lowpan_frags_ns_sysctl_register(struct net *net) in lowpan_frags_ns_sysctl_register() 476 static void __net_exit lowpan_frags_ns_sysctl_unregister(struct net *net) in lowpan_frags_ns_sysctl_unregister() 503 static inline int lowpan_frags_ns_sysctl_register(struct net *net) in lowpan_frags_ns_sysctl_register() 508 static inline void lowpan_frags_ns_sysctl_unregister(struct net *net) in lowpan_frags_ns_sysctl_unregister() 522 static int __net_init lowpan_frags_init_net(struct net *net) in lowpan_frags_init_net() 536 static void __net_exit lowpan_frags_exit_net(struct net *net) in lowpan_frags_exit_net()
|
/linux-4.1.27/net/ipv4/netfilter/ |
D | nf_conntrack_l3proto_ipv4_compat.c | 34 struct net *net = seq_file_net(seq); in ct_get_first() local 52 struct net *net = seq_file_net(seq); in ct_get_next() local 223 struct net *net = seq_file_net(seq); in ct_expect_get_first() local 239 struct net *net = seq_file_net(seq); in ct_expect_get_next() local 331 struct net *net = seq_file_net(seq); in ct_cpu_seq_start() local 349 struct net *net = seq_file_net(seq); in ct_cpu_seq_next() local 368 struct net *net = seq_file_net(seq); in ct_cpu_seq_show() local 422 static int __net_init ip_conntrack_net_init(struct net *net) in ip_conntrack_net_init() 449 static void __net_exit ip_conntrack_net_exit(struct net *net) in ip_conntrack_net_exit()
|
D | nf_conntrack_proto_icmp.c | 27 static inline struct nf_icmp_net *icmp_pernet(struct net *net) in icmp_pernet() 84 static unsigned int *icmp_get_timeouts(struct net *net) in icmp_get_timeouts() 130 icmp_error_message(struct net *net, struct nf_conn *tmpl, struct sk_buff *skb, in icmp_error_message() 180 icmp_error(struct net *net, struct nf_conn *tmpl, in icmp_error() 284 struct net *net, void *data) in icmp_timeout_nlattr_to_obj() 373 static int icmp_init_net(struct net *net, u_int16_t proto) in icmp_init_net() 392 static struct nf_proto_net *icmp_get_net_proto(struct net *net) in icmp_get_net_proto()
|
D | iptable_raw.c | 26 const struct net *net; in iptable_raw_hook() local 40 static int __net_init iptable_raw_net_init(struct net *net) in iptable_raw_net_init() 53 static void __net_exit iptable_raw_net_exit(struct net *net) in iptable_raw_net_exit()
|
D | arptable_filter.c | 33 const struct net *net = dev_net(state->in ? state->in : state->out); in arptable_filter_hook() local 41 static int __net_init arptable_filter_net_init(struct net *net) in arptable_filter_net_init() 54 static void __net_exit arptable_filter_net_exit(struct net *net) in arptable_filter_net_exit()
|
D | iptable_security.c | 43 const struct net *net; in iptable_security_hook() local 58 static int __net_init iptable_security_net_init(struct net *net) in iptable_security_net_init() 71 static void __net_exit iptable_security_net_exit(struct net *net) in iptable_security_net_exit()
|
D | iptable_filter.c | 39 const struct net *net; in iptable_filter_hook() local 57 static int __net_init iptable_filter_net_init(struct net *net) in iptable_filter_net_init() 74 static void __net_exit iptable_filter_net_exit(struct net *net) in iptable_filter_net_exit()
|
D | iptable_nat.c | 36 struct net *net = nf_ct_net(ct); in iptable_nat_do_chain() local 104 static int __net_init iptable_nat_net_init(struct net *net) in iptable_nat_net_init() 116 static void __net_exit iptable_nat_net_exit(struct net *net) in iptable_nat_net_exit()
|
D | nf_log_arp.c | 80 static void nf_log_arp_packet(struct net *net, u_int8_t pf, in nf_log_arp_packet() 112 static int __net_init nf_log_arp_net_init(struct net *net) in nf_log_arp_net_init() 118 static void __net_exit nf_log_arp_net_exit(struct net *net) in nf_log_arp_net_exit()
|
D | ip_tables.c | 262 struct net *net = dev_net(in ? in : out); in trace_packet() local 553 static void cleanup_match(struct xt_entry_match *m, struct net *net) in cleanup_match() 629 static int check_target(struct ipt_entry *e, struct net *net, const char *name) in check_target() 654 find_check_entry(struct ipt_entry *e, struct net *net, const char *name, in find_check_entry() 769 cleanup_entry(struct ipt_entry *e, struct net *net) in cleanup_entry() 792 translate_table(struct net *net, struct xt_table_info *newinfo, void *entry0, in translate_table() 1074 static int get_info(struct net *net, void __user *user, in get_info() 1136 get_entries(struct net *net, struct ipt_get_entries __user *uptr, in get_entries() 1176 __do_replace(struct net *net, const char *name, unsigned int valid_hooks, in __do_replace() 1251 do_replace(struct net *net, const void __user *user, unsigned int len) in do_replace() [all …]
|
D | nf_tables_arp.c | 41 static int nf_tables_arp_init_net(struct net *net) in nf_tables_arp_init_net() 58 static void nf_tables_arp_exit_net(struct net *net) in nf_tables_arp_exit_net()
|
D | nf_tables_ipv4.c | 62 static int nf_tables_ipv4_init_net(struct net *net) in nf_tables_ipv4_init_net() 79 static void nf_tables_ipv4_exit_net(struct net *net) in nf_tables_ipv4_exit_net()
|
D | nf_log_ipv4.c | 312 static void nf_log_ip_packet(struct net *net, u_int8_t pf, in nf_log_ip_packet() 348 static int __net_init nf_log_ipv4_net_init(struct net *net) in nf_log_ipv4_net_init() 354 static void __net_exit nf_log_ipv4_net_exit(struct net *net) in nf_log_ipv4_net_exit()
|
/linux-4.1.27/net/phonet/ |
D | pn_dev.c | 49 static struct phonet_net *phonet_pernet(struct net *net) in phonet_pernet() 56 struct phonet_device_list *phonet_device_list(struct net *net) in phonet_device_list() 124 struct net_device *phonet_device_get(struct net *net) in phonet_device_get() 222 int phonet_address_lookup(struct net *net, u8 addr) in phonet_address_lookup() 319 static int __net_init phonet_init_net(struct net *net) in phonet_init_net() 332 static void __net_exit phonet_exit_net(struct net *net) in phonet_exit_net() 404 struct net_device *phonet_route_get_rcu(struct net *net, u8 daddr) in phonet_route_get_rcu() 415 struct net_device *phonet_route_output(struct net *net, u8 daddr) in phonet_route_output()
|
D | socket.c | 77 struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *spn) in pn_find_sock_by_sa() 115 void pn_deliver_sock_broadcast(struct net *net, struct sk_buff *skb) in pn_deliver_sock_broadcast() 494 struct net *net = sock_net(sk); in pn_sock_get_port() local 542 struct net *net = seq_file_net(seq); in pn_sock_get_idx() local 562 struct net *net = seq_file_net(seq); in pn_sock_get_next() local 649 struct sock *pn_find_sock_by_res(struct net *net, u8 res) in pn_find_sock_by_res() 731 struct net *net = seq_file_net(seq); in pn_res_get_idx() local 749 struct net *net = seq_file_net(seq); in pn_res_get_next() local
|
/linux-4.1.27/net/8021q/ |
D | vlanproc.c | 126 void vlan_proc_cleanup(struct net *net) in vlan_proc_cleanup() 145 int __net_init vlan_proc_init(struct net *net) in vlan_proc_init() 206 struct net *net = seq_file_net(seq); in vlan_seq_start() local 227 struct net *net = seq_file_net(seq); in vlan_seq_next() local 253 struct net *net = seq_file_net(seq); in vlan_seq_show() local
|
D | vlanproc.h | 14 #define vlan_proc_init(net) (0) argument 15 #define vlan_proc_cleanup(net) do {} while (0) argument
|
D | vlan.c | 215 struct net *net = dev_net(real_dev); in register_vlan_device() local 503 static int vlan_ioctl_handler(struct net *net, void __user *arg) in vlan_ioctl_handler() 621 static int __net_init vlan_init_net(struct net *net) in vlan_init_net() 633 static void __net_exit vlan_exit_net(struct net *net) in vlan_exit_net()
|
/linux-4.1.27/drivers/net/usb/ |
D | sr9800.c | 296 static void sr_set_multicast(struct net_device *net) in sr_set_multicast() 336 static int sr_mdio_read(struct net_device *net, int phy_id, int loc) in sr_mdio_read() 355 sr_mdio_write(struct net_device *net, int phy_id, int loc, int val) in sr_mdio_write() 400 sr_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in sr_get_wol() 419 sr_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in sr_set_wol() 436 static int sr_get_eeprom_len(struct net_device *net) in sr_get_eeprom_len() 444 static int sr_get_eeprom(struct net_device *net, in sr_get_eeprom() 470 static void sr_get_drvinfo(struct net_device *net, in sr_get_drvinfo() 483 static u32 sr_get_link(struct net_device *net) in sr_get_link() 490 static int sr_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in sr_ioctl() [all …]
|
D | asix_common.c | 326 void asix_set_multicast(struct net_device *net) in asix_set_multicast() 397 void asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_get_wol() 415 int asix_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_set_wol() 432 int asix_get_eeprom_len(struct net_device *net) in asix_get_eeprom_len() 437 int asix_get_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, in asix_get_eeprom() 472 int asix_set_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, in asix_set_eeprom() 553 void asix_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *info) in asix_get_drvinfo() 562 int asix_set_mac_address(struct net_device *net, void *p) in asix_set_mac_address()
|
D | ipheth.c | 142 struct net_device *net; member 326 struct net_device *net = dev->net; in ipheth_get_macaddr() local 373 static int ipheth_open(struct net_device *net) in ipheth_open() 394 static int ipheth_close(struct net_device *net) in ipheth_close() 403 static int ipheth_tx(struct sk_buff *skb, struct net_device *net) in ipheth_tx() 445 static void ipheth_tx_timeout(struct net_device *net) in ipheth_tx_timeout() 454 static u32 ipheth_ethtool_op_get_link(struct net_device *net) in ipheth_ethtool_op_get_link()
|
D | usbnet.c | 376 int usbnet_change_mtu (struct net_device *net, int new_mtu) in usbnet_change_mtu() 777 int usbnet_stop (struct net_device *net) in usbnet_stop() 839 int usbnet_open (struct net_device *net) in usbnet_open() 928 int usbnet_get_settings (struct net_device *net, struct ethtool_cmd *cmd) in usbnet_get_settings() 939 int usbnet_set_settings (struct net_device *net, struct ethtool_cmd *cmd) in usbnet_set_settings() 961 u32 usbnet_get_link (struct net_device *net) in usbnet_get_link() 978 int usbnet_nway_reset(struct net_device *net) in usbnet_nway_reset() 989 void usbnet_get_drvinfo (struct net_device *net, struct ethtool_drvinfo *info) in usbnet_get_drvinfo() 1001 u32 usbnet_get_msglevel (struct net_device *net) in usbnet_get_msglevel() 1009 void usbnet_set_msglevel (struct net_device *net, u32 level) in usbnet_set_msglevel() [all …]
|
D | pegasus.c | 442 struct net_device *net; in read_bulk_callback() local 589 struct net_device *net; in write_bulk_callback() local 625 struct net_device *net; in intr_callback() local 678 static void pegasus_tx_timeout(struct net_device *net) in pegasus_tx_timeout() 687 struct net_device *net) in pegasus_start_xmit() 759 static void set_carrier(struct net_device *net) in set_carrier() 810 static int pegasus_open(struct net_device *net) in pegasus_open() 863 static int pegasus_close(struct net_device *net) in pegasus_close() 987 static int pegasus_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in pegasus_ioctl() 1012 static void pegasus_set_multicast(struct net_device *net) in pegasus_set_multicast() [all …]
|
D | mcs7830.c | 332 static int mcs7830_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in mcs7830_ioctl() 359 static void mcs7830_data_set_multicast(struct net_device *net) in mcs7830_data_set_multicast() 422 static void mcs7830_set_multicast(struct net_device *net) in mcs7830_set_multicast() 432 static int mcs7830_get_regs_len(struct net_device *net) in mcs7830_get_regs_len() 445 static void mcs7830_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *drvinfo) in mcs7830_get_drvinfo() 451 static void mcs7830_get_regs(struct net_device *net, struct ethtool_regs *regs, void *data) in mcs7830_get_regs() 487 struct net_device *net = dev->net; in mcs7830_bind() local
|
D | ax88172a.c | 54 static int ax88172a_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in ax88172a_ioctl() 163 static int ax88172a_get_settings(struct net_device *net, in ax88172a_get_settings() 172 static int ax88172a_set_settings(struct net_device *net, in ax88172a_set_settings() 181 static int ax88172a_nway_reset(struct net_device *net) in ax88172a_nway_reset()
|
D | dm9601.c | 200 static int dm9601_get_eeprom(struct net_device *net, in dm9601_get_eeprom() 256 static void dm9601_get_drvinfo(struct net_device *net, in dm9601_get_drvinfo() 264 static u32 dm9601_get_link(struct net_device *net) in dm9601_get_link() 271 static int dm9601_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in dm9601_ioctl() 290 static void dm9601_set_multicast(struct net_device *net) in dm9601_set_multicast() 324 static int dm9601_set_mac_address(struct net_device *net, void *p) in dm9601_set_mac_address()
|
/linux-4.1.27/net/bridge/netfilter/ |
D | nf_log_bridge.c | 19 static void nf_log_bridge_packet(struct net *net, u_int8_t pf, in nf_log_bridge_packet() 51 static int __net_init nf_log_bridge_net_init(struct net *net) in nf_log_bridge_net_init() 57 static void __net_exit nf_log_bridge_net_exit(struct net *net) in nf_log_bridge_net_exit()
|
D | ebtable_broute.c | 62 static int __net_init broute_net_init(struct net *net) in broute_net_init() 68 static void __net_exit broute_net_exit(struct net *net) in broute_net_exit()
|
D | ebtables.c | 351 find_table_lock(struct net *net, const char *name, int *error, in find_table_lock() 588 ebt_cleanup_match(struct ebt_entry_match *m, struct net *net, unsigned int *i) in ebt_cleanup_match() 606 ebt_cleanup_watcher(struct ebt_entry_watcher *w, struct net *net, unsigned int *i) in ebt_cleanup_watcher() 624 ebt_cleanup_entry(struct ebt_entry *e, struct net *net, unsigned int *cnt) in ebt_cleanup_entry() 649 ebt_check_entry(struct ebt_entry *e, struct net *net, in ebt_check_entry() 835 static int translate_table(struct net *net, const char *name, in translate_table() 977 static int do_replace_finish(struct net *net, struct ebt_replace *repl, in do_replace_finish() 1095 static int do_replace(struct net *net, const void __user *user, in do_replace() 1154 ebt_register_table(struct net *net, const struct ebt_table *input_table) in ebt_register_table() 1252 void ebt_unregister_table(struct net *net, struct ebt_table *table) in ebt_unregister_table() [all …]
|
D | ebtable_filter.c | 99 static int __net_init frame_filter_net_init(struct net *net) in frame_filter_net_init() 105 static void __net_exit frame_filter_net_exit(struct net *net) in frame_filter_net_exit()
|
D | ebtable_nat.c | 99 static int __net_init frame_nat_net_init(struct net *net) in frame_nat_net_init() 105 static void __net_exit frame_nat_net_exit(struct net *net) in frame_nat_net_exit()
|
/linux-4.1.27/fs/nfs/ |
D | callback.c | 42 static int nfs4_callback_up_net(struct svc_serv *serv, struct net *net) in nfs4_callback_up_net() 102 static int nfs41_callback_up_net(struct svc_serv *serv, struct net *net) in nfs41_callback_up_net() 191 static int nfs41_callback_up_net(struct svc_serv *serv, struct net *net) in nfs41_callback_up_net() 255 static void nfs_callback_down_net(u32 minorversion, struct svc_serv *serv, struct net *net) in nfs_callback_down_net() 266 static int nfs_callback_up_net(int minorversion, struct svc_serv *serv, struct net *net) in nfs_callback_up_net() 357 struct net *net = xprt->xprt_net; in nfs_callback_up() local 397 void nfs_callback_down(int minorversion, struct net *net) in nfs_callback_down()
|
D | dns_resolve.h | 19 static inline int nfs_dns_resolver_cache_init(struct net *net) in nfs_dns_resolver_cache_init() 24 static inline void nfs_dns_resolver_cache_destroy(struct net *net) in nfs_dns_resolver_cache_destroy()
|
D | dns_resolve.c | 17 ssize_t nfs_dns_resolve_name(struct net *net, char *name, size_t namelen, in nfs_dns_resolve_name() 332 ssize_t nfs_dns_resolve_name(struct net *net, char *name, in nfs_dns_resolve_name() 372 int nfs_dns_resolver_cache_init(struct net *net) in nfs_dns_resolver_cache_init() 391 void nfs_dns_resolver_cache_destroy(struct net *net) in nfs_dns_resolver_cache_destroy() 399 static int nfs4_dns_net_init(struct net *net) in nfs4_dns_net_init() 404 static void nfs4_dns_net_exit(struct net *net) in nfs4_dns_net_exit() 418 struct net *net = sb->s_fs_info; in rpc_pipefs_event() local
|
/linux-4.1.27/drivers/net/hyperv/ |
D | netvsc_drv.c | 83 static void netvsc_set_multicast_list(struct net_device *net) in netvsc_set_multicast_list() 90 static int netvsc_open(struct net_device *net) in netvsc_open() 117 static int netvsc_close(struct net_device *net) in netvsc_close() 374 static int netvsc_start_xmit(struct sk_buff *skb, struct net_device *net) in netvsc_start_xmit() 602 struct net_device *net; in netvsc_linkstatus_callback() local 646 struct net_device *net; in netvsc_recv_callback() local 702 static void netvsc_get_drvinfo(struct net_device *net, in netvsc_get_drvinfo() 709 static void netvsc_get_channels(struct net_device *net, in netvsc_get_channels() 784 static void netvsc_poll_controller(struct net_device *net) in netvsc_poll_controller() 823 struct net_device *net; in netvsc_link_change() local [all …]
|
/linux-4.1.27/include/net/sctp/ |
D | sctp.h | 178 #define SCTP_INC_STATS(net, field) SNMP_INC_STATS((net)->sctp.sctp_statistics, field) argument 179 #define SCTP_INC_STATS_BH(net, field) SNMP_INC_STATS_BH((net)->sctp.sctp_statistics, field) argument 180 #define SCTP_INC_STATS_USER(net, field) SNMP_INC_STATS_USER((net)->sctp.sctp_statistics, field) argument 181 #define SCTP_DEC_STATS(net, field) SNMP_DEC_STATS((net)->sctp.sctp_statistics, field) argument 279 static inline void sctp_dbg_objcnt_init(struct net *net) { return; } in sctp_dbg_objcnt_init() 280 static inline void sctp_dbg_objcnt_exit(struct net *net) { return; } in sctp_dbg_objcnt_exit() 292 static inline int sctp_sysctl_net_register(struct net *net) { return 0; } in sctp_sysctl_net_register() 293 static inline void sctp_sysctl_net_unregister(struct net *net) { return; } in sctp_sysctl_net_unregister() 511 static inline int sctp_phashfn(struct net *net, __u16 lport) in sctp_phashfn() 517 static inline int sctp_ep_hashfn(struct net *net, __u16 lport) in sctp_ep_hashfn() [all …]
|
/linux-4.1.27/net/unix/ |
D | sysctl_net_unix.c | 29 int __net_init unix_sysctl_register(struct net *net) in unix_sysctl_register() 54 void unix_sysctl_unregister(struct net *net) in unix_sysctl_unregister()
|
/linux-4.1.27/net/l2tp/ |
D | l2tp_netlink.c | 65 struct net *net = genl_info_net(info); in l2tp_nl_session_find() local 177 struct net *net = genl_info_net(info); in l2tp_nl_cmd_tunnel_create() local 271 struct net *net = genl_info_net(info); in l2tp_nl_cmd_tunnel_delete() local 299 struct net *net = genl_info_net(info); in l2tp_nl_cmd_tunnel_modify() local 419 struct net *net = genl_info_net(info); in l2tp_nl_cmd_tunnel_get() local 458 struct net *net = sock_net(skb->sk); in l2tp_nl_cmd_tunnel_dump() local 488 struct net *net = genl_info_net(info); in l2tp_nl_cmd_session_create() local 810 struct net *net = sock_net(skb->sk); in l2tp_nl_cmd_session_dump() local
|
/linux-4.1.27/net/mpls/ |
D | af_mpls.c | 44 static struct mpls_route *mpls_route_input_rcu(struct net *net, unsigned index) in mpls_route_input_rcu() 139 struct net *net = dev_net(dev); in mpls_forward() local 279 static void mpls_notify_route(struct net *net, unsigned index, in mpls_notify_route() 293 static void mpls_route_update(struct net *net, unsigned index, in mpls_route_update() 315 static unsigned find_free_label(struct net *net) in find_free_label() 333 struct net *net = cfg->rc_nlinfo.nl_net; in mpls_route_add() local 420 struct net *net = cfg->rc_nlinfo.nl_net; in mpls_route_del() local 522 struct net *net = dev_net(dev); in mpls_ifdown() local 861 struct net *net = sock_net(skb->sk); in mpls_dump_routes() local 904 struct nlmsghdr *nlh, struct net *net, u32 portid, in rtmsg_lfib() [all …]
|
/linux-4.1.27/net/bridge/ |
D | br_ioctl.c | 25 static int get_bridge_ifindices(struct net *net, int *indices, int num) in get_bridge_ifindices() 88 struct net *net = dev_net(br->dev); in add_del_if() local 296 static int old_deviceless(struct net *net, void __user *uarg) in old_deviceless() 350 int br_ioctl_deviceless_stub(struct net *net, unsigned int cmd, void __user *uarg) in br_ioctl_deviceless_stub()
|
D | br_mdb.c | 117 struct net *net = sock_net(skb->sk); in br_mdb_dump() local 212 struct net *net = dev_net(dev); in __br_mdb_notify() local 273 struct net *net = sock_net(skb->sk); in br_mdb_parse() local 354 static int __br_mdb_add(struct net *net, struct net_bridge *br, in __br_mdb_add() 390 struct net *net = sock_net(skb->sk); in br_mdb_add() local
|
/linux-4.1.27/drivers/net/can/spi/ |
D | mcp251x.c | 244 struct net_device *net; member 284 static void mcp251x_clean(struct net_device *net) in mcp251x_clean() 515 struct net_device *net) in mcp251x_hard_start_xmit() 535 static int mcp251x_do_set_mode(struct net_device *net, enum can_mode mode) in mcp251x_do_set_mode() 591 static int mcp251x_do_set_bittiming(struct net_device *net) in mcp251x_do_set_bittiming() 614 static int mcp251x_setup(struct net_device *net, struct mcp251x_priv *priv, in mcp251x_setup() 681 static void mcp251x_open_clean(struct net_device *net) in mcp251x_open_clean() 692 static int mcp251x_stop(struct net_device *net) in mcp251x_stop() 726 static void mcp251x_error_skb(struct net_device *net, int can_id, int data1) in mcp251x_error_skb() 746 struct net_device *net = priv->net; in mcp251x_tx_work_handler() local [all …]
|
/linux-4.1.27/net/key/ |
D | af_key.c | 95 struct net *net = sock_net(sk); in pfkey_sock_destruct() local 116 struct net *net = sock_net(sk); in pfkey_insert() local 137 static int pfkey_create(struct net *net, struct socket *sock, int protocol, in pfkey_create() 224 struct net *net) in pfkey_broadcast() 613 static struct xfrm_state *pfkey_xfrm_state_lookup(struct net *net, const struct sadb_msg *hdr, voi… in pfkey_xfrm_state_lookup() 1029 static struct xfrm_state * pfkey_msg2xfrm_state(struct net *net, in pfkey_msg2xfrm_state() 1269 struct net *net = sock_net(sk); in pfkey_getspi() local 1374 struct net *net = sock_net(sk); in pfkey_acquire() local 1461 struct net *net = sock_net(sk); in pfkey_add() local 1498 struct net *net = sock_net(sk); in pfkey_delete() local [all …]
|
/linux-4.1.27/net/sched/ |
D | cls_api.c | 123 struct net *net = sock_net(skb->sk); in tc_ctl_tfilter() local 354 static int tcf_fill_node(struct net *net, struct sk_buff *skb, struct tcf_proto *tp, in tcf_fill_node() 388 static int tfilter_notify(struct net *net, struct sk_buff *oskb, in tfilter_notify() 418 struct net *net = sock_net(a->skb->sk); in tcf_node_dump() local 427 struct net *net = sock_net(skb->sk); in tc_dump_tfilter() local 518 int tcf_exts_validate(struct net *net, struct tcf_proto *tp, struct nlattr **tb, in tcf_exts_validate()
|
/linux-4.1.27/net/netlink/ |
D | genetlink.c | 266 struct net *net; in genl_validate_assign_mc_groups() local 300 struct net *net; in genl_unregister_mc_groups() local 547 struct net *net = sock_net(skb->sk); in genl_family_rcv_msg() local 819 struct net *net = sock_net(skb->sk); in ctrl_dumpfamily() local 994 static int genl_bind(struct net *net, int group) in genl_bind() 1022 static void genl_unbind(struct net *net, int group) in genl_unbind() 1044 static int __net_init genl_pernet_init(struct net *net) in genl_pernet_init() 1065 static void __net_exit genl_pernet_exit(struct net *net) in genl_pernet_exit() 1104 struct net *net, *prev = NULL; in genlmsg_mcast() local 1140 struct sk_buff *skb, struct net *net, u32 portid, u32 group, in genl_notify()
|
/linux-4.1.27/net/sunrpc/auth_gss/ |
D | gss_rpc_upcall.c | 92 static int gssp_rpc_create(struct net *net, struct rpc_clnt **_clnt) in gssp_rpc_create() 142 int set_gssp_clnt(struct net *net) in set_gssp_clnt() 181 static int gssp_call(struct net *net, struct rpc_message *msg) in gssp_call() 249 int gssp_accept_sec_context_upcall(struct net *net, in gssp_accept_sec_context_upcall()
|
/linux-4.1.27/drivers/vhost/ |
D | net.c | 205 static void vhost_net_tx_packet(struct vhost_net *net) in vhost_net_tx_packet() 214 static void vhost_net_tx_err(struct vhost_net *net) in vhost_net_tx_err() 219 static bool vhost_net_tx_select_zcopy(struct vhost_net *net) in vhost_net_tx_select_zcopy() 239 static void vhost_zerocopy_signal_used(struct vhost_net *net, in vhost_zerocopy_signal_used() 293 static void handle_tx(struct vhost_net *net) in handle_tx() 518 static void handle_rx(struct vhost_net *net) in handle_rx() 648 struct vhost_net *net = container_of(vq->dev, struct vhost_net, dev); in handle_tx_kick() local 657 struct vhost_net *net = container_of(vq->dev, struct vhost_net, dev); in handle_rx_kick() local 664 struct vhost_net *net = container_of(work, struct vhost_net, in handle_tx_net() local 671 struct vhost_net *net = container_of(work, struct vhost_net, in handle_rx_net() local
|
/linux-4.1.27/net/dccp/ |
D | ipv4.c | 201 struct net *net = sock_net(sk); in dccp_req_err() local 248 struct net *net = dev_net(skb->dev); in dccp_v4_err() local 476 static struct dst_entry* dccp_v4_route_skb(struct net *net, struct sock *sk, in dccp_v4_route_skb() 536 struct net *net = dev_net(skb_dst(rxskb)->dev); in dccp_v4_ctl_send_reset() local 1026 static int __net_init dccp_v4_init_net(struct net *net) in dccp_v4_init_net() 1035 static void __net_exit dccp_v4_exit_net(struct net *net) in dccp_v4_exit_net()
|