Skip to content

k0ekk0ek/vipupdown

Repository files navigation

vipupdown - enable and handle multiple ucarp instances on single interface
vipif - print logical interface(s) for given virtual IP address(es)

vipupdown uses slightly modified sources from ifupdown as found in Debian
GNU/Linux to parse the interfaces file. To prepare the source files for
inclusion in vipupdown, execute the following commands.

strip.pl --remove-line-control \
  <ifupdown>/addrfam.c <vipupdown>/ifupdown/addrfam.c
strip.pl --remove-line-control \
  <ifupdown>/archlinux.c <vipupdown>/ifupdown/archlinux.c
strip.pl --remove-line-control \
  <ifupdown>/archlinux.h <vipupdown>/ifupdown/archlinux.h
strip.pl --remove-line-control \
  <ifupdown>/config.c <vipupdown>/ifupdown/config.c
strip.pl --remove-line-control \
  --remove-function=execute_all \
  --remove-function=iface_up \
  --remove-function=iface_down \
  --remove-function=execute \
  --remove-keyword-static=setlocalenv \
  --remove-keyword-static=doit \
  <ifupdown>/execute.c <vipupdown>/ifupdown/execute.c
strip.pl --remove-line-control \
  --remove-function=execute_all \
  --remove-function=iface_up \
  --remove-function=iface_down \
  --remove-function=execute \
  <ifupdown>/header.h <vipupdown>/ifupdown/header.h
defn2c.pl < <ifupdown>/inet.defn > <vipupdown>/ifupdown/inet.c
defn2c.pl < <ifupdown>/inet6.defn > <vipupdown>/ifupdown/inet6.c
defn2c.pl < <ifupdown>/ipx.defn > <vipupdown>/ifupdown/ipx.c
strip.pl --remove-line-control \
  --remove-function=usage \
  --remove-function=version \
  --remove-function=help \
  --remove-function=main \
  --remove-keyword-static=read_state \
  <ifupdown>/main.c <vipupdown>/ipupdown/main.c

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published