Lines Matching refs:sk0
67 struct sock *sk0; member
332 rt = ip4_route_output_gtp(&fl4, gtp->sk0, iph->saddr, iph->daddr); in gtp0_send_echo_resp()
339 udp_tunnel_xmit_skb(rt, gtp->sk0, skb, in gtp0_send_echo_resp()
628 if (gtp->sk0 == sk) in __gtp_encap_destroy()
629 gtp->sk0 = NULL; in __gtp_encap_destroy()
657 udp_tunnel_sock_release(gtp->sk0->sk_socket); in gtp_encap_disable()
660 gtp->sk0 = NULL; in gtp_encap_disable()
663 gtp_encap_disable_sock(gtp->sk0); in gtp_encap_disable()
1022 struct sock *sk0 = NULL; in gtp_create_sockets() local
1024 sk0 = gtp_create_sock(UDP_ENCAP_GTP0, gtp); in gtp_create_sockets()
1025 if (IS_ERR(sk0)) in gtp_create_sockets()
1026 return PTR_ERR(sk0); in gtp_create_sockets()
1030 udp_tunnel_sock_release(sk0->sk_socket); in gtp_create_sockets()
1035 gtp->sk0 = sk0; in gtp_create_sockets()
1252 struct sock *sk0 = NULL; in gtp_encap_enable() local
1260 sk0 = gtp_encap_enable_socket(fd0, UDP_ENCAP_GTP0, gtp); in gtp_encap_enable()
1261 if (IS_ERR(sk0)) in gtp_encap_enable()
1262 return PTR_ERR(sk0); in gtp_encap_enable()
1270 gtp_encap_disable_sock(sk0); in gtp_encap_enable()
1275 gtp->sk0 = sk0; in gtp_encap_enable()
1485 sk = gtp->sk0; in gtp_genl_new_pdp()
1764 sk = gtp->sk0; in gtp_genl_send_echo_req()