Lines Matching defs:net
22 #include <net/sock.h>
23 #include <net/ip.h>
24 #include <net/icmp.h>
25 #include <net/route.h>
26 #include <net/cipso_ipv4.h>
249 int ip_options_compile(struct net *net,
391 if (inet_addr_type(net, addr) == RTN_UNICAST)
508 static int ip_options_get_finish(struct net *net, struct ip_options **optp,
514 if (optlen && ip_options_compile(net, opt, NULL)) {
523 int ip_options_get_from_user(struct net *net, struct ip_options **optp,
534 return ip_options_get_finish(net, optp, opt, optlen);
537 int ip_options_get(struct net *net, struct ip_options **optp,
546 return ip_options_get_finish(net, optp, opt, optlen);