Searched refs:natt_type (Results 1 – 8 of 8) sorted by relevance
256 struct sadb_x_nat_t_type *natt_type; in pfkey_sadump1() local298 natt_type = (void *)mhp[SADB_X_EXT_NAT_T_TYPE]; in pfkey_sadump1()306 if (natt_type && natt_type->sadb_x_nat_t_type_type) in pfkey_sadump1()
370 struct sockaddr *dst, u_int8_t natt_type, u_int16_t sport, in pfkey_send_getspi_nat() argument420 if(natt_type||sport||dport){ in pfkey_send_getspi_nat()464 if (natt_type) { in pfkey_send_getspi_nat()466 natt_type); in pfkey_send_getspi_nat()
162 if (sav->natt_type != 0) { in ipsec_process_done()213 if (sav->natt_type != 0) in ipsec_process_done()231 if (sav->natt_type != 0) { in ipsec_process_done()524 if (!(sav->natt_type & UDP_ENCAP_ESPINUDP)) { in ipsec4_process_packet()
143 u_int16_t natt_type; member
203 if (!(sav->natt_type & UDP_ENCAP_ESPINUDP)) { in ipsecif4_needfrag()
4001 m = key_setsadbxtype(sav->natt_type); in key_setdumpsa() 4005 if (sav->natt_type == 0) in key_setdumpsa() 4013 if (sav->natt_type == 0) in key_setdumpsa() 4022 if (sav->natt_type == 0 || sav->esp_frag == IP_MAXPACKET) in key_setdumpsa() 5655 sav->natt_type = type->sadb_x_nat_t_type_type; in key_handle_natt_info()
1443 struct sadb_x_nat_t_type natt_type; in setkeymsg_add() local1446 memset(&natt_type, 0, len); in setkeymsg_add()1447 natt_type.sadb_x_nat_t_type_len = PFKEY_UNIT64(len); in setkeymsg_add()1448 natt_type.sadb_x_nat_t_type_exttype = SADB_X_EXT_NAT_T_TYPE; in setkeymsg_add()1449 natt_type.sadb_x_nat_t_type_type = p_natt_type; in setkeymsg_add()1451 memcpy(buf + l, &natt_type, len); in setkeymsg_add()
901 u_int8_t natt_type = 0; local957 natt_type = iph2->ph1->natt_options->encaps_type;970 natt_type,