Searched defs:vport (Results 1 - 11 of 11) sorted by relevance

/net/openvswitch/
H A Dvport-netdev.h25 #include "vport.h"
27 struct vport *ovs_netdev_get_vport(struct net_device *dev);
36 netdev_vport_priv(const struct vport *vport) argument
38 return vport_priv(vport);
41 const char *ovs_netdev_get_name(const struct vport *);
42 const char *ovs_netdev_get_config(const struct vport *);
H A Ddp_notify.c24 #include "vport-internal_dev.h"
25 #include "vport-netdev.h"
27 static void dp_detach_port_notify(struct vport *vport) argument
32 dp = vport->dp;
33 notify = ovs_vport_cmd_build_info(vport, 0, 0,
35 ovs_dp_detach_port(vport);
58 struct vport *vport; local
61 hlist_for_each_entry_safe(vport,
82 struct vport *vport = NULL; local
[all...]
H A Dvport-netdev.c32 #include "vport-internal_dev.h"
33 #include "vport-netdev.h"
36 static void netdev_port_receive(struct vport *vport, struct sk_buff *skb) argument
38 if (unlikely(!vport))
52 ovs_vport_receive(vport, skb);
63 struct vport *vport; local
68 vport = ovs_netdev_get_vport(skb->dev);
70 netdev_port_receive(vport, sk
77 struct vport *vport; local
134 netdev_destroy(struct vport *vport) argument
147 ovs_netdev_get_name(const struct vport *vport) argument
163 netdev_send(struct vport *vport, struct sk_buff *skb) argument
[all...]
H A Dvport-internal_dev.c31 #include "vport-internal_dev.h"
32 #include "vport-netdev.h"
35 struct vport *vport; member in struct:internal_dev
47 struct vport *vport = ovs_internal_dev_get_vport(netdev); local
50 ovs_vport_get_stats(vport, &vport_stats);
70 ovs_vport_receive(internal_dev_priv(netdev)->vport, skb);
109 struct vport *vport local
147 struct vport *vport; local
196 internal_dev_destroy(struct vport *vport) argument
210 internal_dev_recv(struct vport *vport, struct sk_buff *skb) argument
[all...]
H A Dvport.c33 #include "vport.h"
34 #include "vport-internal_dev.h"
36 /* List of statically compiled vport implementations. Don't forget to also
37 * add yours to the list at the bottom of vport.h. */
48 * ovs_vport_init - initialize vport subsystem
50 * Called at module load time to initialize the vport subsystem.
63 * ovs_vport_exit - shutdown vport subsystem
65 * Called at module exit time to shutdown the vport subsystem.
85 struct vport *ovs_vport_locate(struct net *net, const char *name)
88 struct vport *vpor local
112 struct vport *vport; local
152 ovs_vport_free(struct vport *vport) argument
168 struct vport *vport; local
204 ovs_vport_set_options(struct vport *vport, struct nlattr *options) argument
219 ovs_vport_del(struct vport *vport) argument
238 ovs_vport_get_stats(struct vport *vport, struct ovs_vport_stats *stats) argument
297 ovs_vport_get_options(const struct vport *vport, struct sk_buff *skb) argument
328 ovs_vport_receive(struct vport *vport, struct sk_buff *skb) argument
350 ovs_vport_send(struct vport *vport, struct sk_buff *skb) argument
376 ovs_vport_record_error(struct vport *vport, enum vport_err_type err_type) argument
[all...]
H A Dvport.h32 struct vport;
35 /* The following definitions are for users of the vport subsytem: */
40 struct vport *ovs_vport_add(const struct vport_parms *);
41 void ovs_vport_del(struct vport *);
43 struct vport *ovs_vport_locate(struct net *net, const char *name);
45 void ovs_vport_get_stats(struct vport *, struct ovs_vport_stats *);
47 int ovs_vport_set_options(struct vport *, struct nlattr *options);
48 int ovs_vport_get_options(const struct vport *, struct sk_buff *);
50 int ovs_vport_send(struct vport *, struct sk_buff *);
52 /* The following definitions are for implementers of vport device
75 struct vport { struct
169 vport_priv(const struct vport *vport) argument
[all...]
H A Dactions.c36 #include "vport.h"
353 struct vport *vport; local
358 vport = ovs_vport_rcu(dp, out_port);
359 if (unlikely(!vport)) {
364 ovs_vport_send(vport, skb);
H A Ddatapath.c58 #include "vport-internal_dev.h"
59 #include "vport-netdev.h"
114 static struct vport *new_vport(const struct vport_parms *);
130 struct vport *vport = ovs_internal_dev_get_vport(dev); local
131 if (vport)
132 dp = vport->dp;
142 struct vport *vport = ovs_vport_ovsl_rcu(dp, OVSP_LOCAL); local
143 return vport
183 struct vport *vport; local
197 struct vport *vport; local
1353 struct vport *vport; local
1369 struct vport *vport; local
1462 struct vport *vport; local
1639 ovs_vport_cmd_fill_info(struct vport *vport, struct sk_buff *skb, u32 portid, u32 seq, u32 flags, u8 cmd) argument
1678 ovs_vport_cmd_build_info(struct vport *vport, u32 portid, u32 seq, u8 cmd) argument
1700 struct vport *vport; local
1734 struct vport *vport; local
1806 struct vport *vport; local
1856 struct vport *vport; local
1891 struct vport *vport; local
1928 struct vport *vport; local
[all...]
/net/netfilter/ipvs/
H A Dip_vs_core.c201 const union nf_inet_addr *vaddr, __be16 vport,
205 vport, p);
260 * service, and a template like <caddr, 0, vaddr, vport, daddr, dport>
266 __be16 vport = 0; local
270 * <protocol, caddr, 0, vaddr, vport, daddr, dport>
275 vport = dst_port;
291 vaddr, vport, &param) < 0) {
487 IP_VS_DBG_ADDR(svc->af, &cp->vaddr), ntohs(cp->vport),
700 ports[1] = cp->vport;
752 ntohs(inout ? cp->vport
198 ip_vs_conn_fill_param_persist(const struct ip_vs_service *svc, struct sk_buff *skb, int protocol, const union nf_inet_addr *caddr, __be16 cport, const union nf_inet_addr *vaddr, __be16 vport, struct ip_vs_conn_param *p) argument
[all...]
H A Dip_vs_sync.c75 __be16 vport; member in struct:ip_vs_sync_conn_v0
105 | vport | dport |
140 __be16 vport; member in struct:ip_vs_sync_v4
162 __be16 vport; member in struct:ip_vs_sync_v6
571 s->vport = cp->vport;
710 s->v4.vport = cp->vport;
782 sc->v6.vport, p);
789 sc->v4.vport,
[all...]
H A Dip_vs_ctl.c361 const union nf_inet_addr *vaddr, __be16 vport)
367 hash = ip_vs_svc_hashkey(net, af, protocol, vaddr, vport);
372 && (svc->port == vport)
410 const union nf_inet_addr *vaddr, __be16 vport)
428 svc = __ip_vs_service_find(net, af, protocol, vaddr, vport);
433 && (vport == FTPDATA || ntohs(vport) >= PROT_SOCK)) {
452 IP_VS_DBG_ADDR(af, vaddr), ntohs(vport),
602 __be16 vport, __u16 protocol, __u32 fwmark,
609 svc = ip_vs_service_find(net, af, fwmark, protocol, vaddr, vport);
360 __ip_vs_service_find(struct net *net, int af, __u16 protocol, const union nf_inet_addr *vaddr, __be16 vport) argument
409 ip_vs_service_find(struct net *net, int af, __u32 fwmark, __u16 protocol, const union nf_inet_addr *vaddr, __be16 vport) argument
598 ip_vs_find_dest(struct net *net, int af, const union nf_inet_addr *daddr, __be16 dport, const union nf_inet_addr *vaddr, __be16 vport, __u16 protocol, __u32 fwmark, __u32 flags) argument
[all...]

Completed in 91 milliseconds