Lines Matching refs:vport

33 struct vport;
39 struct vport __rcu *gre_vport;
45 struct vport *ovs_vport_add(const struct vport_parms *);
46 void ovs_vport_del(struct vport *);
48 struct vport *ovs_vport_locate(const struct net *net, const char *name);
50 void ovs_vport_get_stats(struct vport *, struct ovs_vport_stats *);
52 int ovs_vport_set_options(struct vport *, struct nlattr *options);
53 int ovs_vport_get_options(const struct vport *, struct sk_buff *);
55 int ovs_vport_set_upcall_portids(struct vport *, const struct nlattr *pids);
56 int ovs_vport_get_upcall_portids(const struct vport *, struct sk_buff *);
57 u32 ovs_vport_find_upcall_portid(const struct vport *, struct sk_buff *);
59 int ovs_vport_send(struct vport *, struct sk_buff *);
68 int ovs_vport_get_egress_tun_info(struct vport *vport, struct sk_buff *skb,
108 struct vport { struct
168 struct vport *(*create)(const struct vport_parms *);
169 void (*destroy)(struct vport *);
171 int (*set_options)(struct vport *, struct nlattr *);
172 int (*get_options)(const struct vport *, struct sk_buff *);
175 const char *(*get_name)(const struct vport *);
177 int (*send)(struct vport *, struct sk_buff *);
178 int (*get_egress_tun_info)(struct vport *, struct sk_buff *,
192 struct vport *ovs_vport_alloc(int priv_size, const struct vport_ops *,
194 void ovs_vport_free(struct vport *);
195 void ovs_vport_deferred_free(struct vport *vport);
208 static inline void *vport_priv(const struct vport *vport) in vport_priv() argument
210 return (u8 *)(uintptr_t)vport + ALIGN(sizeof(struct vport), VPORT_ALIGN); in vport_priv()
223 static inline struct vport *vport_from_priv(void *priv) in vport_from_priv()
225 return (struct vport *)((u8 *)priv - ALIGN(sizeof(struct vport), VPORT_ALIGN)); in vport_from_priv()
228 void ovs_vport_receive(struct vport *, struct sk_buff *,