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
-= 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
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
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