Home | History | Annotate | Download | only in link

Lines Matching refs:tb

89 	struct nlattr *tb[IFLA_IPTUN_MAX + 1];
95 err = nla_parse_nested(tb, IFLA_GRE_MAX, data, ipgre_policy);
105 if (tb[IFLA_GRE_LINK]) {
106 ipgre->link = nla_get_u32(tb[IFLA_GRE_LINK]);
110 if (tb[IFLA_GRE_IFLAGS]) {
111 ipgre->iflags = nla_get_u16(tb[IFLA_GRE_IFLAGS]);
115 if (tb[IFLA_GRE_OFLAGS]) {
116 ipgre->oflags = nla_get_u16(tb[IFLA_GRE_OFLAGS]);
120 if (tb[IFLA_GRE_IKEY]) {
121 ipgre->ikey = nla_get_u32(tb[IFLA_GRE_IKEY]);
125 if (tb[IFLA_GRE_OKEY]) {
126 ipgre->okey = nla_get_u32(tb[IFLA_GRE_OKEY]);
130 if (tb[IFLA_GRE_LOCAL]) {
131 ipgre->local = nla_get_u32(tb[IFLA_GRE_LOCAL]);
135 if (tb[IFLA_GRE_LOCAL]) {
136 ipgre->remote = nla_get_u32(tb[IFLA_GRE_LOCAL]);
140 if (tb[IFLA_GRE_TTL]) {
141 ipgre->ttl = nla_get_u8(tb[IFLA_GRE_TTL]);
145 if (tb[IFLA_GRE_TOS]) {
146 ipgre->tos = nla_get_u8(tb[IFLA_GRE_TOS]);
150 if (tb[IFLA_GRE_PMTUDISC]) {
151 ipgre->pmtudisc = nla_get_u8(tb[IFLA_GRE_PMTUDISC]);