Lines Matching defs:net
14 #include <linux/net.h>
30 #include <net/sock.h>
31 #include <net/protocol.h>
32 #include <net/ip.h>
33 #include <net/icmp.h>
34 #include <net/route.h>
35 #include <net/gre.h>
36 #include <net/pptp.h>
136 struct net *net;
138 net = sock_net(sk);
143 0, 0, sock_net_uid(net, sk));
146 return ip_route_output_flow(net, fl4, sk);
153 struct net *net = sock_net(sk);
258 ip_select_ident(net, skb, NULL);
261 ip_local_out(net, skb->sk, skb);
541 static int pptp_create(struct net *net, struct socket *sock, int kern)
548 sk = sk_alloc(net, PF_PPPOX, GFP_KERNEL, &pptp_sk_proto, kern);