[PATCH] Module for ip utility to support veth device (v.4)

2007-12-18 Thread Vitaliy Gusev
The usage is # ip link add [name] [device parameters] type veth [peer [name name other device params]] This consists of two parts: 1/2 makes some copy-paste changes in ip/iplink.c for generic CLI attributes parsing, 2/2 the module itself. Signed-off-by: Pavel Emelyanov [EMAIL PROTECTED] -- To

[PATCH 1/2] Introduce iplink_parse() routine

2007-12-18 Thread Vitaliy Gusev
-= ret; + argv += ret; ll_init_map(rth); if (type) { -- Thank, Vitaliy Gusev -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 2/2] Module for ip utility to support veth device

2007-12-18 Thread Vitaliy Gusev
module link_veth Signed-off-by: Vitaliy Gusev [EMAIL PROTECTED] --- link_veth.c | 76 +++- veth.h |2 - 2 files changed, 25 insertions(+), 53 deletions(-) diff --git a/ip/link_veth.c b/ip/link_veth.c index a4764f2..226b4ef

[PATCH] Fix lost export-dynamic

2007-12-17 Thread Vitaliy Gusev
get_link_kind() fails for statically linked modules (vlan, veth, etc.) if ip was linked without export-dynamic. Signed-off-by: Vitaliy Gusev [EMAIL PROTECTED] -- Thank, Vitaliy Gusev diff --git a/ip/Makefile b/ip/Makefile index 448efb9..b427d58 100644 --- a/ip/Makefile +++ b/ip/Makefile