Lines Matching refs:vxlan_port

50 struct vxlan_port {  struct
58 static inline struct vxlan_port *vxlan_vport(const struct vport *vport) in vxlan_vport() argument
68 struct vxlan_port *vxlan_port; in vxlan_rcv() local
78 vxlan_port = vxlan_vport(vport); in vxlan_rcv()
79 if (vxlan_port->exts & VXLAN_F_GBP && md->gbp) in vxlan_rcv()
94 struct vxlan_port *vxlan_port = vxlan_vport(vport); in vxlan_get_options() local
95 __be16 dst_port = inet_sk(vxlan_port->vs->sock->sk)->inet_sport; in vxlan_get_options()
100 if (vxlan_port->exts) { in vxlan_get_options()
107 if (vxlan_port->exts & VXLAN_F_GBP && in vxlan_get_options()
119 struct vxlan_port *vxlan_port = vxlan_vport(vport); in vxlan_tnl_destroy() local
121 vxlan_sock_release(vxlan_port->vs); in vxlan_tnl_destroy()
133 struct vxlan_port *vxlan_port; in vxlan_configure_exts() local
143 vxlan_port = vxlan_vport(vport); in vxlan_configure_exts()
146 vxlan_port->exts |= VXLAN_F_GBP; in vxlan_configure_exts()
155 struct vxlan_port *vxlan_port; in vxlan_tnl_create() local
175 vport = ovs_vport_alloc(sizeof(struct vxlan_port), in vxlan_tnl_create()
180 vxlan_port = vxlan_vport(vport); in vxlan_tnl_create()
181 strncpy(vxlan_port->name, parms->name, IFNAMSIZ); in vxlan_tnl_create()
193 vxlan_port->exts); in vxlan_tnl_create()
198 vxlan_port->vs = vs; in vxlan_tnl_create()
224 struct vxlan_port *vxlan_port = vxlan_vport(vport); in vxlan_tnl_send() local
225 struct sock *sk = vxlan_port->vs->sock->sk; in vxlan_tnl_send()
256 vxflags = vxlan_port->exts | in vxlan_tnl_send()
275 struct vxlan_port *vxlan_port = vxlan_vport(vport); in vxlan_get_egress_tun_info() local
276 __be16 dst_port = inet_sk(vxlan_port->vs->sock->sk)->inet_sport; in vxlan_get_egress_tun_info()
292 struct vxlan_port *vxlan_port = vxlan_vport(vport); in vxlan_get_name() local
293 return vxlan_port->name; in vxlan_get_name()