mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-17 15:03:29 +08:00
288384f22f
Fix ip6tunnel.c to be fit with current ip command style. Unlike other modules currently iptunnel (and ip6tunnel) is not designed as protocol-independent because of unarranged structure between IPv4 and IPv6. Usage: ip -f inet6 tunnel { add | change | del | show } [ NAME ] [ remote ADDR local ADDR ] [ dev PHYS_DEV ] [ encaplimit ELIM ] [ hoplimit HLIM ] [ tc TC ] [ fl FL ] [ dscp inherit ] Where: NAME := STRING ADDR := IPV6_ADDRESS ELIM := { none | 0..255 }(default=4) HLIM := 0..255 (default=64) TC := { 0x0..0xff | inherit } FL := { 0x0..0xfffff | inherit } Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org> Signed-off-by: Stephen Hemminger <shemminger@osdl.org> |
||
---|---|---|
doc | ||
etc/iproute2 | ||
examples | ||
genl | ||
include | ||
ip | ||
lib | ||
man | ||
misc | ||
netem | ||
tc | ||
testsuite | ||
.gitignore | ||
ChangeLog | ||
configure | ||
COPYING | ||
Makefile | ||
README | ||
README.decnet | ||
README.distribution | ||
README.iproute2+tc | ||
README.lnstat | ||
RELNOTES |
Primary site is: http://developer.osdl.org/dev/iproute2 Original FTP site is: ftp://ftp.inr.ac.ru/ip-routing/ How to compile this. -------------------- 1. Look at start of Makefile and set correct values for: KERNEL_INCLUDE should point to correct linux kernel include directory. Default (/usr/src/linux/include) is right as rule. DBM_INCLUDE points to the directory with db_185.h which is the include file used by arpd to get to the old format Berkely database routines. Often this is in the db-devel package. 2. make The makefile will automatically build a file Config which contains whether or not ATM is available, etc. 3. To make documentation, cd to doc/ directory , then look at start of Makefile and set correct values for PAGESIZE=a4 , ie: a4 , letter ... (string) PAGESPERPAGE=2 , ie: 1 , 2 ... (numeric) and make there. It assumes, that latex, dvips and psnup are in your path. Stephen Hemminger shemminger@osdl.org Alexey Kuznetsov kuznet@ms2.inr.ac.ru