Searched refs:ndp_len (Results 1 – 2 of 2) sorted by relevance
321 const int ndp_len = dccp_ndp_len(ndp); in dccp_insert_option_ndp() local322 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()
1173 unsigned ndp_len; in ncm_unwrap_ntb() local1243 ndp_len = get_unaligned_le16(tmp++); in ncm_unwrap_ntb()1252 if ((ndp_len < opts->ndp_size in ncm_unwrap_ntb()1254 (ndp_len % opts->ndplen_align != 0)) { in ncm_unwrap_ntb()1256 ndp_len); in ncm_unwrap_ntb()1264 ndp_len -= opts->ndp_size; in ncm_unwrap_ntb()1329 ndp_len -= 2 * (opts->dgram_item_len * 2); in ncm_unwrap_ntb()1334 } while (ndp_len > 2 * (opts->dgram_item_len * 2)); in ncm_unwrap_ntb()