|
libnl
3.2.28
|
ipgre link module More...
Data Structures | |
| struct | ipgre_info |
Functions | |
| struct rtnl_link * | rtnl_link_ipgre_alloc (void) |
| int | rtnl_link_is_ipgre (struct rtnl_link *link) |
| Check if link is a IPGRE link. More... | |
| int | rtnl_link_ipgre_add (struct nl_sock *sk, const char *name) |
| Create a new IPGRE tunnel device. More... | |
| struct rtnl_link * | rtnl_link_ipgretap_alloc (void) |
| int | rtnl_link_is_ipgretap (struct rtnl_link *link) |
| Check if link is a IPGRETAP link. More... | |
| int | rtnl_link_ipgretap_add (struct nl_sock *sk, const char *name) |
| Create a new IPGRETAP tunnel device. More... | |
| int | rtnl_link_ipgre_set_link (struct rtnl_link *link, uint32_t index) |
| Set IPGRE tunnel interface index. More... | |
| uint32_t | rtnl_link_ipgre_get_link (struct rtnl_link *link) |
| Get IPGRE tunnel interface index. More... | |
| int | rtnl_link_ipgre_set_iflags (struct rtnl_link *link, uint16_t iflags) |
| Set IPGRE tunnel set iflags. More... | |
| uint16_t | rtnl_link_ipgre_get_iflags (struct rtnl_link *link) |
| Get IPGRE tunnel iflags. More... | |
| int | rtnl_link_ipgre_set_oflags (struct rtnl_link *link, uint16_t oflags) |
| Set IPGRE tunnel set oflags. More... | |
| uint16_t | rtnl_link_ipgre_get_oflags (struct rtnl_link *link) |
| Get IPGRE tunnel oflags. More... | |
| int | rtnl_link_ipgre_set_ikey (struct rtnl_link *link, uint32_t ikey) |
| Set IPGRE tunnel set ikey. More... | |
| uint32_t | rtnl_link_ipgre_get_ikey (struct rtnl_link *link) |
| Get IPGRE tunnel ikey. More... | |
| int | rtnl_link_ipgre_set_okey (struct rtnl_link *link, uint32_t okey) |
| Set IPGRE tunnel set okey. More... | |
| uint32_t | rtnl_link_ipgre_get_okey (struct rtnl_link *link) |
| Get IPGRE tunnel okey. More... | |
| int | rtnl_link_ipgre_set_local (struct rtnl_link *link, uint32_t addr) |
| Set IPGRE tunnel local address. More... | |
| uint32_t | rtnl_link_ipgre_get_local (struct rtnl_link *link) |
| Get IPGRE tunnel local address. More... | |
| int | rtnl_link_ipgre_set_remote (struct rtnl_link *link, uint32_t remote) |
| Set IPGRE tunnel remote address. More... | |
| uint32_t | rtnl_link_ipgre_get_remote (struct rtnl_link *link) |
| Get IPGRE tunnel remote address. More... | |
| int | rtnl_link_ipgre_set_ttl (struct rtnl_link *link, uint8_t ttl) |
| Set IPGRE tunnel ttl. More... | |
| uint8_t | rtnl_link_ipgre_get_ttl (struct rtnl_link *link) |
| Set IPGRE tunnel ttl. More... | |
| int | rtnl_link_ipgre_set_tos (struct rtnl_link *link, uint8_t tos) |
| Set IPGRE tunnel tos. More... | |
| uint8_t | rtnl_link_ipgre_get_tos (struct rtnl_link *link) |
| Get IPGRE tunnel tos. More... | |
| int | rtnl_link_ipgre_set_pmtudisc (struct rtnl_link *link, uint8_t pmtudisc) |
| Set IPGRE tunnel path MTU discovery. More... | |
| uint8_t | rtnl_link_get_pmtudisc (struct rtnl_link *link) |
| Get IPGRE path MTU discovery. More... | |
ipgre link module
Link Type Name: "ipgre"
IPGRE Documentation (Netlink Routing Development Guide)
| #define IS_IPGRE_LINK_ASSERT | ( | link | ) |
| int rtnl_link_is_ipgre | ( | struct rtnl_link * | link | ) |
| int rtnl_link_ipgre_add | ( | struct nl_sock * | sk, |
| const char * | name | ||
| ) |
Create a new IPGRE tunnel device.
| sock | netlink socket |
| name | name of the tunnel deviceL |
Creates a new ipip tunnel device in the kernel
Definition at line 409 of file ipgre.c.
References rtnl_link_add(), rtnl_link_alloc(), rtnl_link_put(), rtnl_link_set_name(), and rtnl_link_set_type().
Here is the call graph for this function:| int rtnl_link_is_ipgretap | ( | struct rtnl_link * | link | ) |
| int rtnl_link_ipgretap_add | ( | struct nl_sock * | sk, |
| const char * | name | ||
| ) |
Create a new IPGRETAP tunnel device.
| sock | netlink socket |
| name | name of the tunnel deviceL |
Creates a new IPGRETAP tunnel device in the kernel
Definition at line 463 of file ipgre.c.
References rtnl_link_add(), rtnl_link_put(), and rtnl_link_set_name().
Here is the call graph for this function:| int rtnl_link_ipgre_set_link | ( | struct rtnl_link * | link, |
| uint32_t | index | ||
| ) |
| uint32_t rtnl_link_ipgre_get_link | ( | struct rtnl_link * | link | ) |
| int rtnl_link_ipgre_set_iflags | ( | struct rtnl_link * | link, |
| uint16_t | iflags | ||
| ) |
| uint16_t rtnl_link_ipgre_get_iflags | ( | struct rtnl_link * | link | ) |
| int rtnl_link_ipgre_set_oflags | ( | struct rtnl_link * | link, |
| uint16_t | oflags | ||
| ) |
| uint16_t rtnl_link_ipgre_get_oflags | ( | struct rtnl_link * | link | ) |
| int rtnl_link_ipgre_set_ikey | ( | struct rtnl_link * | link, |
| uint32_t | ikey | ||
| ) |
| uint32_t rtnl_link_ipgre_get_ikey | ( | struct rtnl_link * | link | ) |
| int rtnl_link_ipgre_set_okey | ( | struct rtnl_link * | link, |
| uint32_t | okey | ||
| ) |
| uint32_t rtnl_link_ipgre_get_okey | ( | struct rtnl_link * | link | ) |
| int rtnl_link_ipgre_set_local | ( | struct rtnl_link * | link, |
| uint32_t | addr | ||
| ) |
| uint32_t rtnl_link_ipgre_get_local | ( | struct rtnl_link * | link | ) |
| int rtnl_link_ipgre_set_remote | ( | struct rtnl_link * | link, |
| uint32_t | remote | ||
| ) |
| uint32_t rtnl_link_ipgre_get_remote | ( | struct rtnl_link * | link | ) |
| int rtnl_link_ipgre_set_ttl | ( | struct rtnl_link * | link, |
| uint8_t | ttl | ||
| ) |
| uint8_t rtnl_link_ipgre_get_ttl | ( | struct rtnl_link * | link | ) |
| int rtnl_link_ipgre_set_tos | ( | struct rtnl_link * | link, |
| uint8_t | tos | ||
| ) |
| uint8_t rtnl_link_ipgre_get_tos | ( | struct rtnl_link * | link | ) |
| int rtnl_link_ipgre_set_pmtudisc | ( | struct rtnl_link * | link, |
| uint8_t | pmtudisc | ||
| ) |
| uint8_t rtnl_link_get_pmtudisc | ( | struct rtnl_link * | link | ) |
Get IPGRE path MTU discovery.
| link | Link object |
Definition at line 812 of file ipgre.c.
References rtnl_link_register_info(), and rtnl_link_unregister_info().
Here is the call graph for this function: