Hi,

If you are talking only about tasks as create and remove vlan-devices
(8021.q) ,
then this is merely  matter of building a request and sending it by
ioctls (like SIOCSIFVLAN for adding /removing
with ADD_VLAN_CMD or DEL_VLAN_CMD).

See: /usr/include/linux/if_vlan.h and /usr/include/linux/sockios.h

As far as I understand, cfgsh can be easily extended using this mechanism.

Or are you talking about doing more than that ?

Regards,
Rami Rosen




On Wed, Apr 30, 2008 at 2:35 PM, Noam Rathaus <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  I am trying to extend the software cfgsh by Gilad to support VLAN, anyone can
>  point me to Linux API that would allow me to do this?
>
>  I rather not access /proc/net/vlan/ directly if possible.
>
>  --
>  Noam Rathaus
>  CTO
>  [EMAIL PROTECTED]
>  http://www.beyondsecurity.com
>
>  "Know that you are safe."
>
>  Beyond Security Finalist for the "Red Herring 100 Global" Awards 2007
>
>  =================================================================
>  To unsubscribe, send mail to [EMAIL PROTECTED] with
>  the word "unsubscribe" in the message body, e.g., run the command
>  echo unsubscribe | mail [EMAIL PROTECTED]
>
>

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to