Searched refs:spirange (Results 1 – 3 of 3) sorted by relevance
490 struct sadb_spirange spirange; in pfkey_send_getspi_nat() local492 if (p + sizeof(spirange) > ep) { in pfkey_send_getspi_nat()497 memset(&spirange, 0, sizeof(spirange)); in pfkey_send_getspi_nat()498 spirange.sadb_spirange_len = PFKEY_UNIT64(sizeof(spirange)); in pfkey_send_getspi_nat()499 spirange.sadb_spirange_exttype = SADB_EXT_SPIRANGE; in pfkey_send_getspi_nat()500 spirange.sadb_spirange_min = min; in pfkey_send_getspi_nat()501 spirange.sadb_spirange_max = max; in pfkey_send_getspi_nat()503 memcpy(p, &spirange, sizeof(spirange)); in pfkey_send_getspi_nat()505 p += sizeof(spirange); in pfkey_send_getspi_nat()
1406 struct sadb_spirange spirange; in setkeymsg_add() local1409 memset(&spirange, 0, sizeof(spirange)); in setkeymsg_add()1410 spirange.sadb_spirange_len = PFKEY_UNIT64(slen); in setkeymsg_add()1411 spirange.sadb_spirange_exttype = SADB_EXT_SPIRANGE; in setkeymsg_add()1412 spirange.sadb_spirange_min = p_spi; in setkeymsg_add()1413 spirange.sadb_spirange_max = p_spi; in setkeymsg_add()1415 memcpy(buf + l, &spirange, slen); in setkeymsg_add()
5534 key_do_getnewspi(const struct sadb_spirange *spirange, in key_do_getnewspi() argument5542 if (spirange != NULL) { in key_do_getnewspi()5543 spmin = spirange->sadb_spirange_min; in key_do_getnewspi()5544 spmax = spirange->sadb_spirange_max; in key_do_getnewspi()