On Mon, Jun 24, 2013 at 10:40:11AM -0700, Alex Wang wrote: > I saw the AF_INET is used when creating the socket (to be used in > "ioctl(sock, SIOCSIFVLAN, via)"). Seems to me that we cannot use netlink > socket here, right? And, generally speaking, is that true that we can only > use AF_INET, to talk to any network device driver in kernel?
It looks to me, from kernel source, that any socket, regardless of its protocol, works with this ioctl. I think that I use an AF_INET socket here because one is readily available. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev