Searched refs:ndp_len (Results 1 – 2 of 2) sorted by relevance
1179 unsigned ndp_len; in ncm_unwrap_ntb() local1230 ndp_len = get_unaligned_le16(tmp++); in ncm_unwrap_ntb()1238 if ((ndp_len < opts->ndp_size in ncm_unwrap_ntb()1240 || (ndp_len % opts->ndplen_align != 0)) { in ncm_unwrap_ntb()1242 ndp_len); in ncm_unwrap_ntb()1250 ndp_len -= opts->ndp_size; in ncm_unwrap_ntb()1295 ndp_len -= 2 * (opts->dgram_item_len * 2); in ncm_unwrap_ntb()1301 } while (ndp_len > 2 * (opts->dgram_item_len * 2)); in ncm_unwrap_ntb()
320 const int ndp_len = dccp_ndp_len(ndp); in dccp_insert_option_ndp() local321 const int len = ndp_len + 2; in dccp_insert_option_ndp()331 dccp_encode_value_var(ndp, ptr, ndp_len); in dccp_insert_option_ndp()