Lines Matching refs:idtype
471 u8 up, idtype; in dcbnl_getapp() local
489 idtype = nla_get_u8(app_tb[DCB_APP_ATTR_IDTYPE]); in dcbnl_getapp()
490 if ((idtype != DCB_APP_IDTYPE_ETHTYPE) && in dcbnl_getapp()
491 (idtype != DCB_APP_IDTYPE_PORTNUM)) in dcbnl_getapp()
497 ret = netdev->dcbnl_ops->getapp(netdev, idtype, id); in dcbnl_getapp()
504 .selector = idtype, in dcbnl_getapp()
514 ret = nla_put_u8(skb, DCB_APP_ATTR_IDTYPE, idtype); in dcbnl_getapp()
540 u8 up, idtype; in dcbnl_setapp() local
559 idtype = nla_get_u8(app_tb[DCB_APP_ATTR_IDTYPE]); in dcbnl_setapp()
560 if ((idtype != DCB_APP_IDTYPE_ETHTYPE) && in dcbnl_setapp()
561 (idtype != DCB_APP_IDTYPE_PORTNUM)) in dcbnl_setapp()
568 ret = netdev->dcbnl_ops->setapp(netdev, idtype, id, up); in dcbnl_setapp()
573 app.selector = idtype; in dcbnl_setapp()