Lines Matching defs:net
34 #include <net/ip.h>
35 #include <net/xfrm.h>
36 #include <net/ipcomp.h>
46 #include <net/icmp.h>
47 #include <net/ipv6.h>
48 #include <net/protocol.h>
56 struct net *net = dev_net(skb->dev);
67 x = xfrm_state_lookup(net, skb->mark, (xfrm_address_t *)&iph->daddr, spi, IPPROTO_COMP, AF_INET6);
78 struct net *net = xs_net(x);
81 t = xfrm_state_alloc(net);
86 t->id.spi = xfrm6_tunnel_alloc_spi(net, (xfrm_address_t *)&x->props.saddr);
114 struct net *net = xs_net(x);
120 spi = xfrm6_tunnel_spi_lookup(net, (xfrm_address_t *)&x->props.saddr);
122 t = xfrm_state_lookup(net, mark, (xfrm_address_t *)&x->id.daddr,