Searched refs:SADB_8TO64 (Results 1 – 10 of 10) sorted by relevance
240 msg->sadb_msg_len = SADB_8TO64(sizeof (*msg)); in msg_init()878 retval->sadb_key_len = SADB_8TO64(alloclen); in parsekey()1724 SADB_8TO64(sizeof (*assoc)); in doaddup()1769 SADB_8TO64(sizeof (*sadb_pair)); in doaddup()1969 src->sadb_address_len = SADB_8TO64(alloclen); in doaddup()2006 dst->sadb_address_len = SADB_8TO64(alloclen); in doaddup()2072 isrc->sadb_address_len = SADB_8TO64(alloclen); in doaddup()2161 idst->sadb_address_len = SADB_8TO64(alloclen); in doaddup()2224 natt_local->sadb_address_len = SADB_8TO64(alloclen); in doaddup()2281 natt_remote->sadb_address_len = SADB_8TO64(alloclen); in doaddup()[all …]
1861 static uint64_t buf[SADB_8TO64(CBUF_LEN)]; in ipsec_read_dump()1876 len = SADB_8TO64(len); in ipsec_read_dump()
780 idp->sadb_ident_len = SADB_8TO64(alloclen); in parse_ident()
1760 if (assoc->sadb_sa_len != SADB_8TO64(sizeof (*assoc))) { in print_sa()1887 current->sadb_lifetime_len != SADB_8TO64(sizeof (*current))) { in print_lifetimes()1894 hard->sadb_lifetime_len != SADB_8TO64(sizeof (*hard))) { in print_lifetimes()1901 soft->sadb_lifetime_len != SADB_8TO64(sizeof (*soft))) { in print_lifetimes()1908 idle->sadb_lifetime_len != SADB_8TO64(sizeof (*idle))) { in print_lifetimes()2277 sens->sadb_sens_len = SADB_8TO64(sens_len); in ipsec_convert_sl_to_sens()2363 numcombs = prop->sadb_prop_len - SADB_8TO64(sizeof (*prop)); in print_prop()2364 numcombs /= SADB_8TO64(sizeof (*combs)); in print_prop()2548 numalgs = supp->sadb_supported_len - SADB_8TO64(sizeof (*supp)); in print_supp()2549 numalgs /= SADB_8TO64(sizeof (*algs)); in print_supp()[all …]
1032 addrext->sadb_address_len = SADB_8TO64(addrext_len); in sadb_make_addr_ext()1058 kmcext->sadb_x_kmc_len = SADB_8TO64(sizeof (*kmcext)); in sadb_make_kmc_ext()1255 newsamsg->sadb_msg_len = (uint16_t)SADB_8TO64(alloclen); in sadb_sa2msg()1262 assoc->sadb_sa_len = SADB_8TO64(sizeof (*assoc)); in sadb_sa2msg()1272 lt->sadb_lifetime_len = SADB_8TO64(sizeof (*lt)); in sadb_sa2msg()1282 lt->sadb_lifetime_len = SADB_8TO64(sizeof (*lt)); in sadb_sa2msg()1292 lt->sadb_lifetime_len = SADB_8TO64(sizeof (*lt)); in sadb_sa2msg()1302 lt->sadb_lifetime_len = SADB_8TO64(sizeof (*lt)); in sadb_sa2msg()1387 key->sadb_key_len = SADB_8TO64(authsize); in sadb_sa2msg()1399 key->sadb_key_len = SADB_8TO64(encrsize); in sadb_sa2msg()[all …]
1015 samsg->sadb_msg_len = SADB_8TO64(sizeof (sadb_msg_t)); in keysock_error()1121 if (ext->sadb_ext_len <= SADB_8TO64(sizeof (sadb_address_t))) in ext_check()1127 if (ext->sadb_ext_len != SADB_8TO64(sizeof (sadb_lifetime_t))) in ext_check()1158 i < (ext->sadb_ext_len - SADB_8TO64(sizeof (sadb_key_t))); in ext_check()2318 samsg->sadb_msg_len == SADB_8TO64(sizeof (*samsg)))) { in keysock_rput()
1201 prop->sadb_prop_len = SADB_8TO64(sizeof (sadb_prop_t)); in esp_insert_prop()1293 prop->sadb_prop_len += SADB_8TO64(sizeof (*comb)); in esp_insert_prop()3186 samsg->sadb_msg_len = SADB_8TO64(allocsize); in esp_register_out()3196 sasupp_auth->sadb_supported_len = SADB_8TO64( in esp_register_out()3203 sasupp_encr->sadb_supported_len = SADB_8TO64( in esp_register_out()4076 samsg->sadb_msg_len = SADB_8TO64(sizeof (*samsg));
662 samsg->sadb_msg_len = SADB_8TO64(allocsize); in ah_register_out()673 sasupp->sadb_supported_len = SADB_8TO64( in ah_register_out()1451 samsg->sadb_msg_len = SADB_8TO64(sizeof (*samsg)); in ah_keysock_no_socket()1755 prop->sadb_prop_len = SADB_8TO64(sizeof (sadb_prop_t)); in ah_insert_prop()1829 prop->sadb_prop_len += SADB_8TO64(sizeof (*comb)); in ah_insert_prop()
525 len = SADB_8TO64(len); in read_pfkey_msg()
848 #define SADB_8TO64(x) ((x) >> 3) macro