Home
last modified time | relevance | path

Searched refs:ndp_len (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Df_ncm.c1187 unsigned ndp_len; in ncm_unwrap_ntb() local
1249 ndp_len = get_unaligned_le16(tmp++); in ncm_unwrap_ntb()
1258 if ((ndp_len < opts->ndp_size in ncm_unwrap_ntb()
1260 (ndp_len % opts->ndplen_align != 0)) { in ncm_unwrap_ntb()
1262 ndp_len); in ncm_unwrap_ntb()
1270 ndp_len -= opts->ndp_size; in ncm_unwrap_ntb()
1335 ndp_len -= 2 * (opts->dgram_item_len * 2); in ncm_unwrap_ntb()
1340 } while (ndp_len > 2 * (opts->dgram_item_len * 2)); in ncm_unwrap_ntb()
/kernel/linux/linux-5.10/net/dccp/
Doptions.c321 const int ndp_len = dccp_ndp_len(ndp); in dccp_insert_option_ndp() local
322 const int len = ndp_len + 2; in dccp_insert_option_ndp()
332 dccp_encode_value_var(ndp, ptr, ndp_len); in dccp_insert_option_ndp()