Lines Matching defs:params
1308 struct ndis_offload_params params;
1309 size_t len = sizeof(params);
1311 memset(¶ms, 0, sizeof(params));
1313 params.ndis_hdr.ndis_type = NDIS_OBJTYPE_DEFAULT;
1315 params.ndis_hdr.ndis_rev = NDIS_OFFLOAD_PARAMS_REV_2;
1316 len = params.ndis_hdr.ndis_size = NDIS_OFFLOAD_PARAMS_SIZE_6_1;
1318 params.ndis_hdr.ndis_rev = NDIS_OFFLOAD_PARAMS_REV_3;
1319 len = params.ndis_hdr.ndis_size = NDIS_OFFLOAD_PARAMS_SIZE;
1322 params.ndis_ip4csum = NDIS_OFFLOAD_PARAM_TXRX;
1323 params.ndis_tcp4csum = NDIS_OFFLOAD_PARAM_TXRX;
1324 params.ndis_tcp6csum = NDIS_OFFLOAD_PARAM_TXRX;
1326 params.ndis_udp4csum = NDIS_OFFLOAD_PARAM_TXRX;
1327 params.ndis_udp6csum = NDIS_OFFLOAD_PARAM_TXRX;
1330 return (hvn_rndis_set(sc, OID_TCP_OFFLOAD_PARAMETERS, ¶ms, len));