Lines Matching refs:idtype
437 u8 up, idtype; in dcbnl_getapp() local
455 idtype = nla_get_u8(app_tb[DCB_APP_ATTR_IDTYPE]); in dcbnl_getapp()
456 if ((idtype != DCB_APP_IDTYPE_ETHTYPE) && in dcbnl_getapp()
457 (idtype != DCB_APP_IDTYPE_PORTNUM)) in dcbnl_getapp()
463 ret = netdev->dcbnl_ops->getapp(netdev, idtype, id); in dcbnl_getapp()
470 .selector = idtype, in dcbnl_getapp()
480 ret = nla_put_u8(skb, DCB_APP_ATTR_IDTYPE, idtype); in dcbnl_getapp()
506 u8 up, idtype; in dcbnl_setapp() local
525 idtype = nla_get_u8(app_tb[DCB_APP_ATTR_IDTYPE]); in dcbnl_setapp()
526 if ((idtype != DCB_APP_IDTYPE_ETHTYPE) && in dcbnl_setapp()
527 (idtype != DCB_APP_IDTYPE_PORTNUM)) in dcbnl_setapp()
534 ret = netdev->dcbnl_ops->setapp(netdev, idtype, id, up); in dcbnl_setapp()
539 app.selector = idtype; in dcbnl_setapp()