Searched defs:iptuninfo (Results 1 - 2 of 2) sorted by relevance

/external/iproute2/ip/
H A Dlink_ip6tnl.c69 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_LIMI
[all...]
H A Dlink_iptnl.c64 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_TO
[all...]

Completed in 4543 milliseconds