Searched refs:tb (Results 101 - 125 of 472) sorted by path

1234567891011>>

/linux-master/drivers/net/
H A Dbareudp.c573 static int bareudp_validate(struct nlattr *tb[], struct nlattr *data[], argument
659 struct nlattr *tb[])
663 if (tb[IFLA_MTU]) {
664 err = dev_set_mtu(dev, nla_get_u32(tb[IFLA_MTU]));
680 struct nlattr *tb[], struct nlattr *data[],
694 err = bareudp_link_config(dev, tb);
658 bareudp_link_config(struct net_device *dev, struct nlattr *tb[]) argument
679 bareudp_newlink(struct net *net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
H A Ddummy.c124 static int dummy_validate(struct nlattr *tb[], struct nlattr *data[], argument
127 if (tb[IFLA_ADDRESS]) {
128 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN)
130 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS])))
H A Dgeneve.c1237 static int geneve_validate(struct nlattr *tb[], struct nlattr *data[], argument
1240 if (tb[IFLA_ADDRESS]) {
1241 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) {
1242 NL_SET_ERR_MSG_ATTR(extack, tb[IFLA_ADDRESS],
1247 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) {
1248 NL_SET_ERR_MSG_ATTR(extack, tb[IFLA_ADDRESS],
1395 static int geneve_nl2info(struct nlattr *tb[], struct nlattr *data[], argument
1570 struct ip_tunnel_info *info, struct nlattr *tb[])
1575 if (tb[IFLA_MTU]) {
1576 geneve_change_mtu(dev, nla_get_u32(tb[IFLA_MT
1569 geneve_link_config(struct net_device *dev, struct ip_tunnel_info *info, struct nlattr *tb[]) argument
1615 geneve_newlink(struct net *net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
1686 geneve_changelink(struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
1830 struct nlattr *tb[IFLA_MAX + 1]; local
[all...]
H A Dgtp.c1461 struct nlattr *tb[], struct nlattr *data[],
1568 static int gtp_validate(struct nlattr *tb[], struct nlattr *data[], argument
1460 gtp_newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
H A Difb.c375 static int ifb_validate(struct nlattr *tb[], struct nlattr *data[], argument
378 if (tb[IFLA_ADDRESS]) {
379 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN)
381 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS])))
H A Dmacsec.c3918 static int macsec_changelink(struct net_device *dev, struct nlattr *tb[], argument
4136 struct nlattr *tb[], struct nlattr *data[],
4146 if (!tb[IFLA_LINK])
4148 real_dev = __dev_get_by_index(net, nla_get_u32(tb[IFLA_LINK]));
4264 static int macsec_validate_attr(struct nlattr *tb[], struct nlattr *data[], argument
4135 macsec_newlink(struct net *net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
H A Dmacvlan.c1023 static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], argument
1049 static int macvlan_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], argument
1305 static int macvlan_validate(struct nlattr *tb[], struct nlattr *data[], argument
1311 if (tb[IFLA_ADDRESS]) {
1312 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN)
1314 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS])))
1442 struct nlattr *tb[], struct nlattr *data[],
1452 if (!tb[IFLA_LINK])
1455 lowerdev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK]));
1465 if (!tb[IFLA_MT
1441 macvlan_common_newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
1566 macvlan_newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
1586 macvlan_changelink(struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
[all...]
H A Dmacvtap.c81 struct nlattr *tb[], struct nlattr *data[],
108 err = macvlan_common_newlink(src_net, dev, tb, data, extack);
80 macvtap_newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
/linux-master/drivers/net/bonding/
H A Dbond_netlink.c134 static int bond_validate(struct nlattr *tb[], struct nlattr *data[], argument
137 if (tb[IFLA_ADDRESS]) {
138 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN)
140 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS])))
148 struct nlattr *tb[], struct nlattr *data[],
185 static int bond_changelink(struct net_device *bond_dev, struct nlattr *tb[], argument
568 struct nlattr *tb[], struct nlattr *data[],
573 err = bond_changelink(bond_dev, tb, data, extack);
146 bond_slave_changelink(struct net_device *bond_dev, struct net_device *slave_dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
567 bond_newlink(struct net *src_net, struct net_device *bond_dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
/linux-master/drivers/net/can/dev/
H A Dnetlink.c52 static int can_validate(struct nlattr *tb[], struct nlattr *data[], argument
187 static int can_changelink(struct net_device *dev, struct nlattr *tb[], argument
628 struct nlattr *tb[], struct nlattr *data[],
627 can_newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
/linux-master/drivers/net/can/
H A Dvxcan.c176 struct nlattr *tb[], struct nlattr *data[],
183 struct nlattr *peer_tb[IFLA_MAX + 1], **tbp = tb;
239 if (tb[IFLA_IFNAME])
240 nla_strscpy(dev->name, tb[IFLA_IFNAME], IFNAMSIZ);
175 vxcan_newlink(struct net *net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_debugfs.c55 static void *seq_tab_get_idx(struct seq_tab *tb, loff_t pos) argument
57 pos -= tb->skip_first;
58 return pos >= tb->rows ? NULL : &tb->data[pos * tb->width];
63 struct seq_tab *tb = seq->private; local
65 if (tb->skip_first && *pos == 0)
68 return seq_tab_get_idx(tb, *pos);
84 const struct seq_tab *tb = seq->private; local
86 return tb
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c1362 T4_TRACE5(adapter->tb[txq->q.cntxt_id & 7],
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c13065 * @tb: pointer to array of nladdr (unused)
13072 static int i40e_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], argument
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_main.c6072 * @tb: pointer to array of nladdr (unused)
6080 ice_fdb_add(struct ndmsg *ndm, struct nlattr __always_unused *tb[], argument
6112 * @tb: pointer to array of nladdr (unused)
6119 ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[], argument
/linux-master/drivers/net/ethernet/intel/igb/
H A Digb_main.c2486 static int igb_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], argument
2501 return ndo_dflt_fdb_add(ndm, tb, dev, addr, vid, flags);
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c9957 static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], argument
9972 return ndo_dflt_fdb_add(ndm, tb, dev, addr, vid, flags);
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_net.c730 static int ocelot_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], argument
744 static int ocelot_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], argument
/linux-master/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_main.c368 static int qlcnic_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], argument
377 return ndo_dflt_fdb_del(ndm, tb, netdev, addr, vid);
394 static int qlcnic_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], argument
403 return ndo_dflt_fdb_add(ndm, tb, netdev, addr, vid, flags);
/linux-master/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_config.c121 struct nlattr *tb[], struct nlattr *data[],
132 if (!tb[IFLA_LINK]) {
137 real_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK]));
277 static int rmnet_rtnl_validate(struct nlattr *tb[], struct nlattr *data[], argument
296 static int rmnet_changelink(struct net_device *dev, struct nlattr *tb[], argument
120 rmnet_newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
/linux-master/drivers/net/ethernet/sun/
H A Dniu.c3561 struct tx_buff_info *tb = &rp->tx_buffs[idx]; local
3562 struct sk_buff *skb = tb->skb;
3575 np->ops->unmap_single(np->device, tb->mapping,
3581 tb->skb = NULL;
3588 tb = &rp->tx_buffs[idx];
3589 BUG_ON(tb->skb != NULL);
3590 np->ops->unmap_page(np->device, tb->mapping,
/linux-master/drivers/net/fddi/skfp/
H A Dfplustm.c1057 struct s_fpmc *tb ; local
1072 for (i = 0, tb = smc->hw.fp.mc.table ; i < FPMAX_MULTICAST ; i++, tb++){
1073 if (!tb->n) { /* not used */
1075 slot = tb ;
1078 if (!ether_addr_equal((char *)&tb->a, (char *)own))
1080 return tb;
1098 struct s_fpmc *tb ; local
1103 for (i = 0, tb = smc->hw.fp.mc.table ; i < FPMAX_MULTICAST ; i++, tb
1141 struct s_fpmc *tb ; local
1194 struct s_fpmc *tb ; local
[all...]
/linux-master/drivers/net/ipvlan/
H A Dipvlan.h170 struct nlattr *tb[], struct nlattr *data[],
H A Dipvlan_main.c442 struct nlattr *tb[], struct nlattr *data[],
485 static int ipvlan_nl_validate(struct nlattr *tb[], struct nlattr *data[], argument
535 struct nlattr *tb[], struct nlattr *data[],
544 if (!tb[IFLA_LINK])
547 phy_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK]));
575 if (!tb[IFLA_MTU])
441 ipvlan_nl_changelink(struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
534 ipvlan_link_new(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
H A Dipvtap.c77 struct nlattr *tb[], struct nlattr *data[],
100 err = ipvlan_link_new(src_net, dev, tb, data, extack);
76 ipvtap_newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument

Completed in 696 milliseconds

1234567891011>>