Date: Thu, 20 Jan 2005 13:26:44 +0300 From: Vladimir Grebenschikov <vova@fbsd.ru> To: Boris Kovalenko <boris@ntmk.ru> Cc: freebsd-net@freebsd.org Subject: Re: [PATCH] 802.1p priority Message-ID: <1106216804.35369.1.camel@localhost> In-Reply-To: <41EF2B6C.2090609@ntmk.ru> References: <41EF2B6C.2090609@ntmk.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
=F7 =DE=D4, 20/01/2005 =D7 08:54 +0500, Boris Kovalenko =D0=C9=DB=C5=D4: > Hello! >=20 > I want to implement 802.1p priority tagging for VLAN. I made this dirty > patch and wonder - it works for me. May somebody look at it and tell me > is this enough for BSD community or should I look and patch something mor= e? >=20 > =D7=CC=CF=D6=C5=CE=C9=C5 plain text document (patch-8021p.diff) > --- sbin/ifconfig/ifconfig.h.orig Wed Jan 19 10:44:20 2005 > +++ sbin/ifconfig/ifconfig.h Wed Jan 19 10:09:57 2005 > @@ -49,6 +49,7 @@ > =20 > extern void setvlantag(const char *, int, int, const struct afswtch *raf= p); > extern void setvlandev(const char *, int, int, const struct afswtch *raf= p); > +extern void setvlanpri(const char *, int, int, const struct afswtch *raf= p); > extern void unsetvlandev(const char *, int, int, const struct afswtch *r= afp); > extern void vlan_status(int s, struct rt_addrinfo *); ... > --- sbin/ifconfig/ifconfig.c.orig Wed Jan 19 10:56:44 2005 > +++ sbin/ifconfig/ifconfig.c Wed Jan 19 10:56:24 2005 > @@ -248,6 +248,7 @@ > #ifdef USE_VLANS > { "vlan", NEXTARG, setvlantag }, > { "vlandev", NEXTARG, setvlandev }, > + { "vlanpri", NEXTARG, setvlandev }, { "vlanpri", NEXTARG, setvlanpri }, Should be setvlanpri instead of setvlandev ? > { "-vlandev", NEXTARG, unsetvlandev }, > #endif > #if 0 --=20 Vladimir B. Grebenchikov vova@fbsd.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1106216804.35369.1.camel>