I got it.
We currently have two kinds of cell phone: Motorola CDMA Droid which 3G
interface is point-to-point; GSM Nexus One which 3G interface is normal
ethernet. So maybe ovs can work on GSM cell phone, we are trying that.

So far there is a weird problem when i cross compiled ovs-openflowd, it is
following:

vconn.o: In function `.LANCHOR0':
vconn.c:(.data.rel.ro.pvconn_classes+0x0): undefined reference to
`ptcp_pvconn_class'
vconn.c:(.data.rel.ro.pvconn_classes+0x4): undefined reference to
`punix_pvconn_class'
vconn.o: In function `.LANCHOR1':
vconn.c:(.data.rel.ro.vconn_classes+0x0): undefined reference to
`tcp_vconn_class'
vconn.c:(.data.rel.ro.vconn_classes+0x4): undefined reference to
`unix_vconn_class'
collect2: ld returned 1 exit status

but i can not find the definition of the above xxx_xconn_class in ovs source
code, it is search result:

grep tcp_vconn_class ./* -r

./lib/vconn.c:    &tcp_vconn_class,
Binary file ./lib/vconn-stream.o matches
./lib/vconn-provider.h:extern struct vconn_class tcp_vconn_class;

i also searched the keywords by google, but got nothing.

So anyone can give me some clues to solve the problem?

Thanks a lot


2011/2/3 Jesse Gross <je...@nicira.com>

> On Thu, Feb 3, 2011 at 12:33 PM, Ben Pfaff <b...@nicira.com> wrote:
> > On Wed, Feb 02, 2011 at 09:53:49PM -0800, Yongqiang Liu wrote:
> >> but when i added 3G interface, which appears as a ppp0 interface, there
> is
> >> an error:
> >> # ./ovs-dpctl add-if dp0 ppp0
> >> Feb 02 21:41:03|00001|dpif|WARN|system@dp0: failed to add ppp0 as port:
> >> Invalid argument
> >> ovs-dpctl: adding ppp0 to dp0 failed (Invalid argument)
> >>
> >> the following is the interface information of ppp0:
> >> # ifconfig ppp0
> >> ppp0: ip 10.231.190.28 mask 255.255.255.255 flags [up point-to-point
> running
> >> multicast
> >>
> >> Does anyone ever adds point-to-point interface to ovs on PC?
> >
> > Currently OVS only allows Ethernet interfaces (ARPHRD_ETHER) to be
> > added.  A PPP interface presumably has PPP encapsulation (ARPHRD_PPP).
> > I don't think that PPP encapsulates Ethernet frames (doesn't it
> > typically encapsulate IP?).  Since the Open vSwitch datapath only
> > supports Ethernet, I don't think that it will work.
> >
> > (There are lots of assumptions above; I haven't checked my facts.  I
> > hope that someone will correct me if I am wrong.)
>
> Yes, all of that is right.
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org

Reply via email to