Home
last modified time | relevance | path

Searched refs:typelen (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_dcb.c291 u16 typelen; in ice_parse_ieee_app_tlv() local
296 typelen = ntohs(tlv->typelen); in ice_parse_ieee_app_tlv()
297 len = ((typelen & ICE_LLDP_TLV_LEN_M) >> ICE_LLDP_TLV_LEN_S); in ice_parse_ieee_app_tlv()
464 u16 len, typelen, offset = 0; in ice_parse_cee_app_tlv() local
468 typelen = ntohs(tlv->hdr.typelen); in ice_parse_cee_app_tlv()
469 len = ((typelen & ICE_LLDP_TLV_LEN_M) >> ICE_LLDP_TLV_LEN_S); in ice_parse_cee_app_tlv()
520 u16 len, tlvlen, typelen; in ice_parse_cee_tlv() local
530 typelen = ntohs(tlv->typelen); in ice_parse_cee_tlv()
531 tlvlen = ((typelen & ICE_LLDP_TLV_LEN_M) >> ICE_LLDP_TLV_LEN_S); in ice_parse_cee_tlv()
532 len = sizeof(tlv->typelen) + sizeof(ouisubtype) + in ice_parse_cee_tlv()
[all …]
Dice_dcb.h106 __be16 typelen; member
112 __be16 typelen; member
Dice_main.c952 u16 len, typelen, offset = 0; in ice_set_dflt_mib() local
967 typelen = ((ICE_TLV_TYPE_ORG << ICE_LLDP_TLV_TYPE_S) | in ice_set_dflt_mib()
969 tlv->typelen = htons(typelen); in ice_set_dflt_mib()
982 len = (typelen & ICE_LLDP_TLV_LEN_M) >> ICE_LLDP_TLV_LEN_S; in ice_set_dflt_mib()
985 ((char *)tlv + sizeof(tlv->typelen) + len); in ice_set_dflt_mib()
989 tlv->typelen = htons(typelen); in ice_set_dflt_mib()
1003 ((char *)tlv + sizeof(tlv->typelen) + len); in ice_set_dflt_mib()
1006 typelen = ((ICE_TLV_TYPE_ORG << ICE_LLDP_TLV_TYPE_S) | in ice_set_dflt_mib()
1008 tlv->typelen = htons(typelen); in ice_set_dflt_mib()
1016 len = (typelen & ICE_LLDP_TLV_LEN_M) >> ICE_LLDP_TLV_LEN_S; in ice_set_dflt_mib()
/Linux-v6.6/net/dns_resolver/
Ddns_query.c82 size_t typelen, desclen; in dns_query() local
93 typelen = 0; in dns_query()
96 typelen = strlen(type); in dns_query()
97 if (typelen < 1) in dns_query()
99 desclen += typelen + 1; in dns_query()
112 memcpy(cp, type, typelen); in dns_query()
113 cp += typelen; in dns_query()
/Linux-v6.6/drivers/xen/xenbus/
Dxenbus_probe_backend.c63 unsigned int typelen; in backend_bus_id() local
69 typelen = strcspn(type, "/"); in backend_bus_id()
70 if (!typelen || type[typelen] != '/') in backend_bus_id()
90 typelen, type, domid, devid) >= XEN_BUS_ID_SIZE) in backend_bus_id()
/Linux-v6.6/fs/nfs/
Dnfs4idmap.c259 const char *type, size_t typelen, char **desc) in nfs_idmap_get_desc() argument
262 size_t desclen = typelen + namelen + 2; in nfs_idmap_get_desc()
269 memcpy(cp, type, typelen); in nfs_idmap_get_desc()
270 cp += typelen; in nfs_idmap_get_desc()
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_dcb.h117 __be16 typelen; member
Di40e_dcb.c362 typelength = ntohs(tlv->hdr.typelen); in i40e_parse_cee_app_tlv()
437 typelength = ntohs(sub_tlv->hdr.typelen); in i40e_parse_cee_tlv()
459 sizeof(sub_tlv->hdr.typelen) + in i40e_parse_cee_tlv()
/Linux-v6.6/drivers/net/wireless/cisco/
Dairo.c834 __be16 typelen; member
1417 mic->typelen = htons(payLen + 16); //Length of Mic'd packet in encapsulate()
1427 emmh32_update(&context->seed, (u8*)&mic->typelen, 10); // Type/Length and Snap in encapsulate()
1433 mic->typelen = 0; //Let NIC know it could be an oversized packet in encapsulate()
1477 if (ntohs(mic->typelen) == 0x888E) in decapsulate()
1510 if (!mic->typelen) in decapsulate()
1511 mic->typelen = htons(payLen + sizeof(MICBuffer) - 2); in decapsulate()
1515 emmh32_update(&context->seed, (u8 *)&mic->typelen, sizeof(mic->typelen)+sizeof(mic->u.snap)); in decapsulate()
3376 if (ntohs(micbuf.typelen) > 0x05DC) in airo_handle_rx()
3681 if (ntohs(micbuf.typelen) <= 0x05DC) { in mpi_receive_802_3()