Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/ice/
A Dice_dcb.c295 typelen = ntohs(tlv->typelen); in ice_parse_ieee_app_tlv()
529 typelen = ntohs(tlv->typelen); in ice_parse_cee_tlv()
618 typelen = ntohs(tlv->typelen); in ice_lldp_to_dcb_cfg()
1106 tlv->typelen = htons(typelen); in ice_add_ieee_ets_tlv()
1147 tlv->typelen = htons(typelen); in ice_add_ieee_etsrec_tlv()
1176 tlv->typelen = htons(typelen); in ice_add_ieee_pfc_tlv()
1246 tlv->typelen = htons(typelen); in ice_add_ieee_app_pri_tlv()
1264 tlv->typelen = htons(typelen); in ice_add_dscp_up_tlv()
1299 tlv->typelen = htons(typelen); in ice_add_dscp_enf_tlv()
1327 tlv->typelen = htons(typelen); in ice_add_dscp_tc_bw_tlv()
[all …]
A Dice_dcb.h105 __be16 typelen; member
111 __be16 typelen; member
A Dice_main.c866 u16 len, typelen, offset = 0; in ice_set_dflt_mib() local
881 typelen = ((ICE_TLV_TYPE_ORG << ICE_LLDP_TLV_TYPE_S) | in ice_set_dflt_mib()
883 tlv->typelen = htons(typelen); in ice_set_dflt_mib()
896 len = (typelen & ICE_LLDP_TLV_LEN_M) >> ICE_LLDP_TLV_LEN_S; in ice_set_dflt_mib()
899 ((char *)tlv + sizeof(tlv->typelen) + len); in ice_set_dflt_mib()
903 tlv->typelen = htons(typelen); in ice_set_dflt_mib()
917 ((char *)tlv + sizeof(tlv->typelen) + len); in ice_set_dflt_mib()
920 typelen = ((ICE_TLV_TYPE_ORG << ICE_LLDP_TLV_TYPE_S) | in ice_set_dflt_mib()
922 tlv->typelen = htons(typelen); in ice_set_dflt_mib()
930 len = (typelen & ICE_LLDP_TLV_LEN_M) >> ICE_LLDP_TLV_LEN_S; in ice_set_dflt_mib()
/linux/net/dns_resolver/
A 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/drivers/xen/xenbus/
A 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/fs/nfs/
A 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/drivers/net/ethernet/intel/i40e/
A Di40e_dcb.h117 __be16 typelen; member
A 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/drivers/net/wireless/cisco/
A 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()

Completed in 43 milliseconds