| To: | Ben Greear <greearb@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] 802.1Q VLAN |
| From: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Date: | Wed, 27 Oct 2004 21:42:57 -0700 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <41804B35.1080306@candelatech.com> |
| References: | <41797696.9070905@candelatech.com> <20041022214611.GA4948@electric-eye.fr.zoreil.com> <41798506.1030909@candelatech.com> <417D675F.3000909@candelatech.com> <417D929A.2090809@candelatech.com> <20041027164912.09cc63f8.davem@davemloft.net> <41804B35.1080306@candelatech.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Wed, 27 Oct 2004 18:28:21 -0700 Ben Greear <greearb@xxxxxxxxxxxxxxx> wrote: > > Also, what is up with the magic "23" constant in the get realdev > > name function strncpy() call? > > Well, the fields are 24-bytes long, as defined in the include/linux/if_vlan.h > file. I could change it to a #define and/or use sizeof if you prefer. You could also use "sizeof(obj->member)". |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: linux-2.6.9 eepro100 warning, Jeff Garzik |
|---|---|
| Next by Date: | Re: [NETLINK] Check netlink_insert in kernel_create, David S. Miller |
| Previous by Thread: | Re: [PATCH] 802.1Q VLAN, Ben Greear |
| Next by Thread: | Re: [PATCH] 802.1Q VLAN, Tommy Christensen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |