Lines Matching defs:tb
1350 static int ipgre_tunnel_validate(struct nlattr *tb[], struct nlattr *data[])
1368 static int ipgre_tap_validate(struct nlattr *tb[], struct nlattr *data[])
1372 if (tb[IFLA_ADDRESS]) {
1373 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN)
1375 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS])))
1389 return ipgre_tunnel_validate(tb, data);
1468 static int ipgre_newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[],
1483 if (dev->type == ARPHRD_ETHER && !tb[IFLA_ADDRESS])
1487 if (!tb[IFLA_MTU])
1501 static int ipgre_changelink(struct net_device *dev, struct nlattr *tb[],
1557 if (!tb[IFLA_MTU])