Lines Matching refs:htobe16
1457 n->n_type = htobe16(IKEV2_N_COOKIE); in ikev2_init_ike_sa_peer()
1489 ke->kex_dhgroup = htobe16(group->id); in ikev2_init_ike_sa_peer()
2027 ts->ts_length = htobe16(sizeof(*ts) + 8); in ikev2_add_ts_payload()
2046 ts->ts_length = htobe16(sizeof(*ts) + 32); in ikev2_add_ts_payload()
2182 cpi = htobe16((uint16_t)spi); in ikev2_add_ipcompnotify()
2194 n->n_type = htobe16(IKEV2_N_IPCOMP_SUPPORTED); in ikev2_add_ipcompnotify()
2219 n->n_type = htobe16(notify); in ikev2_add_notify()
2281 n->n_type = htobe16(IKEV2_N_SIGNATURE_HASH_ALGORITHMS); in ikev2_add_sighashnotify()
2285 hash = htobe16(signature_hashes[i]); in ikev2_add_sighashnotify()
2314 pld->pld_length = htobe16(pldlength); in ikev2_next_payload()
2447 n->n_type = htobe16(IKEV2_N_NAT_DETECTION_SOURCE_IP); in ikev2_add_nat_detection()
2463 n->n_type = htobe16(IKEV2_N_NAT_DETECTION_DESTINATION_IP); in ikev2_add_nat_detection()
2532 cfg->cfg_type = htobe16(ikecfg->cfg_type); in ikev2_add_cp()
2553 cfg->cfg_length = htobe16(4); in ikev2_add_cp()
2571 cfg->cfg_length = htobe16(8); in ikev2_add_cp()
2584 cfg->cfg_length = htobe16(16); in ikev2_add_cp()
2602 cfg->cfg_length = htobe16(17); in ikev2_add_cp()
2626 cfg->cfg_type = htobe16(IKEV2_CFG_INTERNAL_IP4_NETMASK); in ikev2_add_cp()
2629 cfg->cfg_length = htobe16(4); in ikev2_add_cp()
2788 sap->sap_length = htobe16(saplength); in ikev2_add_proposals()
2812 xfrm->xfrm_id = htobe16(id); in ikev2_add_transform()
2815 xfrm->xfrm_length = htobe16(sizeof(*xfrm) + sizeof(*attr)); in ikev2_add_transform()
2821 attr->attr_type = htobe16(IKEV2_ATTRAF_TV | in ikev2_add_transform()
2823 attr->attr_length = htobe16(length); in ikev2_add_transform()
2825 xfrm->xfrm_length = htobe16(sizeof(*xfrm)); in ikev2_add_transform()
2905 n->n_type = htobe16(IKEV2_N_COOKIE2); in ikev2_resp_informational()
3182 localdel->del_nspi = htobe16(found); in ikev2_handle_delete()
3432 ke->kex_dhgroup = htobe16(group->id); in ikev2_resp_ike_sa_init()
3531 n->n_type = htobe16(IKEV2_N_AUTHENTICATION_FAILED); in ikev2_send_auth_failed()
3585 n->n_type = htobe16(msg->msg_error); in ikev2_add_error()
3611 group = htobe16(msg->msg_dhgroup); in ikev2_add_error()
4249 ke->kex_dhgroup = htobe16(group->id); in ikev2_send_create_child_sa()
4267 n->n_type = htobe16(IKEV2_N_REKEY_SA); in ikev2_send_create_child_sa()
4382 ke->kex_dhgroup = htobe16(group->id); in ikev2_ike_sa_rekey()
4631 del->del_nspi = htobe16(1); in ikev2_init_create_child_sa()
5121 ke->kex_dhgroup = htobe16(kex->kex_dhgroup->id); in ikev2_resp_create_child_sa()
5331 n->n_type = htobe16(msg->msg_error); in ikev2_send_informational()
6133 del->del_nspi = htobe16(count); in ikev2_childsa_delete_proposed()
6936 del->del_nspi = htobe16(1); in ikev2_child_sa_drop()