Lines Matching refs:ipv4
492 peer = inet_getpeer_v4(net->ipv4.peers, iph->daddr, 1); in __ip_select_ident()
808 peer = inet_getpeer_v4(net->ipv4.peers, ip_hdr(skb)->saddr, 1); in ip_rt_send_redirect()
893 peer = inet_getpeer_v4(net->ipv4.peers, ip_hdr(skb)->saddr, 1); in ip_error()
2606 net->ipv4.route_hdr = register_net_sysctl(net, "net/ipv4/route", tbl); in sysctl_route_net_init()
2607 if (net->ipv4.route_hdr == NULL) in sysctl_route_net_init()
2622 tbl = net->ipv4.route_hdr->ctl_table_arg; in sysctl_route_net_exit()
2623 unregister_net_sysctl_table(net->ipv4.route_hdr); in sysctl_route_net_exit()
2637 get_random_bytes(&net->ipv4.dev_addr_genid, in rt_genid_init()
2638 sizeof(net->ipv4.dev_addr_genid)); in rt_genid_init()
2653 net->ipv4.peers = bp; in ipv4_inetpeer_init()
2659 struct inet_peer_base *bp = net->ipv4.peers; in ipv4_inetpeer_exit()
2661 net->ipv4.peers = NULL; in ipv4_inetpeer_exit()