Home
last modified time | relevance | path

Searched refs:natt_type (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/crypto/dist/ipsec-tools/src/libipsec/
H A Dpfkey_dump.c256 struct sadb_x_nat_t_type *natt_type; in pfkey_sadump1() local
298 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()
H A Dpfkey.c370 struct sockaddr *dst, u_int8_t natt_type, u_int16_t sport, in pfkey_send_getspi_nat() argument
420 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()
/netbsd-src/sys/netipsec/
H A Dipsec_output.c162 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()
H A Dkeydb.h143 u_int16_t natt_type; member
H A Dipsecif.c203 if (!(sav->natt_type & UDP_ENCAP_ESPINUDP)) { in ipsecif4_needfrag()
H A Dkey.c4001 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()
/netbsd-src/crypto/dist/ipsec-tools/src/setkey/
H A Dparse.y1443 struct sadb_x_nat_t_type natt_type; in setkeymsg_add() local
1446 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()
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Dpfkey.c901 u_int8_t natt_type = 0; local
957 natt_type = iph2->ph1->natt_options->encaps_type;
970 natt_type,