Home
last modified time | relevance | path

Searched defs:net (Results 201 – 400 of 639) sorted by relevance

1234

/linux-4.4.14/drivers/net/usb/
Ddm9601.c200 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()
263 static u32 dm9601_get_link(struct net_device *net) in dm9601_get_link()
270 static int dm9601_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in dm9601_ioctl()
289 static void dm9601_set_multicast(struct net_device *net) in dm9601_set_multicast()
323 static int dm9601_set_mac_address(struct net_device *net, void *p) in dm9601_set_mac_address()
Dax88179_178a.c543 ax88179_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_get_wol()
564 ax88179_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_set_wol()
581 static int ax88179_get_eeprom_len(struct net_device *net) in ax88179_get_eeprom_len()
587 ax88179_get_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, in ax88179_get_eeprom()
623 static int ax88179_get_settings(struct net_device *net, struct ethtool_cmd *cmd) in ax88179_get_settings()
629 static int ax88179_set_settings(struct net_device *net, struct ethtool_cmd *cmd) in ax88179_set_settings()
776 static int ax88179_get_eee(struct net_device *net, struct ethtool_eee *edata) in ax88179_get_eee()
787 static int ax88179_set_eee(struct net_device *net, struct ethtool_eee *edata) in ax88179_set_eee()
815 static int ax88179_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in ax88179_ioctl()
836 static void ax88179_set_multicast(struct net_device *net) in ax88179_set_multicast()
[all …]
Dkaweth.c228 struct net_device *net; member
597 struct net_device *net = kaweth->net; in kaweth_usb_receive() local
683 static int kaweth_open(struct net_device *net) in kaweth_open()
748 static int kaweth_close(struct net_device *net) in kaweth_close()
799 struct net_device *net) in kaweth_start_xmit()
865 static void kaweth_set_rx_mode(struct net_device *net) in kaweth_set_rx_mode()
935 static void kaweth_tx_timeout(struct net_device *net) in kaweth_tx_timeout()
Dasix_devices.c101 static u32 asix_get_link(struct net_device *net) in asix_get_link()
108 static int asix_ioctl (struct net_device *net, struct ifreq *rq, int cmd) in asix_ioctl()
133 static void ax88172_set_multicast(struct net_device *net) in ax88172_set_multicast()
750 static int ax88178_change_mtu(struct net_device *net, int new_mtu) in ax88178_change_mtu()
Dlan78xx.c237 struct net_device *net; member
1074 static int lan78xx_get_eee(struct net_device *net, struct ethtool_eee *edata) in lan78xx_get_eee()
1112 static int lan78xx_set_eee(struct net_device *net, struct ethtool_eee *edata) in lan78xx_set_eee()
1142 static u32 lan78xx_get_link(struct net_device *net) in lan78xx_get_link()
1149 int lan78xx_nway_reset(struct net_device *net) in lan78xx_nway_reset()
1154 static void lan78xx_get_drvinfo(struct net_device *net, in lan78xx_get_drvinfo()
1164 static u32 lan78xx_get_msglevel(struct net_device *net) in lan78xx_get_msglevel()
1171 static void lan78xx_set_msglevel(struct net_device *net, u32 level) in lan78xx_set_msglevel()
1178 static int lan78xx_get_mdix_status(struct net_device *net) in lan78xx_get_mdix_status()
1190 static void lan78xx_set_mdix_status(struct net_device *net, __u8 mdix_ctrl) in lan78xx_set_mdix_status()
[all …]
/linux-4.4.14/include/net/
Dinet_hashtables.h181 static inline u32 inet_bhashfn(const struct net *net, const __u16 lport, in inet_bhashfn()
191 static inline u32 inet_lhashfn(const struct net *net, const unsigned short num) in inet_lhashfn()
221 static inline struct sock *inet_lookup_listener(struct net *net, in inet_lookup_listener()
291 inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, in inet_lookup_established()
300 static inline struct sock *__inet_lookup(struct net *net, in __inet_lookup()
314 static inline struct sock *inet_lookup(struct net *net, in inet_lookup()
Dgenetlink.h105 static inline void genl_info_net_set(struct genl_info *info, struct net *net) in genl_info_net_set()
293 struct net *net, struct sk_buff *skb, in genlmsg_multicast_netns()
337 static inline int genlmsg_unicast(struct net *net, struct sk_buff *skb, u32 portid) in genlmsg_unicast()
412 static inline int genl_set_err(struct genl_family *family, struct net *net, in genl_set_err()
422 struct net *net, unsigned int group) in genl_has_listeners()
Dudp_tunnel.h45 static inline int udp_sock_create6(struct net *net, struct udp_port_cfg *cfg, in udp_sock_create6()
52 static inline int udp_sock_create(struct net *net, in udp_sock_create()
Ddst.h369 struct net *net) in __skb_tunnel_rx()
393 struct net *net) in skb_tunnel_rx()
490 static inline int dst_output(struct net *net, struct sock *sk, struct sk_buff *skb) in dst_output()
519 static inline struct dst_entry *xfrm_lookup(struct net *net, in xfrm_lookup()
528 static inline struct dst_entry *xfrm_lookup_route(struct net *net, in xfrm_lookup_route()
Daf_unix.h82 static inline int unix_sysctl_register(struct net *net) { return 0; } in unix_sysctl_register()
83 static inline void unix_sysctl_unregister(struct net *net) {} in unix_sysctl_unregister()
Dip6_route.h70 static inline struct dst_entry *ip6_route_output(struct net *net, in ip6_route_output()
131 struct net *net; member
Dinet6_hashtables.h61 static inline struct sock *__inet6_lookup(struct net *net, in __inet6_lookup()
Dxfrm.h47 #define XFRM_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.xfrm_statistics, field) argument
48 #define XFRM_INC_STATS_BH(net, field) SNMP_INC_STATS_BH((net)->mib.xfrm_statistics, field) argument
49 #define XFRM_INC_STATS_USER(net, field) SNMP_INC_STATS_USER((net)-mib.xfrm_statistics, field) argument
51 #define XFRM_INC_STATS(net, field) ((void)(net)) argument
52 #define XFRM_INC_STATS_BH(net, field) ((void)(net)) argument
53 #define XFRM_INC_STATS_USER(net, field) ((void)(net)) argument
266 struct net *net; member
1070 struct net *net = dev_net(skb->dev); in __xfrm_policy_check2() local
1128 struct net *net = dev_net(skb->dev); in xfrm_route_forward() local
1210 static inline void xfrm_garbage_collect(struct net *net) in xfrm_garbage_collect()
[all …]
/linux-4.4.14/net/sunrpc/
Dsvc_xprt.c151 void svc_xprt_init(struct net *net, struct svc_xprt_class *xcl, in svc_xprt_init()
173 struct net *net, in __svc_xpo_create()
246 struct net *net, const int family, in svc_create_xprt()
999 static int svc_close_list(struct svc_serv *serv, struct list_head *xprt_list, struct net *net) in svc_close_list()
1016 static struct svc_xprt *svc_dequeue_net(struct svc_serv *serv, struct net *net) in svc_dequeue_net()
1039 static void svc_clean_up_xprts(struct svc_serv *serv, struct net *net) in svc_clean_up_xprts()
1061 void svc_close_net(struct svc_serv *serv, struct net *net) in svc_close_net()
1209 struct net *net, const sa_family_t af, in svc_find_xprt()
Drpc_pipe.c39 #define NET_NAME(net) ((net == &init_net) ? " (init_net)" : "") argument
904 rpc_add_pipe_dir_object_locked(struct net *net, in rpc_add_pipe_dir_object_locked()
918 rpc_remove_pipe_dir_object_locked(struct net *net, in rpc_remove_pipe_dir_object_locked()
935 rpc_add_pipe_dir_object(struct net *net, in rpc_add_pipe_dir_object()
960 rpc_remove_pipe_dir_object(struct net *net, in rpc_remove_pipe_dir_object()
984 rpc_find_or_alloc_pipe_dir_object(struct net *net, in rpc_find_or_alloc_pipe_dir_object()
1214 int rpc_pipefs_init_net(struct net *net) in rpc_pipefs_init_net()
1227 void rpc_pipefs_exit_net(struct net *net) in rpc_pipefs_exit_net()
1240 struct super_block *rpc_get_sb_net(const struct net *net) in rpc_get_sb_net()
1252 void rpc_put_sb_net(const struct net *net) in rpc_put_sb_net()
[all …]
Dsvcauth_unix.c293 static inline struct ip_map *ip_map_lookup(struct net *net, char *class, in ip_map_lookup()
322 static inline int ip_map_update(struct net *net, struct ip_map *ipm, in ip_map_update()
331 void svcauth_unix_purge(struct net *net) in svcauth_unix_purge()
586 int unix_gid_cache_create(struct net *net) in unix_gid_cache_create()
604 void unix_gid_cache_destroy(struct net *net) in unix_gid_cache_destroy()
663 struct net *net = xprt->xpt_net; in svcauth_unix_set_client() local
887 int ip_map_cache_create(struct net *net) in ip_map_cache_create()
905 void ip_map_cache_destroy(struct net *net) in ip_map_cache_destroy()
Dclnt.c85 struct net *net = rpc_net_ns(clnt); in rpc_register_client() local
95 struct net *net = rpc_net_ns(clnt); in rpc_unregister_client() local
110 struct net *net = rpc_net_ns(clnt); in rpc_clnt_remove_pipedir() local
221 static struct rpc_clnt *rpc_get_client_for_event(struct net *net, int event) in rpc_get_client_for_event()
302 struct net *net = rpc_net_ns(clnt); in rpc_client_register() local
1140 static int rpc_sockname(struct net *net, struct sockaddr *sap, size_t salen, in rpc_sockname()
1250 struct net *net; in rpc_localaddr() local
2461 void rpc_show_tasks(struct net *net) in rpc_show_tasks()
Dsvcsock.c716 struct net *net, in svc_udp_create()
1252 struct net *net, in svc_tcp_create()
1266 struct net *net, in svc_bc_tcp_create()
1448 bool svc_alien_sock(struct net *net, int fd) in svc_alien_sock()
1521 struct net *net, in svc_create_socket()
1663 struct net *net, in svc_bc_create_socket()
Dcache.c1602 static void remove_cache_proc_entries(struct cache_detail *cd, struct net *net) in remove_cache_proc_entries()
1620 static int create_cache_proc_entries(struct cache_detail *cd, struct net *net) in create_cache_proc_entries()
1661 static int create_cache_proc_entries(struct cache_detail *cd, struct net *net) in create_cache_proc_entries()
1672 int cache_register_net(struct cache_detail *cd, struct net *net) in cache_register_net()
1684 void cache_unregister_net(struct cache_detail *cd, struct net *net) in cache_unregister_net()
1691 struct cache_detail *cache_create_net(struct cache_detail *tmpl, struct net *net) in cache_create_net()
1714 void cache_destroy_net(struct cache_detail *cd, struct net *net) in cache_destroy_net()
/linux-4.4.14/net/ipv4/
Dip_gre.c263 struct net *net = dev_net(skb->dev); in ipgre_err() local
386 struct net *net = dev_net(skb->dev); in ipgre_rcv() local
511 struct net *net = dev_net(dev); in gre_get_rt() local
898 static int __net_init ipgre_init_net(struct net *net) in ipgre_init_net()
903 static void __net_exit ipgre_exit_net(struct net *net) in ipgre_exit_net()
1228 struct net_device *gretap_fb_dev_create(struct net *net, const char *name, in gretap_fb_dev_create()
1265 static int __net_init ipgre_tap_init_net(struct net *net) in ipgre_tap_init_net()
1270 static void __net_exit ipgre_tap_exit_net(struct net *net) in ipgre_tap_exit_net()
Dtcp_ipv4.c318 struct net *net = sock_net(sk); in tcp_req_err() local
370 struct net *net = dev_net(icmp_skb->dev); in tcp_v4_err() local
599 struct net *net; in tcp_v4_send_reset() local
711 static void tcp_v4_send_ack(struct net *net, in tcp_v4_send_ack()
1540 struct net *net = dev_net(skb->dev); in tcp_v4_rcv() local
1842 struct net *net = seq_file_net(seq); in listening_get_next() local
1907 struct net *net = seq_file_net(seq); in established_get_first() local
1940 struct net *net = seq_file_net(seq); in established_get_next() local
2107 int tcp_proc_register(struct net *net, struct tcp_seq_afinfo *afinfo) in tcp_proc_register()
2124 void tcp_proc_unregister(struct net *net, struct tcp_seq_afinfo *afinfo) in tcp_proc_unregister()
[all …]
Dxfrm4_output.c85 static int __xfrm4_output(struct net *net, struct sock *sk, struct sk_buff *skb) in __xfrm4_output()
99 int xfrm4_output(struct net *net, struct sock *sk, struct sk_buff *skb) in xfrm4_output()
Dfou.c392 static int fou_add_to_port_list(struct net *net, struct fou *fou) in fou_add_to_port_list()
446 static int fou_create(struct net *net, struct fou_cfg *cfg, in fou_create()
523 static int fou_destroy(struct net *net, struct fou_cfg *cfg) in fou_destroy()
596 struct net *net = genl_info_net(info); in fou_nl_cmd_add_port() local
609 struct net *net = genl_info_net(info); in fou_nl_cmd_rm_port() local
656 struct net *net = genl_info_net(info); in fou_nl_cmd_get_port() local
698 struct net *net = sock_net(skb->sk); in fou_nl_dump() local
934 static __net_init int fou_init_net(struct net *net) in fou_init_net()
943 static __net_exit void fou_exit_net(struct net *net) in fou_exit_net()
Daf_inet.c249 static int inet_create(struct net *net, struct socket *sock, int protocol, in inet_create()
427 struct net *net = sock_net(sk); in inet_bind() local
844 struct net *net = sock_net(sk); in inet_ioctl() local
1430 struct net *net) in inet_ctl_sock_create()
1530 static __net_init int ipv4_mib_init_net(struct net *net) in ipv4_mib_init_net()
1583 static __net_exit void ipv4_mib_exit_net(struct net *net) in ipv4_mib_exit_net()
1604 static __net_init int inet_init_net(struct net *net) in inet_init_net()
1623 static __net_exit void inet_exit_net(struct net *net) in inet_exit_net()
Dip_tunnel.c302 static struct net_device *__ip_tunnel_create(struct net *net, in __ip_tunnel_create()
409 static struct ip_tunnel *ip_tunnel_create(struct net *net, in ip_tunnel_create()
852 struct net *net = t->net; in ip_tunnel_ioctl() local
1018 int ip_tunnel_init_net(struct net *net, int ip_tnl_net_id, in ip_tunnel_init_net()
1056 struct net *net = dev_net(itn->fb_tunnel_dev); in ip_tunnel_destroy() local
1093 struct net *net = dev_net(dev); in ip_tunnel_newlink() local
1133 struct net *net = tunnel->net; in ip_tunnel_changelink() local
1207 struct net *net = tunnel->net; in ip_tunnel_uninit() local
Dudp_tunnel.c12 int udp_sock_create4(struct net *net, struct udp_port_cfg *cfg, in udp_sock_create4()
56 void setup_udp_tunnel_sock(struct net *net, struct socket *sock, in setup_udp_tunnel_sock()
Dip_vti.c58 struct net *net = dev_net(skb->dev); in vti_input() local
254 struct net *net = dev_net(skb->dev); in vti4_err() local
412 static int __net_init vti_init_net(struct net *net) in vti_init_net()
425 static void __net_exit vti_exit_net(struct net *net) in vti_exit_net()
Dfib_semantics.c473 struct net *net = cfg->fc_nlinfo.nl_net; in fib_get_nhs() local
596 static int fib_encap_match(struct net *net, u16 encap_type, in fib_encap_match()
622 struct net *net = cfg->fc_nlinfo.nl_net; in fib_nh_match() local
728 struct net *net; in fib_check_nh() local
911 __be32 fib_info_update_nh_saddr(struct net *net, struct fib_nh *nh) in fib_info_update_nh_saddr()
997 struct net *net = cfg->fc_nlinfo.nl_net; in fib_create_info() local
1334 int fib_sync_down_addr(struct net *net, __be32 local) in fib_sync_down_addr()
1582 void fib_select_path(struct net *net, struct fib_result *res, in fib_select_path()
Draw.c121 static struct sock *__raw_v4_lookup(struct net *net, struct sock *sk, in __raw_v4_lookup()
173 struct net *net; in raw_v4_input() local
289 struct net *net; in raw_icmp_error() local
344 struct net *net = sock_net(sk); in raw_send_hdrinc() local
489 struct net *net = sock_net(sk); in raw_sendmsg() local
1085 static __net_init int raw_init_net(struct net *net) in raw_init_net()
1093 static __net_exit void raw_exit_net(struct net *net) in raw_exit_net()
Dtcp_timer.c104 struct net *net = sock_net(sk); in tcp_mtu_probing() local
113 struct net *net = sock_net(sk); in tcp_mtu_probing() local
556 struct net *net = read_pnet(&inet_rsk(req)->ireq_net); in tcp_syn_ack_timeout() local
Digmp.c331 struct net *net = dev_net(dev); in igmpv3_newpack() local
680 struct net *net = dev_net(dev); in igmp_send_report() local
1695 static struct in_device *ip_mc_find_dev(struct net *net, struct ip_mreqn *imr) in ip_mc_find_dev()
2050 struct net *net = sock_net(sk); in ip_mc_join_group() local
2120 struct net *net = sock_net(sk); in ip_mc_leave_group() local
2172 struct net *net = sock_net(sk); in ip_mc_source() local
2307 struct net *net = sock_net(sk); in ip_mc_msfilter() local
2393 struct net *net = sock_net(sk); in ip_mc_msfget() local
2546 struct net *net = sock_net(sk); in ip_mc_drop_socket() local
2622 struct net *net = seq_file_net(seq); in igmp_mc_get_first() local
[all …]
Dudp_diag.c41 struct net *net = sock_net(in_skb->sk); in udp_dump_one() local
100 struct net *net = sock_net(skb->sk); in udp_dump() local
Dinet_connection_sock.c33 void inet_get_local_port_range(struct net *net, int *low, int *high) in inet_get_local_port_range()
99 struct net *net = sock_net(sk); in inet_csk_get_port() local
414 struct net *net = read_pnet(&ireq->ireq_net); in inet_csk_route_req() local
445 struct net *net = read_pnet(&ireq->ireq_net); in inet_csk_route_child_sock() local
Dxfrm4_input.c25 static inline int xfrm4_rcv_encap_finish(struct net *net, struct sock *sk, in xfrm4_rcv_encap_finish()
Dinet_diag.c358 struct net *net = sock_net(in_skb->sk); in inet_diag_dump_one_icsk() local
737 struct net *net = sock_net(skb->sk); in inet_diag_dump_icsk() local
947 struct net *net = sock_net(skb->sk); in inet_diag_rcv_msg_compat() local
978 struct net *net = sock_net(skb->sk); in inet_diag_handler_dump() local
/linux-4.4.14/net/l2tp/
Dl2tp_core.c123 static inline struct l2tp_net *l2tp_pernet(struct net *net) in l2tp_pernet()
222 static struct l2tp_session *l2tp_session_find_2(struct net *net, u32 session_id) in l2tp_session_find_2()
255 struct l2tp_session *l2tp_session_find(struct net *net, struct l2tp_tunnel *tunnel, u32 session_id) in l2tp_session_find()
306 struct l2tp_session *l2tp_session_find_by_ifname(struct net *net, char *ifname) in l2tp_session_find_by_ifname()
330 struct l2tp_tunnel *l2tp_tunnel_find(struct net *net, u32 tunnel_id) in l2tp_tunnel_find()
348 struct l2tp_tunnel *l2tp_tunnel_find_nth(struct net *net, int nth) in l2tp_tunnel_find_nth()
1357 static int l2tp_tunnel_sock_create(struct net *net, in l2tp_tunnel_sock_create()
1473 int l2tp_tunnel_create(struct net *net, int fd, int version, u32 tunnel_id, u32 peer_tunnel_id, str… in l2tp_tunnel_create()
1832 static __net_init int l2tp_init_net(struct net *net) in l2tp_init_net()
1848 static __net_exit void l2tp_exit_net(struct net *net) in l2tp_exit_net()
Dl2tp_ip.c50 static struct sock *__l2tp_ip_bind_lookup(struct net *net, __be32 laddr, int dif, u32 tunnel_id) in __l2tp_ip_bind_lookup()
73 static inline struct sock *l2tp_ip_bind_lookup(struct net *net, __be32 laddr, int dif, u32 tunnel_i… in l2tp_ip_bind_lookup()
117 struct net *net = dev_net(skb->dev); in l2tp_ip_recv() local
250 struct net *net = sock_net(sk); in l2tp_ip_bind() local
Dl2tp_eth.c65 static inline struct l2tp_eth_net *l2tp_eth_pernet(struct net *net) in l2tp_eth_pernet()
209 static int l2tp_eth_create(struct net *net, u32 tunnel_id, u32 session_id, u32 peer_session_id, str… in l2tp_eth_create()
303 static __net_init int l2tp_eth_init_net(struct net *net) in l2tp_eth_init_net()
Dl2tp_ppp.c545 static int pppol2tp_create(struct net *net, struct socket *sock, int kern) in pppol2tp_create()
806 static int pppol2tp_session_create(struct net *net, u32 tunnel_id, u32 session_id, u32 peer_session… in pppol2tp_session_create()
1560 static void pppol2tp_next_tunnel(struct net *net, struct pppol2tp_seq_data *pd) in pppol2tp_next_tunnel()
1575 static void pppol2tp_next_session(struct net *net, struct pppol2tp_seq_data *pd) in pppol2tp_next_session()
1590 struct net *net; in pppol2tp_seq_start() local
1744 static __net_init int pppol2tp_init_net(struct net *net) in pppol2tp_init_net()
1760 static __net_exit void pppol2tp_exit_net(struct net *net) in pppol2tp_exit_net()
/linux-4.4.14/net/ipv6/
Dip6_gre.c118 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
1062 struct net *net = t->net; in ip6gre_tunnel_ioctl() local
1313 static void ip6gre_destroy_tunnels(struct net *net, struct list_head *head) in ip6gre_destroy_tunnels()
1344 static int __net_init ip6gre_init_net(struct net *net) in ip6gre_init_net()
1380 static void __net_exit ip6gre_exit_net(struct net *net) in ip6gre_exit_net()
1524 struct net *net = dev_net(dev); in ip6gre_newlink() local
1560 struct net *net = nt->net; in ip6gre_changelink() local
[all …]
Dmcast.c140 struct net *net = sock_net(sk); in ipv6_sock_mc_join() local
212 struct net *net = sock_net(sk); in ipv6_sock_mc_drop() local
249 static struct inet6_dev *ip6_mc_find_dev_rcu(struct net *net, in ip6_mc_find_dev_rcu()
283 struct net *net = sock_net(sk); in ipv6_sock_mc_close() local
319 struct net *net = sock_net(sk); in ip6_mc_source() local
450 struct net *net = sock_net(sk); in ip6_mc_msfilter() local
541 struct net *net = sock_net(sk); in ip6_mc_msfget() local
1554 struct net *net = dev_net(dev); in mld_newpack() local
1611 struct net *net = dev_net(skb->dev); in mld_sendpack() local
1932 struct net *net = dev_net(dev); in igmp6_send() local
[all …]
Dudplite.c115 static int __net_init udplite6_proc_init_net(struct net *net) in udplite6_proc_init_net()
120 static void __net_exit udplite6_proc_exit_net(struct net *net) in udplite6_proc_exit_net()
Dping.c74 static int dummy_ipv6_chk_addr(struct net *net, const struct in6_addr *addr, in dummy_ipv6_chk_addr()
227 static int __net_init ping_v6_proc_init_net(struct net *net) in ping_v6_proc_init_net()
232 static void __net_init ping_v6_proc_exit_net(struct net *net) in ping_v6_proc_exit_net()
Dndisc.c435 struct net *net = dev_net(skb->dev); in ndisc_send_skb() local
794 struct net *net = dev_net(dev); in ndisc_recv_ns() local
944 struct net *net = dev_net(dev); in ndisc_recv_na() local
1041 struct net *net = dev_net(ra->dev); in ndisc_ra_useropt() local
1487 struct net *net = dev_net(dev); in ndisc_send_redirect() local
1682 struct net *net = dev_net(dev); in ndisc_netdev_event() local
1773 static int __net_init ndisc_net_init(struct net *net) in ndisc_net_init()
1798 static void __net_exit ndisc_net_exit(struct net *net) in ndisc_net_exit()
Dtcp_ipv6.c325 struct net *net = dev_net(skb->dev); in tcp_v6_err() local
745 struct net *net = sk ? sock_net(sk) : dev_net(skb_dst(skb)->dev); in tcp_v6_send_response() local
1353 struct net *net = dev_net(skb->dev); in tcp_v6_rcv() local
1830 int __net_init tcp6_proc_init(struct net *net) in tcp6_proc_init()
1835 void tcp6_proc_exit(struct net *net) in tcp6_proc_exit()
1915 static int __net_init tcpv6_net_init(struct net *net) in tcpv6_net_init()
1921 static void __net_exit tcpv6_net_exit(struct net *net) in tcpv6_net_exit()
Draw.c72 static struct sock *__raw_v6_lookup(struct net *net, struct sock *sk, in __raw_v6_lookup()
165 struct net *net; in ipv6_raw_deliver() local
365 struct net *net; in raw6_icmp_error() local
617 struct net *net = sock_net(sk); in rawv6_send_hdrinc() local
1271 static int __net_init raw6_init_net(struct net *net) in raw6_init_net()
1279 static void __net_exit raw6_exit_net(struct net *net) in raw6_exit_net()
Dip6_udp_tunnel.c15 int udp_sock_create6(struct net *net, struct udp_port_cfg *cfg, in udp_sock_create6()
Dxfrm6_input.c61 struct net *net = dev_net(skb->dev); in xfrm6_input_addr() local
/linux-4.4.14/net/sched/
Dsch_api.c785 static void notify_and_destroy(struct net *net, struct sk_buff *skb, in notify_and_destroy()
810 struct net *net = dev_net(dev); in qdisc_graft() local
1112 struct net *net = sock_net(skb->sk); in tc_get_qdisc() local
1181 struct net *net = sock_net(skb->sk); in tc_modify_qdisc() local
1401 static int qdisc_notify(struct net *net, struct sk_buff *oskb, in qdisc_notify()
1474 struct net *net = sock_net(skb->sk); in tc_dump_qdisc() local
1523 struct net *net = sock_net(skb->sk); in tc_ctl_tclass() local
1700 static int tclass_notify(struct net *net, struct sk_buff *oskb, in tclass_notify()
1786 struct net *net = sock_net(skb->sk); in tc_dump_tclass() local
1909 static int __net_init psched_net_init(struct net *net) in psched_net_init()
[all …]
Dact_api.c504 struct tc_action *tcf_action_init_1(struct net *net, struct nlattr *nla, in tcf_action_init_1()
587 int tcf_action_init(struct net *net, struct nlattr *nla, in tcf_action_init()
694 act_get_notify(struct net *net, u32 portid, struct nlmsghdr *n, in act_get_notify()
776 static int tca_action_flush(struct net *net, struct nlattr *nla, in tca_action_flush()
849 tcf_del_notify(struct net *net, struct nlmsghdr *n, struct list_head *actions, in tcf_del_notify()
880 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tca_action_gd()
923 tcf_add_notify(struct net *net, struct nlmsghdr *n, struct list_head *actions, in tcf_add_notify()
947 tcf_action_add(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tcf_action_add()
968 struct net *net = sock_net(skb->sk); in tc_ctl_action() local
Dcls_basic.c132 static int basic_set_parms(struct net *net, struct tcf_proto *tp, in basic_set_parms()
165 static int basic_change(struct net *net, struct sk_buff *in_skb, in basic_change()
251 static int basic_dump(struct net *net, struct tcf_proto *tp, unsigned long fh, in basic_dump()
Dcls_fw.c190 fw_change_attrs(struct net *net, struct tcf_proto *tp, struct fw_filter *f, in fw_change_attrs()
236 static int fw_change(struct net *net, struct sk_buff *in_skb, in fw_change()
364 static int fw_dump(struct net *net, struct tcf_proto *tp, unsigned long fh, in fw_dump()
Dcls_cgroup.c71 static int cls_cgroup_change(struct net *net, struct sk_buff *in_skb, in cls_cgroup_change()
161 static int cls_cgroup_dump(struct net *net, struct tcf_proto *tp, unsigned long fh, in cls_cgroup_dump()
Dcls_bpf.c304 static int cls_bpf_modify_existing(struct net *net, struct tcf_proto *tp, in cls_bpf_modify_existing()
373 static int cls_bpf_change(struct net *net, struct sk_buff *in_skb, in cls_bpf_change()
464 static int cls_bpf_dump(struct net *net, struct tcf_proto *tp, unsigned long fh, in cls_bpf_dump()
Dem_nbyte.c26 static int em_nbyte_change(struct net *net, void *data, int data_len, in em_nbyte_change()
Dcls_tcindex.c237 tcindex_set_parms(struct net *net, struct tcf_proto *tp, unsigned long base, in tcindex_set_parms()
428 tcindex_change(struct net *net, struct sk_buff *in_skb, in tcindex_change()
512 static int tcindex_dump(struct net *net, struct tcf_proto *tp, unsigned long fh, in tcindex_dump()
Dcls_flower.c236 static int fl_set_key(struct net *net, struct nlattr **tb, in fl_set_key()
398 static int fl_set_parms(struct net *net, struct tcf_proto *tp, in fl_set_parms()
452 static int fl_change(struct net *net, struct sk_buff *in_skb, in fl_change()
571 static int fl_dump(struct net *net, struct tcf_proto *tp, unsigned long fh, in fl_dump()
Dem_ipset.c22 static int em_ipset_change(struct net *net, void *data, int data_len, in em_ipset_change()
Dcls_route.c380 static int route4_set_parms(struct net *net, struct tcf_proto *tp, in route4_set_parms()
474 static int route4_change(struct net *net, struct sk_buff *in_skb, in route4_change()
600 static int route4_dump(struct net *net, struct tcf_proto *tp, unsigned long fh, in route4_dump()
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd.c52 ksock_net_t *net = ni->ni_data; in ksocknal_ip2iface() local
105 ksock_net_t *net = ni->ni_data; in ksocknal_create_peer() local
152 ksock_net_t *net = peer->ksnp_ni->ni_data; in ksocknal_destroy_peer() local
686 ksock_net_t *net = ni->ni_data; in ksocknal_local_ipvec() local
747 ksock_net_t *net = peer->ksnp_ni->ni_data; in ksocknal_select_ips() local
852 ksock_net_t *net = ni->ni_data; in ksocknal_create_routes() local
1927 ksock_net_t *net = ni->ni_data; in ksocknal_add_interface() local
2030 ksock_net_t *net = ni->ni_data; in ksocknal_del_interface() local
2084 ksock_net_t *net = ni->ni_data; in ksocknal_ctl() local
2531 ksock_net_t *net = ni->ni_data; in ksocknal_shutdown() local
[all …]
/linux-4.4.14/net/sunrpc/auth_gss/
Dsvcauth_gss.c1218 struct net *net = rqstp->rq_xprt->xpt_net; in svcauth_gss_proxy_init() local
1273 static int set_gss_proxy(struct net *net, int type) in set_gss_proxy()
1285 static bool use_gss_proxy(struct net *net) in use_gss_proxy()
1300 struct net *net = PDE_DATA(file_inode(file)); in write_gssp() local
1328 struct net *net = PDE_DATA(file_inode(file)); in read_gssp() local
1353 static int create_use_gss_proxy_proc_entry(struct net *net) in create_use_gss_proxy_proc_entry()
1368 static void destroy_use_gss_proxy_proc_entry(struct net *net) in destroy_use_gss_proxy_proc_entry()
1379 static int create_use_gss_proxy_proc_entry(struct net *net) in create_use_gss_proxy_proc_entry()
1384 static void destroy_use_gss_proxy_proc_entry(struct net *net) {} in destroy_use_gss_proxy_proc_entry()
1764 static int rsi_cache_create_net(struct net *net) in rsi_cache_create_net()
[all …]
Dauth_gss.c96 struct net *net; member
302 static int get_pipe_version(struct net *net) in get_pipe_version()
317 static void put_pipe_version(struct net *net) in put_pipe_version()
330 struct net *net = gss_msg->auth->net; in gss_release_msg() local
610 struct net *net = gss_auth->net; in gss_create_upcall() local
766 struct net *net = inode->i_sb->s_fs_info; in gss_pipe_open() local
801 struct net *net = inode->i_sb->s_fs_info; in gss_pipe_release() local
933 struct net *net = rpc_net_ns(clnt); in gss_pipe_get() local
954 struct net *net = rpc_net_ns(clnt); in __gss_pipe_free() local
2031 static __net_init int rpcsec_gss_init_net(struct net *net) in rpcsec_gss_init_net()
[all …]
/linux-4.4.14/net/bridge/netfilter/
Debtable_nat.c94 static int __net_init frame_nat_net_init(struct net *net) in frame_nat_net_init()
100 static void __net_exit frame_nat_net_exit(struct net *net) in frame_nat_net_exit()
Debtable_filter.c94 static int __net_init frame_filter_net_init(struct net *net) in frame_filter_net_init()
100 static void __net_exit frame_filter_net_exit(struct net *net) in frame_filter_net_exit()
Dnf_tables_bridge.c125 static int nf_tables_bridge_init_net(struct net *net) in nf_tables_bridge_init_net()
142 static void nf_tables_bridge_exit_net(struct net *net) in nf_tables_bridge_exit_net()
Debt_log.c75 ebt_log_packet(struct net *net, u_int8_t pf, unsigned int hooknum, in ebt_log_packet()
183 struct net *net = par->net; in ebt_log_tg() local
Debt_nflog.c27 struct net *net = par->net; in ebt_nflog_tg() local
Dnft_reject_bridge.c144 static void nft_reject_br_send_v6_tcp_reset(struct net *net, in nft_reject_br_send_v6_tcp_reset()
202 static void nft_reject_br_send_v6_unreach(struct net *net, in nft_reject_br_send_v6_unreach()
/linux-4.4.14/net/sctp/
Dobjcnt.c126 void sctp_dbg_objcnt_init(struct net *net) in sctp_dbg_objcnt_init()
137 void sctp_dbg_objcnt_exit(struct net *net) in sctp_dbg_objcnt_exit()
Dtransport.c55 static struct sctp_transport *sctp_transport_init(struct net *net, in sctp_transport_init()
106 struct sctp_transport *sctp_transport_new(struct net *net, in sctp_transport_new()
321 struct net *net = sock_net(tp->asoc->base.sk); in sctp_transport_update_rto() local
Dsm_sideeffect.c248 struct net *net = sock_net(sk); in sctp_generate_t3_rtx_event() local
290 struct net *net = sock_net(sk); in sctp_generate_timeout_event() local
371 struct net *net = sock_net(sk); in sctp_generate_heartbeat_event() local
410 struct net *net = sock_net(sk); in sctp_generate_proto_unreach_event() local
766 struct net *net = sock_net(asoc->base.sk); in sctp_cmd_process_sack() local
1052 struct net *net = sock_net(asoc->base.sk); in sctp_cmd_send_asconf() local
1097 int sctp_do_sm(struct net *net, sctp_event_t event_type, sctp_subtype_t subtype, in sctp_do_sm()
Dassociola.c72 struct net *net = sock_net(sk); in sctp_association_init() local
579 struct net *net = sock_net(asoc->base.sk); in sctp_assoc_add_peer() local
970 struct net *net, in sctp_assoc_is_match()
999 struct net *net = sock_net(asoc->base.sk); in sctp_assoc_bh_rcv() local
1423 struct net *net = sock_net(asoc->base.sk); in sctp_peer_needs_update() local
Dbind_addr.c58 int sctp_bind_addr_copy(struct net *net, struct sctp_bind_addr *dest, in sctp_bind_addr_copy()
437 static int sctp_copy_one_addr(struct net *net, struct sctp_bind_addr *dest, in sctp_copy_one_addr()
483 int sctp_in_scope(struct net *net, const union sctp_addr *addr, sctp_scope_t scope) in sctp_in_scope()
Dsm_statetable.c79 const sctp_sm_table_entry_t *sctp_sm_lookup_event(struct net *net, in sctp_sm_lookup_event()
904 static const sctp_sm_table_entry_t *sctp_chunk_event_lookup(struct net *net, in sctp_chunk_event_lookup()
Dsocket.c324 struct net *net = sock_net(sk); in sctp_do_bind() local
413 struct net *net = sock_net(asoc->base.sk); in sctp_send_asconf() local
502 struct net *net = sock_net(sk); in sctp_send_asconf_add_ip() local
705 struct net *net = sock_net(sk); in sctp_send_asconf_del_ip() local
1044 struct net *net = sock_net(sk); in __sctp_connect() local
1478 struct net *net = sock_net(sk); in sctp_close() local
1590 struct net *net = sock_net(sk); in sctp_sendmsg() local
2237 struct net *net = sock_net(sk); in sctp_setsockopt_autoclose() local
2361 struct net *net = sock_net(trans->asoc->base.sk); in sctp_apply_peer_addr_params() local
3131 struct net *net = sock_net(sk); in sctp_setsockopt_peer_primary_addr() local
[all …]
/linux-4.4.14/net/netfilter/
Dnf_conntrack_netlink.c636 struct net *net; in ctnetlink_conntrack_event() local
828 struct net *net = sock_net(skb->sk); in ctnetlink_dump_table() local
1097 static int ctnetlink_flush_conntrack(struct net *net, in ctnetlink_flush_conntrack()
1121 struct net *net = sock_net(ctnl); in ctnetlink_del_conntrack() local
1176 struct net *net = sock_net(ctnl); in ctnetlink_get_conntrack() local
1272 struct net *net = sock_net(skb->sk); in ctnetlink_dump_list() local
1718 ctnetlink_create_conntrack(struct net *net, in ctnetlink_create_conntrack()
1873 struct net *net = sock_net(ctnl); in ctnetlink_new_conntrack() local
2014 struct net *net = sock_net(skb->sk); in ctnetlink_ct_stat_cpu_dump() local
2054 struct net *net) in ctnetlink_stat_ct_fill_info()
[all …]
Dxt_hashlimit.c53 static inline struct hashlimit_net *hashlimit_pernet(struct net *net) in hashlimit_pernet()
112 struct net *net; member
218 static int htable_create(struct net *net, struct xt_hashlimit_mtinfo1 *minfo, in htable_create()
352 static struct xt_hashlimit_htable *htable_find_get(struct net *net, in htable_find_get()
665 struct net *net = par->net; in hashlimit_mt_check() local
868 static int __net_init hashlimit_proc_net_init(struct net *net) in hashlimit_proc_net_init()
885 static void __net_exit hashlimit_proc_net_exit(struct net *net) in hashlimit_proc_net_exit()
907 static int __net_init hashlimit_net_init(struct net *net) in hashlimit_net_init()
915 static void __net_exit hashlimit_net_exit(struct net *net) in hashlimit_net_exit()
Dxt_socket.c115 xt_socket_get_sock_v4(struct net *net, const u8 protocol, in xt_socket_get_sock_v4()
146 static struct sock *xt_socket_lookup_slow_v4(struct net *net, in xt_socket_lookup_slow_v4()
321 xt_socket_get_sock_v6(struct net *net, const u8 protocol, in xt_socket_get_sock_v6()
339 static struct sock *xt_socket_lookup_slow_v6(struct net *net, in xt_socket_lookup_slow_v6()
Dxt_TPROXY.c108 nf_tproxy_get_sock_v4(struct net *net, const u8 protocol, in nf_tproxy_get_sock_v4()
172 nf_tproxy_get_sock_v6(struct net *net, const u8 protocol, in nf_tproxy_get_sock_v6()
253 tproxy_handle_time_wait4(struct net *net, struct sk_buff *skb, in tproxy_handle_time_wait4()
293 tproxy_tg4(struct net *net, struct sk_buff *skb, __be32 laddr, __be16 lport, in tproxy_tg4()
Dnf_conntrack_labels.c94 int nf_connlabels_get(struct net *net, unsigned int n_bits) in nf_connlabels_get()
113 void nf_connlabels_put(struct net *net) in nf_connlabels_put()
Dxt_connlimit.c134 static unsigned int check_hlist(struct net *net, in check_hlist()
201 count_tree(struct net *net, struct rb_root *root, in count_tree()
288 static int count_them(struct net *net, in count_them()
320 struct net *net = par->net; in connlimit_mt() local
Dnf_conntrack_pptp.c105 struct net *net = nf_ct_net(ct); in pptp_expectfn() local
142 static int destroy_sibling_or_exp(struct net *net, struct nf_conn *ct, in destroy_sibling_or_exp()
179 struct net *net = nf_ct_net(ct); in pptp_destroy_siblings() local
Dnf_tables_netdev.c123 static int nf_tables_netdev_init_net(struct net *net) in nf_tables_netdev_init_net()
140 static void nf_tables_netdev_exit_net(struct net *net) in nf_tables_netdev_exit_net()
Dxt_TCPMSS.c46 static u_int32_t tcpmss_reverse_mtu(struct net *net, in tcpmss_reverse_mtu()
111 struct net *net = par->net; in tcpmss_mangle_packet() local
Dxt_NFLOG.c29 struct net *net = par->net; in nflog_tg() local
Dxt_LOG.c36 struct net *net = par->net; in log_tg() local
Dx_tables.c932 struct xt_table *xt_find_table_lock(struct net *net, u_int8_t af, in xt_find_table_lock()
1082 struct xt_table *xt_register_table(struct net *net, in xt_register_table()
1153 struct net *net = seq_file_net(seq); in xt_table_seq_start() local
1163 struct net *net = seq_file_net(seq); in xt_table_seq_next() local
1463 int xt_proto_init(struct net *net, u_int8_t af) in xt_proto_init()
1515 void xt_proto_fini(struct net *net, u_int8_t af) in xt_proto_fini()
1535 static int __net_init xt_net_init(struct net *net) in xt_net_init()
Dnf_queue.c101 void nf_queue_nf_hook_drop(struct net *net, struct nf_hook_ops *ops) in nf_queue_nf_hook_drop()
/linux-4.4.14/net/ipv6/netfilter/
Dip6table_mangle.c91 static int __net_init ip6table_mangle_net_init(struct net *net) in ip6table_mangle_net_init()
104 static void __net_exit ip6table_mangle_net_exit(struct net *net) in ip6table_mangle_net_exit()
Dip6table_nat.c100 static int __net_init ip6table_nat_net_init(struct net *net) in ip6table_nat_net_init()
112 static void __net_exit ip6table_nat_net_exit(struct net *net) in ip6table_nat_net_exit()
Dnf_reject_ipv6.c133 void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook) in nf_send_reset6()
235 void nf_send_unreach6(struct net *net, struct sk_buff *skb_in, in nf_send_unreach6()
Dip6t_REJECT.c42 struct net *net = par->net; in reject_tg6() local
Dnf_conntrack_l3proto_ipv6.c339 static int ipv6_net_init(struct net *net) in ipv6_net_init()
374 static void ipv6_net_exit(struct net *net) in ipv6_net_exit()
Dnf_nat_masquerade_ipv6.c68 struct net *net = dev_net(dev); in masq_device_event() local
/linux-4.4.14/net/ipv4/netfilter/
Diptable_mangle.c96 static int __net_init iptable_mangle_net_init(struct net *net) in iptable_mangle_net_init()
109 static void __net_exit iptable_mangle_net_exit(struct net *net) in iptable_mangle_net_exit()
Diptable_nat.c98 static int __net_init iptable_nat_net_init(struct net *net) in iptable_nat_net_init()
110 static void __net_exit iptable_nat_net_exit(struct net *net) in iptable_nat_net_exit()
Dnf_conntrack_l3proto_ipv4.c351 static int ipv4_init_net(struct net *net) in ipv4_init_net()
397 static int ipv4_net_init(struct net *net) in ipv4_net_init()
432 static void ipv4_net_exit(struct net *net) in ipv4_net_exit()
Dipt_CLUSTERIP.c102 struct net *net = dev_net(c->dev); in clusterip_config_entry_put() local
126 __clusterip_config_find(struct net *net, __be32 clusterip) in __clusterip_config_find()
140 clusterip_config_find_get(struct net *net, __be32 clusterip, int entry) in clusterip_config_find_get()
517 struct net *net = state->net; in arp_mangle() local
724 static int clusterip_net_init(struct net *net) in clusterip_net_init()
743 static void clusterip_net_exit(struct net *net) in clusterip_net_exit()
Darp_tables.c899 static int get_info(struct net *net, void __user *user, in get_info()
959 static int get_entries(struct net *net, struct arpt_get_entries __user *uptr, in get_entries()
1000 static int __do_replace(struct net *net, const char *name, in __do_replace()
1076 static int do_replace(struct net *net, const void __user *user, in do_replace()
1127 static int do_add_counters(struct net *net, const void __user *user, in do_add_counters()
1387 static int compat_do_replace(struct net *net, void __user *user, in compat_do_replace()
1532 static int compat_get_entries(struct net *net, in compat_get_entries()
1669 struct xt_table *arpt_register_table(struct net *net, in arpt_register_table()
1761 static int __net_init arp_tables_net_init(struct net *net) in arp_tables_net_init()
1766 static void __net_exit arp_tables_net_exit(struct net *net) in arp_tables_net_exit()
Dnf_defrag_ipv4.c25 static int nf_ct_ipv4_gather_frags(struct net *net, struct sk_buff *skb, in nf_ct_ipv4_gather_frags()
Dipt_rpfilter.c35 static bool rpfilter_lookup_reverse(struct net *net, struct flowi4 *fl4, in rpfilter_lookup_reverse()
Dnf_reject_ipv4.c102 void nf_send_reset(struct net *net, struct sk_buff *oldskb, int hook) in nf_send_reset()
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Dconfig.c81 lnet_net_unique(__u32 net, struct list_head *nilist) in lnet_net_unique()
112 lnet_ni_alloc(__u32 net, struct cfs_expr_list *el, struct list_head *nilist) in lnet_ni_alloc()
186 __u32 net; in lnet_parse_networks() local
637 __u32 net; in lnet_parse_route() local
840 char *net = NULL; in lnet_match_network_tokens() local
893 __u32 net; in lnet_netspec2net() local
917 __u32 net; in lnet_splitnets() local
Drouter.c217 lnet_find_net_locked(__u32 net) in lnet_find_net_locked()
292 lnet_add_route(__u32 net, unsigned int hops, lnet_nid_t gateway, in lnet_add_route()
427 int net; in lnet_check_routes() local
461 lnet_del_route(__u32 net, lnet_nid_t gw_nid) in lnet_del_route()
542 lnet_get_route(int idx, __u32 *net, __u32 *hops, in lnet_get_route()
773 lnet_router_ni_update_locked(lnet_peer_t *gw, __u32 net) in lnet_router_ni_update_locked()
Dnidstrings.c251 struct cfs_lstr net; in parse_nidrange() local
1104 libcfs_net2str_r(__u32 net, char *buf, size_t buf_size) in libcfs_net2str_r()
1126 __u32 net = LNET_NIDNET(nid); in libcfs_nid2str_r() local
1158 libcfs_str2net_internal(const char *str, __u32 *net) in libcfs_str2net_internal()
1196 __u32 net; in libcfs_str2net() local
1210 __u32 net; in libcfs_str2nid() local
/linux-4.4.14/net/core/
Dneighbour.c420 struct neighbour *neigh_lookup_nodev(struct neigh_table *tbl, struct net *net, in neigh_lookup_nodev()
550 struct net *net, in __pneigh_lookup_1()
566 struct net *net, const void *pkey, struct net_device *dev) in __pneigh_lookup()
577 struct net *net, const void *pkey, in pneigh_lookup()
622 int pneigh_delete(struct neigh_table *tbl, struct net *net, const void *pkey, in pneigh_delete()
1419 struct net *net, int ifindex) in lookup_neigh_parms()
1436 struct net *net = dev_net(dev); in neigh_parms_alloc() local
1596 struct net *net = sock_net(skb->sk); in neigh_delete() local
1654 struct net *net = sock_net(skb->sk); in neigh_add() local
1938 struct net *net = sock_net(skb->sk); in neightbl_set() local
[all …]
Ddev.c190 static inline void dev_base_seq_inc(struct net *net) in dev_base_seq_inc()
195 static inline struct hlist_head *dev_name_hash(struct net *net, const char *name) in dev_name_hash()
202 static inline struct hlist_head *dev_index_hash(struct net *net, int ifindex) in dev_index_hash()
224 struct net *net = dev_net(dev); in list_netdevice() local
723 struct net_device *__dev_get_by_name(struct net *net, const char *name) in __dev_get_by_name()
748 struct net_device *dev_get_by_name_rcu(struct net *net, const char *name) in dev_get_by_name_rcu()
773 struct net_device *dev_get_by_name(struct net *net, const char *name) in dev_get_by_name()
798 struct net_device *__dev_get_by_index(struct net *net, int ifindex) in __dev_get_by_index()
822 struct net_device *dev_get_by_index_rcu(struct net *net, int ifindex) in dev_get_by_index_rcu()
847 struct net_device *dev_get_by_index(struct net *net, int ifindex) in dev_get_by_index()
[all …]
Dsock_diag.c279 static int sock_diag_bind(struct net *net, int group) in sock_diag_bind()
298 static int __net_init diag_net_init(struct net *net) in diag_net_init()
311 static void __net_exit diag_net_exit(struct net *net) in diag_net_exit()
Dsock.c563 struct net *net = sock_net(sk); in sock_setbindtodevice() local
621 struct net *net = sock_net(sk); in sock_getbindtodevice() local
1414 struct sock *sk_alloc(struct net *net, int family, gfp_t priority, in sk_alloc()
2711 void sock_prot_inuse_add(struct net *net, struct proto *prot, int val) in sock_prot_inuse_add()
2717 int sock_prot_inuse_get(struct net *net, struct proto *prot) in sock_prot_inuse_get()
2729 static int __net_init sock_inuse_init_net(struct net *net) in sock_inuse_init_net()
2735 static void __net_exit sock_inuse_exit_net(struct net *net) in sock_inuse_exit_net()
2757 void sock_prot_inuse_add(struct net *net, struct proto *prot, int val) in sock_prot_inuse_add()
2763 int sock_prot_inuse_get(struct net *net, struct proto *prot) in sock_prot_inuse_get()
3015 static __net_init int proto_init_net(struct net *net) in proto_init_net()
[all …]
Dsysctl_net_core.c420 static __net_init int sysctl_core_net_init(struct net *net) in sysctl_core_net_init()
453 static __net_exit void sysctl_core_net_exit(struct net *net) in sysctl_core_net_exit()
Ddst.c147 int dst_discard_out(struct net *net, struct sock *sk, struct sk_buff *skb) in dst_discard_out()
356 static int dst_md_discard_out(struct net *net, struct sock *sk, struct sk_buff *skb) in dst_md_discard_out()
/linux-4.4.14/net/bridge/
Dbr_netfilter_ipv6.c103 int br_validate_ipv6(struct net *net, struct sk_buff *skb) in br_validate_ipv6()
163 static int br_nf_pre_routing_finish_ipv6(struct net *net, struct sock *sk, struct sk_buff *skb) in br_nf_pre_routing_finish_ipv6()
Dbr_forward.c40 int br_dev_queue_push_xmit(struct net *net, struct sock *sk, struct sk_buff *skb) in br_dev_queue_push_xmit()
70 int br_forward_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in br_forward_finish()
Dbr_if.c346 int br_add_bridge(struct net *net, const char *name) in br_add_bridge()
366 int br_del_bridge(struct net *net, const char *name) in br_del_bridge()
Dbr.c165 static void __net_exit br_net_exit(struct net *net) in br_net_exit()
Dbr_stp_bpdu.c33 static int br_send_bpdu_finish(struct net *net, struct sock *sk, in br_send_bpdu_finish()
/linux-4.4.14/net/phonet/
Dpn_netlink.c66 struct net *net = sock_net(skb->sk); in addr_doit() local
231 struct net *net = sock_net(skb->sk); in route_doit() local
274 struct net *net = sock_net(skb->sk); in route_dumpit() local
Daf_phonet.c63 static int pn_socket_create(struct net *net, struct socket *sock, int protocol, in pn_socket_create()
240 struct net *net = sock_net(sk); in pn_skb_send() local
375 struct net *net = dev_net(dev); in phonet_rcv() local
/linux-4.4.14/drivers/net/ppp/
Dpppoe.c125 static inline struct pppoe_net *pppoe_pernet(struct net *net) in pppoe_pernet()
244 static inline struct pppox_sock *get_item_by_addr(struct net *net, in get_item_by_addr()
554 static int pppoe_create(struct net *net, struct socket *sock, int kern) in pppoe_create()
584 struct net *net = NULL; in pppoe_release() local
635 struct net *net = NULL; in pppoe_connect() local
1157 static __net_init int pppoe_init_net(struct net *net) in pppoe_init_net()
1173 static __net_exit void pppoe_exit_net(struct net *net) in pppoe_exit_net()
Dpppox.c106 static int pppox_create(struct net *net, struct socket *sock, int protocol, in pppox_create()
/linux-4.4.14/drivers/firewire/
Dnet.c216 static int fwnet_header_create(struct sk_buff *skb, struct net_device *net, in fwnet_header_create()
243 struct net_device *net; in fwnet_header_cache() local
259 const struct net_device *net, const unsigned char *haddr) in fwnet_header_cache_update()
356 static struct fwnet_partial_datagram *fwnet_pd_new(struct net_device *net, in fwnet_pd_new()
482 static int fwnet_finish_incoming_packet(struct net_device *net, in fwnet_finish_incoming_packet()
569 struct net_device *net = dev->netdev; in fwnet_incoming_packet() local
1185 static int fwnet_open(struct net_device *net) in fwnet_open()
1204 static int fwnet_stop(struct net_device *net) in fwnet_stop()
1214 static netdev_tx_t fwnet_tx(struct sk_buff *skb, struct net_device *net) in fwnet_tx()
1352 static int fwnet_change_mtu(struct net_device *net, int new_mtu) in fwnet_change_mtu()
[all …]
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c190 kib_net_t *net = ni->ni_data; in kiblnd_pack_msg() local
325 kib_net_t *net = ni->ni_data; in kiblnd_create_peer() local
366 kib_net_t *net = peer->ibp_ni->ni_data; in kiblnd_destroy_peer() local
647 kib_net_t *net = peer->ibp_ni->ni_data; in kiblnd_create_conn() local
898 kib_net_t *net = peer->ibp_ni->ni_data; in kiblnd_destroy_conn() local
1247 kib_net_t *net = pool->po_owner->ps_net; in kiblnd_map_tx_pool() local
1455 kib_net_t *net, int pool_size, in kiblnd_init_fmr_poolset()
1657 kib_net_t *net, char *name, int size, in kiblnd_init_poolset()
1940 static void kiblnd_net_fini_pools(kib_net_t *net) in kiblnd_net_fini_pools()
1970 static int kiblnd_net_init_pools(kib_net_t *net, __u32 *cpts, int ncpts) in kiblnd_net_init_pools()
[all …]
Do2iblnd_cb.c49 kib_net_t *net = ni->ni_data; in kiblnd_tx_done() local
107 kib_net_t *net = (kib_net_t *)ni->ni_data; in kiblnd_get_idle_tx() local
150 kib_net_t *net = conn->ibc_peer->ibp_ni->ni_data; in kiblnd_post_rx() local
468 kib_net_t *net = ni->ni_data; in kiblnd_rx_complete() local
557 kiblnd_fmr_map_tx(kib_net_t *net, kib_tx_t *tx, kib_rdma_desc_t *rd, int nob) in kiblnd_fmr_map_tx()
603 kib_net_t *net = ni->ni_data; in kiblnd_unmap_tx() local
623 kib_net_t *net = ni->ni_data; in kiblnd_map_tx() local
662 kib_net_t *net = ni->ni_data; in kiblnd_setup_rd_iov() local
715 kib_net_t *net = ni->ni_data; in kiblnd_setup_rd_kiov() local
1235 kib_net_t *net = peer->ibp_ni->ni_data; in kiblnd_connect_peer() local
[all …]
/linux-4.4.14/net/openvswitch/
Ddatapath.c146 static struct datapath *get_dp_rcu(struct net *net, int dp_ifindex) in get_dp_rcu()
162 static inline struct datapath *get_dp(struct net *net, int dp_ifindex) in get_dp()
546 struct net *net = sock_net(skb->sk); in ovs_packet_cmd_execute() local
909 struct net *net = sock_net(skb->sk); in ovs_flow_cmd_new() local
1068 static struct sw_flow_actions *get_flow_actions(struct net *net, in get_flow_actions()
1091 struct net *net = sock_net(skb->sk); in ovs_flow_cmd_set() local
1206 struct net *net = sock_net(skb->sk); in ovs_flow_cmd_get() local
1265 struct net *net = sock_net(skb->sk); in ovs_flow_cmd_del() local
1490 static struct datapath *lookup_datapath(struct net *net, in lookup_datapath()
1882 static struct vport *lookup_vport(struct net *net, in lookup_vport()
[all …]
Dvport-gre.c54 struct net *net = ovs_dp_get_net(parms->dp); in gre_tnl_create() local
Dvport.c68 static struct hlist_head *hash_bucket(const struct net *net, const char *name) in hash_bucket()
107 struct vport *ovs_vport_locate(const struct net *net, const char *name) in ovs_vport_locate()
Ddatapath.h89 possible_net_t net; member
162 static inline void ovs_dp_set_net(struct datapath *dp, struct net *net) in ovs_dp_set_net()
Dflow_netlink.c810 static int metadata_from_nlattrs(struct net *net, struct sw_flow_match *match, in metadata_from_nlattrs()
903 static int ovs_key_from_nlattrs(struct net *net, struct sw_flow_match *match, in ovs_key_from_nlattrs()
1178 int ovs_nla_get_match(struct net *net, struct sw_flow_match *match, in ovs_nla_get_match()
1390 int ovs_nla_get_flow_metadata(struct net *net, const struct nlattr *attr, in ovs_nla_get_flow_metadata()
1831 static int validate_and_copy_sample(struct net *net, const struct nlattr *attr, in validate_and_copy_sample()
2202 static int __ovs_nla_copy_actions(struct net *net, const struct nlattr *attr, in __ovs_nla_copy_actions()
2366 int ovs_nla_copy_actions(struct net *net, const struct nlattr *attr, in ovs_nla_copy_actions()
Dvport-geneve.c57 struct net *net = ovs_dp_get_net(parms->dp); in geneve_tnl_create() local
Dvport-vxlan.c85 struct net *net = ovs_dp_get_net(parms->dp); in vxlan_tnl_create() local
/linux-4.4.14/net/rds/
Dconnection.c73 static struct rds_connection *rds_conn_lookup(struct net *net, in rds_conn_lookup()
121 static struct rds_connection *__rds_conn_create(struct net *net, in __rds_conn_create()
254 struct rds_connection *rds_conn_create(struct net *net, in rds_conn_create()
262 struct rds_connection *rds_conn_create_outgoing(struct net *net, in rds_conn_create_outgoing()
Dtransport.c80 struct rds_transport *rds_trans_get_preferred(struct net *net, __be32 addr) in rds_trans_get_preferred()
Dtcp_listen.c172 struct socket *rds_tcp_listen_init(struct net *net) in rds_tcp_listen_init()
/linux-4.4.14/net/8021q/
Dvlan.c215 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()
707 static int __net_init vlan_init_net(struct net *net) in vlan_init_net()
719 static void __net_exit vlan_exit_net(struct net *net) in vlan_exit_net()
/linux-4.4.14/net/bluetooth/
Daf_bluetooth.c109 static int bt_sock_create(struct net *net, struct socket *sock, int proto, in bt_sock_create()
673 int bt_procfs_init(struct net *net, const char *name, in bt_procfs_init()
684 void bt_procfs_cleanup(struct net *net, const char *name) in bt_procfs_cleanup()
689 int bt_procfs_init(struct net *net, const char *name, in bt_procfs_init()
696 void bt_procfs_cleanup(struct net *net, const char *name) in bt_procfs_cleanup()
/linux-4.4.14/net/unix/
Ddiag.c185 struct net *net = sock_net(skb->sk); in unix_diag_dump() local
251 struct net *net = sock_net(in_skb->sk); in unix_diag_get_exact() local
296 struct net *net = sock_net(skb->sk); in unix_diag_handler_dump() local
Daf_unix.c273 static struct sock *__unix_find_socket_byname(struct net *net, in __unix_find_socket_byname()
294 static inline struct sock *unix_find_socket_byname(struct net *net, in unix_find_socket_byname()
755 static struct sock *unix_create1(struct net *net, struct socket *sock, int kern) in unix_create1()
796 static int unix_create(struct net *net, struct socket *sock, int protocol, in unix_create()
843 struct net *net = sock_net(sk); in unix_autobind() local
901 static struct sock *unix_find_other(struct net *net, in unix_find_other()
976 struct net *net = sock_net(sk); in unix_bind() local
1113 struct net *net = sock_net(sk); in unix_dgram_connect() local
1211 struct net *net = sock_net(sk); in unix_stream_connect() local
1645 struct net *net = sock_net(sk); in unix_dgram_sendmsg() local
[all …]
/linux-4.4.14/fs/nfs/
Dcache_lib.c126 int nfs_cache_register_net(struct net *net, struct cache_detail *cd) in nfs_cache_register_net()
148 void nfs_cache_unregister_net(struct net *net, struct cache_detail *cd) in nfs_cache_unregister_net()
Dclient.c202 void nfs_cleanup_cb_ident_idr(struct net *net) in nfs_cleanup_cb_ident_idr()
224 void nfs_cleanup_cb_ident_idr(struct net *net) in nfs_cleanup_cb_ident_idr()
1073 void nfs_clients_init(struct net *net) in nfs_clients_init()
1290 int nfs_fs_proc_net_init(struct net *net) in nfs_fs_proc_net_init()
1318 void nfs_fs_proc_net_exit(struct net *net) in nfs_fs_proc_net_exit()
Dnfs4client.c699 nfs4_find_client_ident(struct net *net, int cb_ident) in nfs4_find_client_ident()
743 nfs4_find_client_sessionid(struct net *net, const struct sockaddr *addr, in nfs4_find_client_sessionid()
773 nfs4_find_client_sessionid(struct net *net, const struct sockaddr *addr, in nfs4_find_client_sessionid()
790 u32 minorversion, struct net *net) in nfs4_set_client()
1161 struct sockaddr *sap, size_t salen, struct net *net) in nfs4_update_server()
Dnfs4namespace.c124 struct sockaddr *sa, size_t salen, struct net *net) in nfs_parse_server_name()
242 struct net *net = rpc_net_ns(NFS_SB(mountdata->sb)->client); in try_location() local
433 struct net *net = rpc_net_ns(server->client); in nfs4_try_replacing_one_location() local
Dinternal.h75 struct net *net; member
117 struct net *net; member
132 struct net *net; member
206 static inline int nfs_fs_proc_net_init(struct net *net) in nfs_fs_proc_net_init()
210 static inline void nfs_fs_proc_net_exit(struct net *net) in nfs_fs_proc_net_exit()
/linux-4.4.14/net/caif/
Dcaif_dev.c58 struct cfcnfg *get_cfcnfg(struct net *net) in get_cfcnfg()
66 static struct caif_device_entry_list *caif_device_list(struct net *net) in caif_device_list()
496 static int caif_init_net(struct net *net) in caif_init_net()
509 static void caif_exit_net(struct net *net) in caif_exit_net()
/linux-4.4.14/net/netfilter/ipset/
Dip_set_core.c41 static inline struct ip_set_net *ip_set_pernet(struct net *net) in ip_set_pernet()
507 ip_set_rcu_get(struct net *net, ip_set_id_t index) in ip_set_rcu_get()
607 ip_set_get_byname(struct net *net, const char *name, struct ip_set **set) in ip_set_get_byname()
648 ip_set_put_byindex(struct net *net, ip_set_id_t index) in ip_set_put_byindex()
663 ip_set_name_byindex(struct net *net, ip_set_id_t index) in ip_set_name_byindex()
685 ip_set_nfnl_get_byindex(struct net *net, ip_set_id_t index) in ip_set_nfnl_get_byindex()
712 ip_set_nfnl_put(struct net *net, ip_set_id_t index) in ip_set_nfnl_put()
841 struct net *net = sock_net(ctnl); in ip_set_create() local
1889 struct net *net = sock_net(sk); in ip_set_sockfn_get() local
2009 ip_set_net_init(struct net *net) in ip_set_net_init()
[all …]
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_ctl.c76 static bool __ip_vs_addr_is_local_v6(struct net *net, in __ip_vs_addr_is_local_v6()
1523 struct net *net = dev_net(dev); in ip_vs_dst_event() local
1896 struct net *net = seq_file_net(seq); in ip_vs_info_array() local
2089 struct net *net = seq_file_single_net(seq); in ip_vs_stats_show() local
2134 struct net *net = seq_file_single_net(seq); in ip_vs_stats_percpu_show() local
2311 struct net *net = sock_net(sk); in do_ip_vs_set_ctl() local
2635 struct net *net = sock_net(sk); in do_ip_vs_get_ctl() local
3005 struct net *net = sock_net(skb->sk); in ip_vs_genl_dump_services() local
3205 struct net *net = sock_net(skb->sk); in ip_vs_genl_dump_dests() local
3352 struct net *net = sock_net(skb->sk); in ip_vs_genl_dump_daemons() local
[all …]
Dip_vs_app.c528 struct net *net = seq_file_net(seq); in ip_vs_app_seq_start() local
540 struct net *net = seq_file_net(seq); in ip_vs_app_seq_next() local
608 struct net *net = ipvs->net; in ip_vs_app_net_init() local
617 struct net *net = ipvs->net; in ip_vs_app_net_cleanup() local
Dip_vs_lblc.c552 static int __net_init __ip_vs_lblc_init(struct net *net) in __ip_vs_lblc_init()
586 static void __net_exit __ip_vs_lblc_exit(struct net *net) in __ip_vs_lblc_exit()
598 static int __net_init __ip_vs_lblc_init(struct net *net) { return 0; } in __ip_vs_lblc_init()
599 static void __net_exit __ip_vs_lblc_exit(struct net *net) { } in __ip_vs_lblc_exit()
Dip_vs_xmit.c124 static struct rtable *do_output_route4(struct net *net, __be32 daddr, in do_output_route4()
222 struct net *net = ipvs->net; in ensure_mtu_is_adequate() local
264 struct net *net = ipvs->net; in __ip_vs_get_out_rt() local
366 __ip_vs_route_output_v6(struct net *net, struct in6_addr *daddr, in __ip_vs_route_output_v6()
411 struct net *net = ipvs->net; in __ip_vs_get_out_rt_v6() local
978 struct net *net = ipvs->net; in ip_vs_tunnel_xmit() local
Dip_vs_lblcr.c738 static int __net_init __ip_vs_lblcr_init(struct net *net) in __ip_vs_lblcr_init()
771 static void __net_exit __ip_vs_lblcr_exit(struct net *net) in __ip_vs_lblcr_exit()
783 static int __net_init __ip_vs_lblcr_init(struct net *net) { return 0; } in __ip_vs_lblcr_init()
784 static void __net_exit __ip_vs_lblcr_exit(struct net *net) { } in __ip_vs_lblcr_exit()
Dip_vs_ftp.c437 static int __net_init __ip_vs_ftp_init(struct net *net) in __ip_vs_ftp_init()
468 static void __ip_vs_ftp_exit(struct net *net) in __ip_vs_ftp_exit()
/linux-4.4.14/net/dccp/
Dipv6.c79 struct net *net = dev_net(skb->dev); in dccp_v6_err() local
247 struct net *net = dev_net(skb_dst(rxskb)->dev); in dccp_v6_ctl_send_reset() local
1054 static int __net_init dccp_v6_init_net(struct net *net) in dccp_v6_init_net()
1063 static void __net_exit dccp_v6_exit_net(struct net *net) in dccp_v6_exit_net()
/linux-4.4.14/include/net/netns/
Dhash.h8 static inline u32 net_hash_mix(const struct net *net) in net_hash_mix()
Dgeneric.h34 static inline void *net_generic(const struct net *net, int id) in net_generic()
/linux-4.4.14/net/ipx/
Dipx_route.c29 struct ipx_route *ipxrtr_lookup(__be32 net) in ipxrtr_lookup()
118 static int ipxrtr_delete(__be32 net) in ipxrtr_delete()
/linux-4.4.14/net/decnet/
Ddn_neigh.c197 static int dn_neigh_output_packet(struct net *net, struct sock *sk, struct sk_buff *skb) in dn_neigh_output_packet()
337 int dn_to_neigh_output(struct net *net, struct sock *sk, struct sk_buff *skb) in dn_to_neigh_output()
381 int dn_neigh_router_hello(struct net *net, struct sock *sk, struct sk_buff *skb) in dn_neigh_router_hello()
443 int dn_neigh_endnode_hello(struct net *net, struct sock *sk, struct sk_buff *skb) in dn_neigh_endnode_hello()
Ddn_route.c515 static int dn_route_rx_packet(struct net *net, struct sock *sk, struct sk_buff *skb) in dn_route_rx_packet()
613 static int dn_route_discard(struct net *net, struct sock *sk, struct sk_buff *skb) in dn_route_discard()
623 static int dn_route_ptp_hello(struct net *net, struct sock *sk, struct sk_buff *skb) in dn_route_ptp_hello()
747 static int dn_output(struct net *net, struct sock *sk, struct sk_buff *skb) in dn_output()
833 static int dn_rt_bug_out(struct net *net, struct sock *sk, struct sk_buff *skb) in dn_rt_bug_out()
1645 struct net *net = sock_net(in_skb->sk); in dn_cache_getroute() local
1730 struct net *net = sock_net(skb->sk); in dn_cache_dump() local
/linux-4.4.14/include/linux/
Dseq_file_net.h11 struct net *net; member
Dinetdevice.h50 #define IPV4_DEVCONF_ALL(net, attr) \ argument
81 #define IN_DEV_NET_ORCONF(in_dev, net, attr) \ argument
114 #define IN_DEV_NET_ROUTE_LOCALNET(in_dev, net) \ argument
160 static inline struct net_device *ip_dev_find(struct net *net, __be32 addr) in ip_dev_find()
/linux-4.4.14/drivers/net/
Dvrf.c79 static int vrf_ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb) in vrf_ip_local_out()
226 struct net *net = dev_net(skb->dev); in vrf_process_v6_outbound() local
404 static int vrf_finish_output6(struct net *net, struct sock *sk, in vrf_finish_output6()
435 static int vrf_output6(struct net *net, struct sock *sk, struct sk_buff *skb) in vrf_output6()
514 static int vrf_finish_output(struct net *net, struct sock *sk, struct sk_buff *skb) in vrf_finish_output()
556 static int vrf_output(struct net *net, struct sock *sk, struct sk_buff *skb) in vrf_output()
809 struct net *net = dev_net(dev); in vrf_get_saddr() local
Dgeneve.c60 struct net *net; /* netns for packet i/o */ member
341 static struct socket *geneve_create_sock(struct net *net, bool ipv6, in geneve_create_sock()
478 static struct geneve_sock *geneve_socket_create(struct net *net, __be16 port, in geneve_socket_create()
563 struct net *net = geneve->net; in geneve_sock_add() local
1157 static int geneve_configure(struct net *net, struct net_device *dev, in geneve_configure()
1221 static int geneve_newlink(struct net *net, struct net_device *dev, in geneve_newlink()
1344 struct net_device *geneve_dev_create_fb(struct net *net, const char *name, in geneve_dev_create_fb()
1377 static __net_init int geneve_init_net(struct net *net) in geneve_init_net()
1386 static void __net_exit geneve_exit_net(struct net *net) in geneve_exit_net()
Dvxlan.c206 static inline struct hlist_head *vs_head(struct net *net, __be16 port) in vs_head()
229 static struct vxlan_sock *vxlan_find_sock(struct net *net, sa_family_t family, in vxlan_find_sock()
258 static struct vxlan_dev *vxlan_find_vni(struct net *net, u32 id, in vxlan_find_vni()
355 struct net *net = dev_net(vxlan->dev); in vxlan_fdb_notify() local
618 struct net *net = sock_net(sk); in vxlan_notify_add_rx_port() local
643 struct net *net = sock_net(sk); in vxlan_notify_del_rx_port() local
772 struct net *net = dev_net(vxlan->dev); in vxlan_fdb_parse() local
2494 struct net *net = dev_net(dev); in vxlan_get_rx_port() local
2640 static struct socket *vxlan_create_sock(struct net *net, bool ipv6, in vxlan_create_sock()
2669 static struct vxlan_sock *vxlan_socket_create(struct net *net, bool ipv6, in vxlan_socket_create()
[all …]
/linux-4.4.14/fs/lockd/
Dclntlock.c88 struct net *net = host->net; in nlmclnt_done() local
234 struct net *net = host->net; in reclaimer() local
Dmon.c67 static struct rpc_clnt *nsm_create(struct net *net, const char *nodename) in nsm_create()
311 struct nsm_handle *nsm_get_handle(const struct net *net, in nsm_get_handle()
373 struct nsm_handle *nsm_reboot_lookup(const struct net *net, in nsm_reboot_lookup()
/linux-4.4.14/net/
Dsocket.c833 void brioctl_set(int (*hook) (struct net *, unsigned int, void __user *)) in brioctl_set()
844 void vlan_ioctl_set(int (*hook) (struct net *, void __user *)) in vlan_ioctl_set()
863 static long sock_do_ioctl(struct net *net, struct socket *sock, in sock_do_ioctl()
892 struct net *net; in sock_ioctl() local
1088 int __sock_create(struct net *net, int family, int type, int protocol, in __sock_create()
1207 int sock_create_kern(struct net *net, int family, int type, int protocol, struct socket **res) in sock_create_kern()
2550 static int do_siocgstamp(struct net *net, struct socket *sock, in do_siocgstamp()
2566 static int do_siocgstampns(struct net *net, struct socket *sock, in do_siocgstampns()
2582 static int dev_ifname32(struct net *net, struct compat_ifreq __user *uifr32) in dev_ifname32()
2601 static int dev_ifconf(struct net *net, struct compat_ifconf __user *uifc32) in dev_ifconf()
[all …]
/linux-4.4.14/drivers/usb/gadget/function/
Du_phonet.h20 struct net_device *net; member
Du_gether.h23 struct net_device *net; member
Du_eem.h23 struct net_device *net; member
Du_ncm.h23 struct net_device *net; member
Du_ecm.h23 struct net_device *net; member
Df_subset.c261 struct net_device *net; in geth_set_alt() local
444 struct net_device *net = opts->net; in geth_alloc_inst() local
Df_rndis.c557 struct net_device *net; in rndis_set_alt() local
831 void rndis_borrow_net(struct usb_function_instance *f, struct net_device *net) in rndis_borrow_net()
911 struct net_device *net = opts->net; in rndis_alloc_inst() local
Du_rndis.h25 struct net_device *net; member
Df_phonet.c638 struct net_device *net = opts->net; in phonet_alloc_inst() local
716 void gphonet_set_gadget(struct net_device *net, struct usb_gadget *g) in gphonet_set_gadget()
721 int gphonet_register_netdev(struct net_device *net) in gphonet_register_netdev()
Df_eem.c191 struct net_device *net; in eem_set_alt() local
584 struct net_device *net = opts->net; in eem_alloc_inst() local
/linux-4.4.14/net/packet/
Ddiag.c192 struct net *net; in packet_diag_dump() local
227 struct net *net = sock_net(skb->sk); in packet_diag_handler_dump() local
/linux-4.4.14/net/xfrm/
Dxfrm_replay.c98 struct net *net = xs_net(x); in xfrm_replay_overflow() local
177 struct net *net = xs_net(x); in xfrm_replay_overflow_bmp() local
409 struct net *net = xs_net(x); in xfrm_replay_overflow_esn() local
/linux-4.4.14/net/tipc/
Daddr.h49 static inline u32 tipc_own_addr(struct net *net) in tipc_own_addr()
Dcore.h111 static inline struct tipc_net *tipc_net(struct net *net) in tipc_net()
116 static inline int tipc_netid(struct net *net) in tipc_netid()
Dlink.c257 bool tipc_link_create(struct net *net, char *if_name, int bearer_id, in tipc_link_create()
323 bool tipc_link_bc_create(struct net *net, u32 ownnode, u32 peer, in tipc_link_bc_create()
1537 static struct tipc_node *tipc_link_find_owner(struct net *net, in tipc_link_find_owner()
1638 struct net *net = sock_net(skb->sk); in tipc_nl_link_set() local
1773 static int __tipc_nl_add_link(struct net *net, struct tipc_nl_msg *msg, in __tipc_nl_add_link()
1844 static int __tipc_nl_add_node_links(struct net *net, struct tipc_nl_msg *msg, in __tipc_nl_add_node_links()
1868 struct net *net = sock_net(skb->sk); in tipc_nl_link_dump() local
1939 struct net *net = genl_info_net(info); in tipc_nl_link_get() local
1997 struct net *net = sock_net(skb->sk); in tipc_nl_link_reset_stats() local
Dsubscr.h65 struct net *net; member
Dudp_media.c151 static int tipc_udp_send_msg(struct net *net, struct sk_buff *skb, in tipc_udp_send_msg()
347 static int tipc_udp_enable(struct net *net, struct tipc_bearer *b, in tipc_udp_enable()
Dnode.h112 struct net *net; member
171 static inline unsigned int tipc_node_get_mtu(struct net *net, u32 addr, u32 sel) in tipc_node_get_mtu()
Dserver.h67 struct net *net; member
/linux-4.4.14/include/net/tc_act/
Dtc_connmark.h8 struct net *net; member
/linux-4.4.14/net/netlink/
Ddiag.c108 struct net *net = sock_net(skb->sk); in __netlink_diag_dump() local
206 struct net *net = sock_net(skb->sk); in netlink_diag_handler_dump() local
Daf_netlink.c1039 struct net *net, u32 portid) in netlink_compare_arg_init()
1047 struct net *net) in __netlink_lookup()
1066 static struct sock *netlink_lookup(struct net *net, int protocol, u32 portid) in netlink_lookup()
1174 static int __netlink_create(struct net *net, struct socket *sock, in __netlink_create()
1206 static int netlink_create(struct net *net, struct socket *sock, int protocol, in netlink_create()
1351 struct net *net = sock_net(sk); in netlink_autobind() local
1521 struct net *net = sock_net(sk); in netlink_bind() local
1986 struct net *net; member
2081 struct net *net = sock_net(ssk); in netlink_broadcast_filtered() local
2619 __netlink_kernel_create(struct net *net, int unit, struct module *module, in __netlink_kernel_create()
[all …]
/linux-4.4.14/net/l3mdev/
Dl3mdev.c74 u32 l3mdev_fib_table_by_index(struct net *net, int ifindex) in l3mdev_fib_table_by_index()
/linux-4.4.14/lib/
Dkobject_uevent.c414 static int uevent_net_init(struct net *net) in uevent_net_init()
439 static void uevent_net_exit(struct net *net) in uevent_net_exit()
/linux-4.4.14/include/net/netfilter/
Dnf_conntrack_l4proto.h151 #define LOG_INVALID(net, proto) \ argument
155 static inline int LOG_INVALID(struct net *net, int proto) { return 0; } in LOG_INVALID()
Dbr_netfilter.h53 static inline int br_validate_ipv6(struct net *net, struct sk_buff *skb) in br_validate_ipv6()
Dnf_conntrack.h300 #define NF_CT_STAT_INC(net, count) __this_cpu_inc((net)->ct.stat->count) argument
301 #define NF_CT_STAT_INC_ATOMIC(net, count) this_cpu_inc((net)->ct.stat->count) argument
/linux-4.4.14/net/nfc/
Daf_nfc.c30 static int nfc_sock_create(struct net *net, struct socket *sock, int proto, in nfc_sock_create()
/linux-4.4.14/include/linux/netfilter/
Dx_tables.h37 struct net *net; member
60 struct net *net; member
75 struct net *net; member
91 struct net *net; member
103 struct net *net; member
/linux-4.4.14/kernel/
Daudit.c187 struct net *net; member
545 struct net *net = dest->net; in audit_send_list() local
589 struct net *net = reply->net; in audit_send_reply_thread() local
619 struct net *net = sock_net(NETLINK_CB(request_skb).sk); in audit_send_reply() local
1118 static int audit_bind(struct net *net, int group) in audit_bind()
1126 static int __net_init audit_net_init(struct net *net) in audit_net_init()
1146 static void __net_exit audit_net_exit(struct net *net) in audit_net_exit()
/linux-4.4.14/include/linux/lockd/
Dbind.h45 struct net *net; member
/linux-4.4.14/drivers/isdn/mISDN/
Dsocket.c604 data_sock_create(struct net *net, struct socket *sock, int protocol, int kern) in data_sock_create()
759 base_sock_create(struct net *net, struct socket *sock, int protocol, int kern) in base_sock_create()
782 mISDN_sock_create(struct net *net, struct socket *sock, int proto, int kern) in mISDN_sock_create()
/linux-4.4.14/drivers/tty/
Dn_gsm.c102 #define STATS(net) (((struct gsm_mux_net *)netdev_priv(net))->stats) argument
161 struct net_device *net; /* network interface, if created */ member
2618 static int gsm_mux_net_open(struct net_device *net) in gsm_mux_net_open()
2625 static int gsm_mux_net_close(struct net_device *net) in gsm_mux_net_close()
2631 static struct net_device_stats *gsm_mux_net_get_stats(struct net_device *net) in gsm_mux_net_get_stats()
2671 struct net_device *net) in gsm_mux_net_start_xmit()
2688 static void gsm_mux_net_tx_timeout(struct net_device *net) in gsm_mux_net_tx_timeout()
2700 struct net_device *net = dlci->net; in gsm_mux_rx_netchar() local
2729 static int gsm_change_mtu(struct net_device *net, int new_mtu) in gsm_change_mtu()
2738 static void gsm_mux_net_init(struct net_device *net) in gsm_mux_net_init()
[all …]
/linux-4.4.14/net/irda/
Dirnetlink.c35 static struct net_device * ifname_to_netdev(struct net *net, struct genl_info *info) in ifname_to_netdev()
/linux-4.4.14/security/selinux/include/
Dxfrm.h47 struct net *net; in selinux_xfrm_notify_policyload() local
/linux-4.4.14/net/netlabel/
Dnetlabel_unlabeled.c383 int netlbl_unlhsh_add(struct net *net, in netlbl_unlhsh_add()
485 static int netlbl_unlhsh_remove_addr4(struct net *net, in netlbl_unlhsh_remove_addr4()
547 static int netlbl_unlhsh_remove_addr6(struct net *net, in netlbl_unlhsh_remove_addr6()
647 int netlbl_unlhsh_remove(struct net *net, in netlbl_unlhsh_remove()

1234