/net/sctp/ |
H A D | transport.c | 49 #include <net/sctp/sctp.h> 50 #include <net/sctp/sm.h> 55 static struct sctp_transport *sctp_transport_init(struct net *net, argument 73 peer->rto = msecs_to_jiffies(net->sctp.rto_initial); 83 peer->pathmaxrxt = net->sctp.max_retrans_path; 84 peer->pf_retrans = net->sctp.pf_retrans; 106 struct sctp_transport *sctp_transport_new(struct net *net, argument 116 if (!sctp_transport_init(net, transpor 321 struct net *net = sock_net(tp->asoc->base.sk); local [all...] |
/net/sunrpc/auth_gss/ |
H A D | gss_rpc_upcall.c | 2 * linux/net/sunrpc/gss_rpc_upcall.c 92 static int gssp_rpc_create(struct net *net, struct rpc_clnt **_clnt) argument 99 .net = net, 142 int set_gssp_clnt(struct net *net) argument 144 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); 149 ret = gssp_rpc_create(net, &clnt); 181 static int gssp_call(struct net *ne argument 247 gssp_accept_sec_context_upcall(struct net *net, struct gssp_upcall_data *data) argument [all...] |
/net/sunrpc/ |
H A D | stats.c | 2 * linux/net/sunrpc/stats.c 5 * reside in /proc/net/rpc. 40 "net %u %u %u %u\n", 88 "net %u %u %u %u\n", 220 do_register(struct net *net, const char *name, void *data, argument 225 dprintk("RPC: registering /proc/net/rpc/%s\n", name); 226 sn = net_generic(net, sunrpc_net_id); 231 rpc_proc_register(struct net *net, struc argument 238 rpc_proc_unregister(struct net *net, const char *name) argument 248 svc_proc_register(struct net *net, struct svc_stat *statp, const struct file_operations *fops) argument 255 svc_proc_unregister(struct net *net, const char *name) argument 264 rpc_proc_init(struct net *net) argument 277 rpc_proc_exit(struct net *net) argument [all...] |
/net/unix/ |
H A D | diag.c | 7 #include <net/netlink.h> 8 #include <net/af_unix.h> 9 #include <net/tcp_states.h> 184 struct net *net = sock_net(skb->sk); local 199 if (!net_eq(sock_net(sk), net)) 250 struct net *net = sock_net(in_skb->sk); local 281 err = netlink_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid, 295 struct net *ne local [all...] |
/net/bluetooth/ |
H A D | af_bluetooth.c | 31 #include <net/bluetooth/bluetooth.h> 129 static int bt_sock_create(struct net *net, struct socket *sock, int proto, argument 141 if (net != &init_net) 155 err = bt_proto[proto]->create(net, sock, proto, kern); 700 int bt_procfs_init(struct net *net, const char *name, argument 706 if (!proc_create_data(name, 0, net->proc_net, &bt_fops, sk_list)) 711 void bt_procfs_cleanup(struct net *net, cons argument 716 bt_procfs_init(struct net *net, const char *name, struct bt_sock_list* sk_list, int (* seq_show)(struct seq_file *, void *)) argument 723 bt_procfs_cleanup(struct net *net, const char *name) argument [all...] |
/net/bridge/ |
H A D | br_netlink.c | 16 #include <net/rtnetlink.h> 17 #include <net/net_namespace.h> 18 #include <net/sock.h> 173 struct net *net; local 180 net = dev_net(port->dev); 195 rtnl_notify(skb, net, 0, RTNLGRP_LINK, NULL, GFP_ATOMIC); 198 rtnl_set_sk_err(net, RTNLGRP_LINK, err); 448 static int br_dev_newlink(struct net *src_net, struct net_device *dev,
|
/net/caif/ |
H A D | cfcnfg.c | 14 #include <net/caif/caif_layer.h> 15 #include <net/caif/cfpkt.h> 16 #include <net/caif/cfcnfg.h> 17 #include <net/caif/cfctrl.h> 18 #include <net/caif/cfmuxl.h> 19 #include <net/caif/cffrml.h> 20 #include <net/caif/cfserl.h> 21 #include <net/caif/cfsrvl.h> 22 #include <net/caif/caif_dev.h> 179 int caif_disconnect_client(struct net *ne argument 302 caif_connect_client(struct net *net, struct caif_connect_request *conn_req, struct cflayer *adap_layer, int *ifindex, int *proto_head, int *proto_tail) argument [all...] |
/net/core/ |
H A D | fib_rules.c | 2 * net/core/fib_rules.c Generic Routing Rules 16 #include <net/net_namespace.h> 17 #include <net/sock.h> 18 #include <net/fib_rules.h> 70 static struct fib_rules_ops *lookup_rules_ops(struct net *net, int family) argument 75 list_for_each_entry_rcu(ops, &net->rules_ops, list) { 104 struct net *net; local 106 net 131 fib_rules_register(const struct fib_rules_ops *tmpl, struct net *net) argument 168 struct net *net = ops->fro_net; local 176 struct net *net = ops->fro_net; local 299 struct net *net = sock_net(skb->sk); local 470 struct net *net = sock_net(skb->sk); local 695 struct net *net = sock_net(skb->sk); local 731 struct net *net; local 786 struct net *net = dev_net(dev); local 817 fib_rules_net_init(struct net *net) argument [all...] |
H A D | flow.c | 24 #include <net/flow.h> 27 #include <net/net_namespace.h> 34 struct net *net; member in struct:flow_cache_entry 192 flow_cache_lookup(struct net *net, const struct flowi *key, u16 family, u8 dir, argument 195 struct flow_cache *fc = &net->xfrm.flow_cache_global; 222 if (tfle->net == net && 237 fle->net 340 flow_cache_flush(struct net *net) argument 383 struct net *net = container_of(xfrm, struct net, xfrm); local 388 flow_cache_flush_deferred(struct net *net) argument 435 flow_cache_init(struct net *net) argument 494 flow_cache_fini(struct net *net) argument [all...] |
H A D | net-procfs.c | 4 #include <net/wext.h> 17 struct net *net = seq_file_net(seq); local 22 h = &net->dev_name_head[get_bucket(*pos)]; 103 * /proc/net interface to create /proc/net/dev 315 static int __net_init dev_proc_net_init(struct net *net) argument 319 if (!proc_create("dev", S_IRUGO, net->proc_net, &dev_seq_fops)) 321 if (!proc_create("softnet_stat", S_IRUGO, net 341 dev_proc_net_exit(struct net *net) argument 400 dev_mc_net_init(struct net *net) argument 407 dev_mc_net_exit(struct net *net) argument [all...] |
H A D | net_namespace.c | 18 #include <net/net_namespace.h> 19 #include <net/netns/generic.h> 32 struct net init_net = { 53 static int net_assign_generic(struct net *net, int id, void *data) argument 60 old_ng = rcu_dereference_protected(net->gen, 73 * The net_generic explores the net->gen array inside rcu 74 * read section. Besides once set the net->gen->ptr[x] 83 rcu_assign_pointer(net->gen, ng); 90 static int ops_init(const struct pernet_operations *ops, struct net *ne argument 117 ops_free(const struct pernet_operations *ops, struct net *net) argument 128 struct net *net; local 140 struct net *net; local 150 setup_net(struct net *net, struct user_namespace *user_ns) argument 198 struct net *net = NULL; local 218 net_free(struct net *net) argument 241 struct net *net; local 275 struct net *net, *tmp; local 325 __put_net(struct net *net) argument 342 struct net *net; local 368 struct net *net; local 387 net_ns_net_init(struct net *net) argument 392 net_ns_net_exit(struct net *net) argument 444 struct net *net; local 469 struct net *net; local 634 struct net *net = NULL; local 653 struct net *net = ns; local 666 struct net *net = ns; local [all...] |
H A D | netpoll.c | 31 #include <net/tcp.h> 32 #include <net/udp.h> 33 #include <net/addrconf.h> 34 #include <net/ndisc.h> 35 #include <net/ip6_checksum.h> 639 /* last thing to do is link it to the net device structure */ 659 struct net *net = current->nsproxy->net_ns; local 660 ndev = __dev_get_by_name(net, np->dev_name);
|
/net/dccp/ |
H A D | ipv4.c | 2 * net/dccp/ipv4.c 20 #include <net/icmp.h> 21 #include <net/inet_common.h> 22 #include <net/inet_hashtables.h> 23 #include <net/inet_sock.h> 24 #include <net/protocol.h> 25 #include <net/sock.h> 26 #include <net/timewait_sock.h> 27 #include <net/tcp_states.h> 28 #include <net/xfr 224 struct net *net = dev_net(skb->dev); local 479 dccp_v4_route_skb(struct net *net, struct sock *sk, struct sk_buff *skb) argument 539 struct net *net = dev_net(skb_dst(rxskb)->dev); local 1030 dccp_v4_init_net(struct net *net) argument 1039 dccp_v4_exit_net(struct net *net) argument [all...] |
H A D | ipv6.c | 5 * Based on net/dccp6/ipv6.c 7 * Arnaldo Carvalho de Melo <acme@ghostprotocols.net> 20 #include <net/addrconf.h> 21 #include <net/inet_common.h> 22 #include <net/inet_hashtables.h> 23 #include <net/inet_sock.h> 24 #include <net/inet6_connection_sock.h> 25 #include <net/inet6_hashtables.h> 26 #include <net/ip6_route.h> 27 #include <net/ipv 92 struct net *net = dev_net(skb->dev); local 278 struct net *net = dev_net(skb_dst(rxskb)->dev); local 1122 dccp_v6_init_net(struct net *net) argument 1131 dccp_v6_exit_net(struct net *net) argument [all...] |
/net/ieee802154/ |
H A D | reassembly.c | 7 * Based on: net/ipv6/reassembly.c 17 #include <linux/net.h> 26 #include <net/ieee802154_netdev.h> 27 #include <net/6lowpan.h> 28 #include <net/ipv6.h> 29 #include <net/inet_frag.h> 97 struct net *net; local 100 net = container_of(fq->q.net, struc 114 fq_find(struct net *net, const struct lowpan_frag_info *frag_info, const struct ieee802154_addr *src, const struct ieee802154_addr *dst) argument 355 struct net *net = dev_net(skb->dev); local 434 lowpan_frags_ns_sysctl_register(struct net *net) argument 474 lowpan_frags_ns_sysctl_unregister(struct net *net) argument 501 lowpan_frags_ns_sysctl_register(struct net *net) argument 506 lowpan_frags_ns_sysctl_unregister(struct net *net) argument 520 lowpan_frags_init_net(struct net *net) argument 534 lowpan_frags_exit_net(struct net *net) argument [all...] |
/net/ipv4/ |
H A D | esp4.c | 7 #include <net/ip.h> 8 #include <net/xfrm.h> 9 #include <net/esp.h> 17 #include <net/icmp.h> 18 #include <net/protocol.h> 19 #include <net/udp.h> 478 struct net *net = dev_net(skb->dev); local 493 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr, 499 ipv4_update_pmtu(skb, net, inf [all...] |
H A D | inet_hashtables.c | 22 #include <net/inet_connection_sock.h> 23 #include <net/inet_hashtables.h> 24 #include <net/secure_seq.h> 25 #include <net/ip.h> 27 static unsigned int inet_ehashfn(struct net *net, const __be32 laddr, argument 36 inet_ehash_secret + net_hash_mix(net)); 47 struct net *net = sock_net(sk); local 49 return inet_ehashfn(net, ladd 56 inet_bind_bucket_create(struct kmem_cache *cachep, struct net *net, struct inet_bind_hashbucket *head, const unsigned short snum) argument 169 compute_score(struct sock *sk, struct net *net, const unsigned short hnum, const __be32 daddr, const int dif) argument 202 __inet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, const __be32 saddr, __be16 sport, const __be32 daddr, const unsigned short hnum, const int dif) argument 271 __inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const u16 hnum, const int dif) argument 332 struct net *net = sock_net(sk); local 488 struct net *net = sock_net(sk); local [all...] |
H A D | ip_gre.c | 36 #include <net/sock.h> 37 #include <net/ip.h> 38 #include <net/icmp.h> 39 #include <net/protocol.h> 40 #include <net/ip_tunnels.h> 41 #include <net/arp.h> 42 #include <net/checksum.h> 43 #include <net/dsfield.h> 44 #include <net/inet_ecn.h> 45 #include <net/xfr 141 struct net *net = dev_net(skb->dev); local 205 struct net *net = dev_net(skb->dev); local 537 ipgre_init_net(struct net *net) argument 542 ipgre_exit_net(struct net *net) argument 846 ipgre_tap_init_net(struct net *net) argument 851 ipgre_tap_exit_net(struct net *net) argument [all...] |
/net/ipv6/ |
H A D | addrlabel.c | 17 #include <net/addrconf.h> 33 struct net *lbl_net; 53 struct net *ip6addrlbl_net(const struct ip6addrlbl_entry *lbl) 155 static bool __ip6addrlbl_match(struct net *net, argument 160 if (!net_eq(ip6addrlbl_net(p), net)) 171 static struct ip6addrlbl_entry *__ipv6_addr_label(struct net *net, argument 177 if (__ip6addrlbl_match(net, p, addr, type, ifindex)) 183 u32 ipv6_addr_label(struct net *ne argument 203 ip6addrlbl_alloc(struct net *net, const struct in6_addr *prefix, int prefixlen, int ifindex, u32 label) argument 290 ip6addrlbl_add(struct net *net, const struct in6_addr *prefix, int prefixlen, int ifindex, u32 label, int replace) argument 313 __ip6addrlbl_del(struct net *net, const struct in6_addr *prefix, int prefixlen, int ifindex) argument 338 ip6addrlbl_del(struct net *net, const struct in6_addr *prefix, int prefixlen, int ifindex) argument 356 ip6addrlbl_net_init(struct net *net) argument 376 ip6addrlbl_net_exit(struct net *net) argument 416 struct net *net = sock_net(skb->sk); local 498 struct net *net = sock_net(skb->sk); local 532 struct net *net = sock_net(in_skb->sk); local [all...] |
H A D | af_inet6.c | 8 * Adapted from linux/net/ipv4/af_inet.c 33 #include <linux/net.h> 47 #include <net/ip.h> 48 #include <net/ipv6.h> 49 #include <net/udp.h> 50 #include <net/udplite.h> 51 #include <net/tcp.h> 52 #include <net/ping.h> 53 #include <net/protocol.h> 54 #include <net/inet_commo 114 inet6_create(struct net *net, struct socket *sock, int protocol, int kern) argument 274 struct net *net = sock_net(sk); local 490 inet6_killaddr_ioctl(struct net *net, void __user *arg) argument 508 struct net *net = sock_net(sk); local 745 ipv6_init_mibs(struct net *net) argument 786 ipv6_cleanup_mibs(struct net *net) argument 795 inet6_net_init(struct net *net) argument 832 inet6_net_exit(struct net *net) argument [all...] |
H A D | datagram.c | 27 #include <net/ipv6.h> 28 #include <net/ndisc.h> 29 #include <net/addrconf.h> 30 #include <net/transp_v6.h> 31 #include <net/ip6_route.h> 32 #include <net/tcp_states.h> 33 #include <net/dsfield.h> 632 int ip6_datagram_send_ctl(struct net *net, struct sock *sk, argument 679 dev = dev_get_by_index_rcu(net, fl [all...] |
H A D | esp6.c | 23 * This file is derived from net/ipv4/esp.c 32 #include <net/ip.h> 33 #include <net/xfrm.h> 34 #include <net/esp.h> 41 #include <net/ip6_route.h> 42 #include <net/icmp.h> 43 #include <net/ipv6.h> 44 #include <net/protocol.h> 427 struct net *net local [all...] |
H A D | exthdrs.c | 28 #include <linux/net.h> 35 #include <net/dst.h> 36 #include <net/sock.h> 37 #include <net/snmp.h> 39 #include <net/ipv6.h> 40 #include <net/protocol.h> 41 #include <net/transp_v6.h> 42 #include <net/rawv6.h> 43 #include <net/ndisc.h> 44 #include <net/ip6_rout 302 struct net *net = dev_net(skb->dev); local 565 struct net *net = ipv6_skb_net(skb); local [all...] |
H A D | reassembly.c | 8 * Based on: net/ipv4/ip_fragment.c 38 #include <linux/net.h> 50 #include <net/sock.h> 51 #include <net/snmp.h> 53 #include <net/ipv6.h> 54 #include <net/ip6_route.h> 55 #include <net/protocol.h> 56 #include <net/transp_v6.h> 57 #include <net/rawv6.h> 58 #include <net/ndis 128 ip6_expire_frag_queue(struct net *net, struct frag_queue *fq, struct inet_frags *frags) argument 173 struct net *net; local 182 fq_find(struct net *net, __be32 id, const struct in6_addr *src, const struct in6_addr *dst, u8 ecn) argument 211 struct net *net = dev_net(skb_dst(skb)->dev); local 378 struct net *net = container_of(fq->q.net, struct net, ipv6.frags); local 523 struct net *net = dev_net(skb_dst(skb)->dev); local 626 ip6_frags_ns_sysctl_register(struct net *net) argument 663 ip6_frags_ns_sysctl_unregister(struct net *net) argument 687 ip6_frags_ns_sysctl_register(struct net *net) argument 692 ip6_frags_ns_sysctl_unregister(struct net *net) argument 706 ipv6_frags_init_net(struct net *net) argument 717 ipv6_frags_exit_net(struct net *net) argument [all...] |
/net/ipv6/netfilter/ |
H A D | nf_conntrack_reasm.c | 9 * Based on: net/ipv6/reassembly.c 25 #include <linux/net.h> 34 #include <net/sock.h> 35 #include <net/snmp.h> 36 #include <net/inet_frag.h> 38 #include <net/ipv6.h> 39 #include <net/protocol.h> 40 #include <net/transp_v6.h> 41 #include <net/rawv6.h> 42 #include <net/ndis 97 nf_ct_frag6_sysctl_register(struct net *net) argument 131 nf_ct_frags6_sysctl_unregister(struct net *net) argument 142 nf_ct_frag6_sysctl_register(struct net *net) argument 146 nf_ct_frags6_sysctl_unregister(struct net *net) argument 182 struct net *net; local 191 fq_find(struct net *net, __be32 id, u32 user, struct in6_addr *src, struct in6_addr *dst, u8 ecn) argument 570 struct net *net = skb_dst(skb) ? dev_net(skb_dst(skb)->dev) local 649 nf_ct_net_init(struct net *net) argument 659 nf_ct_net_exit(struct net *net) argument [all...] |