OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:iptuninfo
(Results
1 - 2
of
2
) sorted by null
/external/iproute2/ip/
link_iptnl.c
64
struct rtattr *
iptuninfo
[IFLA_IPTUN_MAX + 1];
local
116
parse_rtattr_nested(
iptuninfo
, IFLA_IPTUN_MAX,
119
if (
iptuninfo
[IFLA_IPTUN_LOCAL])
120
laddr = rta_getattr_u32(
iptuninfo
[IFLA_IPTUN_LOCAL]);
122
if (
iptuninfo
[IFLA_IPTUN_REMOTE])
123
raddr = rta_getattr_u32(
iptuninfo
[IFLA_IPTUN_REMOTE]);
125
if (
iptuninfo
[IFLA_IPTUN_TTL])
126
ttl = rta_getattr_u8(
iptuninfo
[IFLA_IPTUN_TTL]);
128
if (
iptuninfo
[IFLA_IPTUN_TOS])
129
tos = rta_getattr_u8(
iptuninfo
[IFLA_IPTUN_TOS])
[
all
...]
link_ip6tnl.c
69
struct rtattr *
iptuninfo
[IFLA_IPTUN_MAX + 1];
local
114
parse_rtattr_nested(
iptuninfo
, IFLA_IPTUN_MAX,
117
if (
iptuninfo
[IFLA_IPTUN_LOCAL])
118
memcpy(&laddr, RTA_DATA(
iptuninfo
[IFLA_IPTUN_LOCAL]),
121
if (
iptuninfo
[IFLA_IPTUN_REMOTE])
122
memcpy(&raddr, RTA_DATA(
iptuninfo
[IFLA_IPTUN_REMOTE]),
125
if (
iptuninfo
[IFLA_IPTUN_TTL])
126
hop_limit = rta_getattr_u8(
iptuninfo
[IFLA_IPTUN_TTL]);
128
if (
iptuninfo
[IFLA_IPTUN_ENCAP_LIMIT])
129
encap_limit = rta_getattr_u8(
iptuninfo
[IFLA_IPTUN_ENCAP_LIMIT])
[
all
...]
Completed in 407 milliseconds