Lines Matching refs:api_version
27 uint16_t api_version;
31 static int pnic_api_check ( uint16_t api_version );
107 if ( priv->api_version ) pnic_api_check(priv->api_version);
112 static int pnic_api_check ( uint16_t api_version ) {
113 if ( api_version != PNIC_API_VERSION ) {
116 api_version >> 8, api_version & 0xff,
119 if ( api_version < PNIC_API_VERSION ) {
122 return ( api_version == PNIC_API_VERSION );
233 &priv.api_version,
234 sizeof(priv.api_version), NULL );
240 pnic_api_check(priv.api_version);
244 nic->node_addr, priv.api_version>>8, priv.api_version&0xff,