[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] Module for ip utility to support veth device (v.3)

2007-07-19 Thread Pavel Emelyanov
The usage is # ip link add [name] type veth [device parameters] 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]

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

2007-07-11 Thread Pavel Emelianov
The usage is # ip link add [name] type veth [peer name] [mac mac] [peer_mac mac] This version doesn't include the fix for ip/iplink.c as Patrick said that he had included it into his patches already. Signed-off-by: Pavel Emelianov [EMAIL PROTECTED] --- Makefile|6 +++- link_veth.c |

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

2007-06-07 Thread Pavel Emelianov
The usage is # ip link add [name] type veth [peer name] [mac mac] [peer_mac mac] This version doesn't include the fix for ip/iplink.c as Patrick said that he had included it into his patches already. Signed-off-by: Pavel Emelianov [EMAIL PROTECTED] --- diff --git a/ip/Makefile b/ip/Makefile

Re: [PATCH] Module for ip utility to support veth device (v.2)

2007-06-07 Thread Stephen Hemminger
On Thu, 07 Jun 2007 15:16:34 +0400 Pavel Emelianov [EMAIL PROTECTED] wrote: The usage is # ip link add [name] type veth [peer name] [mac mac] [peer_mac mac] This version doesn't include the fix for ip/iplink.c as Patrick said that he had included it into his patches already.

[PATCH] Module for ip utility to support veth device

2007-06-06 Thread Pavel Emelianov
The usage is # ip link add [name] type veth [peer name] [mac mac] [peer_mac mac] The Makefile is maybe not as beautiful as it could be. It is to be discussed. One thing I noticed during testing is the following. When launching this with link_veth.so module and not specifying any module specific

Re: [PATCH] Module for ip utility to support veth device

2007-06-06 Thread Patrick McHardy
Pavel Emelianov wrote: diff --git a/ip/iplink.c b/ip/iplink.c index 5170419..6975990 100644 --- a/ip/iplink.c +++ b/ip/iplink.c @@ -287,7 +287,7 @@ static int iplink_modify(int cmd, unsign strlen(type)); lu = get_link_type(type); - if