Lines Matching defs:sk
86 if (inet_sk(vs->sock->sk)->inet_sport == port &&
89 vs->sock->sk->sk_bound_dev_if == ifindex)
678 static struct vxlanhdr *vxlan_gro_prepare_receive(struct sock *sk,
686 struct vxlan_sock *vs = rcu_dereference_sk_user_data(sk);
728 static struct sk_buff *vxlan_gro_receive(struct sock *sk,
736 if (vxlan_gro_prepare_receive(sk, head, skb, &grc)) {
744 static struct sk_buff *vxlan_gpe_gro_receive(struct sock *sk,
755 vh = vxlan_gro_prepare_receive(sk, head, skb, &grc);
770 static int vxlan_gro_complete(struct sock *sk, struct sk_buff *skb, int nhoff)
778 static int vxlan_gpe_gro_complete(struct sock *sk, struct sk_buff *skb, int nhoff)
1509 vn = net_generic(sock_net(vs->sock->sk), vxlan_net_id);
1666 static int vxlan_rcv(struct sock *sk, struct sk_buff *skb)
1696 vs = rcu_dereference_sk_user_data(sk);
1821 static int vxlan_err_lookup(struct sock *sk, struct sk_buff *skb)
1836 vs = rcu_dereference_sk_user_data(sk);
2452 ifindex = sock4->sock->sk->sk_bound_dev_if;
2513 udp_tunnel_xmit_skb(rt, sock4->sock->sk, skb, saddr,
2522 ifindex = sock6->sock->sk->sk_bound_dev_if;
2574 udp_tunnel6_xmit_skb(ndst, sock6->sock->sk, skb, dev,
3525 udp_allow_gso(sock->sk);