Lines Matching defs:net
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/ipv6.h>
28 #include <net/protocol.h>
29 #include <net/transp_v6.h>
30 #include <net/ip6_checksum.h>
31 #include <net/xfrm.h>
32 #include <net/secure_seq.h>
38 /* The per-net dccp.v6_ctl_sk is used for sending RSTs and ACKs */
92 struct net *net = dev_net(skb->dev);
96 ICMP6_INC_STATS_BH(net, __in6_dev_get(skb->dev),
101 sk = inet6_lookup(net, &dccp_hashinfo,
106 ICMP6_INC_STATS_BH(net, __in6_dev_get(skb->dev),
118 NET_INC_STATS_BH(net, LINUX_MIB_LOCKDROPPEDICMPS);
127 NET_INC_STATS_BH(net, LINUX_MIB_OUTOFWINDOWICMPS);
184 NET_INC_STATS_BH(net, LINUX_MIB_OUTOFWINDOWICMPS);
278 struct net *net = dev_net(skb_dst(rxskb)->dev);
279 struct sock *ctl_sk = net->dccp.v6_ctl_sk;
655 * (wrt ipv6_pktopions) and net/ipv6/tcp_ipv6.c for an example.
1122 static int __net_init dccp_v6_init_net(struct net *net)
1127 return inet_ctl_sock_create(&net->dccp.v6_ctl_sk, PF_INET6,
1128 SOCK_DCCP, IPPROTO_DCCP, net);
1131 static void __net_exit dccp_v6_exit_net(struct net *net)
1133 inet_ctl_sock_destroy(net->dccp.v6_ctl_sk);
1182 * i.e. net-pf-PF_INET6-proto-0-type-SOCK_DCCP