• Home
  • Raw
  • Download

Lines Matching refs:sk

279 		if (inet_sk(vs->sock->sk)->inet_sport == port &&  in vxlan_find_sock()
280 inet_sk(vs->sock->sk)->sk.sk_family == family) in vxlan_find_sock()
639 struct sock *sk = vs->sock->sk; in vxlan_notify_add_rx_port() local
640 struct net *net = sock_net(sk); in vxlan_notify_add_rx_port()
641 sa_family_t sa_family = sk->sk_family; in vxlan_notify_add_rx_port()
642 __be16 port = inet_sk(sk)->inet_sport; in vxlan_notify_add_rx_port()
664 struct sock *sk = vs->sock->sk; in vxlan_notify_del_rx_port() local
665 struct net *net = sock_net(sk); in vxlan_notify_del_rx_port()
666 sa_family_t sa_family = sk->sk_family; in vxlan_notify_del_rx_port()
667 __be16 port = inet_sk(sk)->inet_sport; in vxlan_notify_del_rx_port()
1056 struct sock *sk = vs->sock->sk; in vxlan_sock_release() local
1057 struct net *net = sock_net(sk); in vxlan_sock_release()
1080 struct sock *sk = vs->sock->sk; in vxlan_igmp_join() local
1084 lock_sock(sk); in vxlan_igmp_join()
1091 ip_mc_join_group(sk, &mreq); in vxlan_igmp_join()
1094 ipv6_stub->ipv6_sock_mc_join(sk, ifindex, in vxlan_igmp_join()
1098 release_sock(sk); in vxlan_igmp_join()
1109 struct sock *sk = vs->sock->sk; in vxlan_igmp_leave() local
1113 lock_sock(sk); in vxlan_igmp_leave()
1120 ip_mc_leave_group(sk, &mreq); in vxlan_igmp_leave()
1123 ipv6_stub->ipv6_sock_mc_drop(sk, ifindex, in vxlan_igmp_leave()
1128 release_sock(sk); in vxlan_igmp_leave()
1135 static int vxlan_udp_encap_recv(struct sock *sk, struct sk_buff *skb) in vxlan_udp_encap_recv() argument
1156 vs = rcu_dereference_sk_user_data(sk); in vxlan_udp_encap_recv()
1579 bool udp_sum = !udp_get_no_check6_tx(vs->sock->sk); in vxlan6_xmit_skb()
1629 bool udp_sum = !vs->sock->sk->sk_no_check_tx; in vxlan_xmit_skb()
1799 struct sock *sk = vxlan->vn_sock->sock->sk; in vxlan_xmit_one() local
1810 if (ipv6_stub->ipv6_dst_lookup(sk, &ndst, &fl6)) { in vxlan_xmit_one()
2165 port = inet_sk(vs->sock->sk)->inet_sport; in vxlan_get_rx_port()
2166 sa_family = vs->sock->sk->sk_family; in vxlan_get_rx_port()