• Home
  • Raw
  • Download

Lines Matching refs:sk

442 static int vrf_ip6_local_out(struct net *net, struct sock *sk,  in vrf_ip6_local_out()  argument
450 sk, skb, NULL, skb_dst(skb)->dev, dst_output); in vrf_ip6_local_out()
453 err = dst_output(net, sk, skb); in vrf_ip6_local_out()
501 ret = vrf_ip6_local_out(net, skb->sk, skb); in vrf_process_v6_outbound()
522 static int vrf_ip_local_out(struct net *net, struct sock *sk, in vrf_ip_local_out() argument
529 err = nf_hook(NFPROTO_IPV4, NF_INET_LOCAL_OUT, net, sk, in vrf_ip_local_out()
532 err = dst_output(net, sk, skb); in vrf_ip_local_out()
584 ret = vrf_ip_local_out(dev_net(skb_dst(skb)->dev), skb->sk, skb); in vrf_process_v4_outbound()
653 static int vrf_finish_output6(struct net *net, struct sock *sk, in vrf_finish_output6() argument
687 static int vrf_output6(struct net *net, struct sock *sk, struct sk_buff *skb) in vrf_output6() argument
690 net, sk, skb, NULL, skb_dst(skb)->dev, in vrf_output6()
727 static int vrf_output6_direct_finish(struct net *net, struct sock *sk, in vrf_output6_direct_finish() argument
732 return vrf_ip6_local_out(net, sk, skb); in vrf_output6_direct_finish()
735 static int vrf_output6_direct(struct net *net, struct sock *sk, in vrf_output6_direct() argument
743 err = nf_hook(NFPROTO_IPV6, NF_INET_POST_ROUTING, net, sk, skb, in vrf_output6_direct()
752 static int vrf_ip6_out_direct_finish(struct net *net, struct sock *sk, in vrf_ip6_out_direct_finish() argument
757 err = vrf_output6_direct(net, sk, skb); in vrf_ip6_out_direct_finish()
759 err = vrf_ip6_local_out(net, sk, skb); in vrf_ip6_out_direct_finish()
765 struct sock *sk, in vrf_ip6_out_direct() argument
773 err = nf_hook(NFPROTO_IPV6, NF_INET_LOCAL_OUT, net, sk, in vrf_ip6_out_direct()
777 err = vrf_output6_direct(net, sk, skb); in vrf_ip6_out_direct()
786 struct sock *sk, in vrf_ip6_out() argument
797 return vrf_ip6_out_direct(vrf_dev, sk, skb); in vrf_ip6_out()
855 struct sock *sk, in vrf_ip6_out() argument
872 static int vrf_finish_output(struct net *net, struct sock *sk, struct sk_buff *skb) in vrf_finish_output() argument
910 static int vrf_output(struct net *net, struct sock *sk, struct sk_buff *skb) in vrf_output() argument
920 net, sk, skb, NULL, dev, in vrf_output()
957 static int vrf_output_direct_finish(struct net *net, struct sock *sk, in vrf_output_direct_finish() argument
962 return vrf_ip_local_out(net, sk, skb); in vrf_output_direct_finish()
965 static int vrf_output_direct(struct net *net, struct sock *sk, in vrf_output_direct() argument
973 err = nf_hook(NFPROTO_IPV4, NF_INET_POST_ROUTING, net, sk, skb, in vrf_output_direct()
982 static int vrf_ip_out_direct_finish(struct net *net, struct sock *sk, in vrf_ip_out_direct_finish() argument
987 err = vrf_output_direct(net, sk, skb); in vrf_ip_out_direct_finish()
989 err = vrf_ip_local_out(net, sk, skb); in vrf_ip_out_direct_finish()
995 struct sock *sk, in vrf_ip_out_direct() argument
1003 err = nf_hook(NFPROTO_IPV4, NF_INET_LOCAL_OUT, net, sk, in vrf_ip_out_direct()
1007 err = vrf_output_direct(net, sk, skb); in vrf_ip_out_direct()
1016 struct sock *sk, in vrf_ip_out() argument
1028 return vrf_ip_out_direct(vrf_dev, sk, skb); in vrf_ip_out()
1035 struct sock *sk, in vrf_l3_out() argument
1041 return vrf_ip_out(vrf_dev, sk, skb); in vrf_l3_out()
1043 return vrf_ip6_out(vrf_dev, sk, skb); in vrf_l3_out()
1232 static int vrf_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in vrf_rcv_finish() argument
1603 skb->sk = dev_net(dev)->rtnl; in vrf_fib_rule()