Searched refs:PFKEY_UNIT64 (Results 1 – 6 of 6) sorted by relevance
471 spirange.sadb_spirange_len = PFKEY_UNIT64(sizeof(spirange)); in pfkey_send_getspi()1689 xpl.sadb_x_policy_len = PFKEY_UNIT64(sizeof(xpl)); in pfkey_send_x5()2095 p->sadb_msg_len = PFKEY_UNIT64(tlen); in pfkey_setsadbmsg()2121 p->sadb_sa_len = PFKEY_UNIT64(len); in pfkey_setsadbsa()2152 p->sadb_address_len = PFKEY_UNIT64(len); in pfkey_setsadbaddr()2181 p->sadb_key_len = PFKEY_UNIT64(len); in pfkey_setsadbkey()2209 p->sadb_lifetime_len = PFKEY_UNIT64(len); in pfkey_setsadblifetime()2252 p->sadb_x_sa2_len = PFKEY_UNIT64(len); in pfkey_setsadbxsa2()2274 p->sadb_x_nat_t_type_len = PFKEY_UNIT64(len); in pfkey_set_natt_type()2294 p->sadb_x_nat_t_port_len = PFKEY_UNIT64(len); in pfkey_set_natt_port()[all …]
611 ((struct sadb_x_policy *)pbuf)->sadb_x_policy_len = PFKEY_UNIT64(tlen);
69 #define PFKEY_UNIT64(a) ((a) >> 3) macro
279 policy.p.sadb_x_policy_len = PFKEY_UNIT64(length); in spdadd()
2064 xpl->sadb_x_policy_len = PFKEY_UNIT64(policylen);2080 p->sadb_x_sec_len = PFKEY_UNIT64(ctxlen);2746 newmsg->sadb_msg_len = PFKEY_UNIT64(len);
304 .sadb_x_policy_len = PFKEY_UNIT64(sizeof(struct sadb_x_policy)), in setsockopt_bypass()