Home
last modified time | relevance | path

Searched refs:satype (Results 1 – 4 of 4) sorted by relevance

/freebsd-11-stable/lib/libipsec/
HDpfkey.c94 findsupportedmap(satype) in findsupportedmap() argument
95 int satype; in findsupportedmap()
100 if (supported_map[i] == satype)
106 findsupportedalg(satype, alg_id) in findsupportedalg() argument
107 u_int satype, alg_id; in findsupportedalg()
114 algno = findsupportedmap(satype);
189 int satype; local
194 satype = SADB_SATYPE_AH;
197 satype = SADB_SATYPE_ESP;
204 return ipsec_check_keylen2(satype, alg_id, keylen);
[all …]
/freebsd-11-stable/sbin/setkey/
HDparse.y774 setkeymsg0(msg, type, satype, l) in setkeymsg0() argument
777 unsigned int satype;
784 msg->sadb_msg_satype = satype;
893 setkeymsg_addr(type, satype, srcs, dsts, no_spi) in setkeymsg_addr() argument
895 unsigned int satype;
919 setkeymsg0(msg, type, satype, 0);
1024 setkeymsg_add(type, satype, srcs, dsts) in setkeymsg_add() argument
1026 unsigned int satype;
1049 setkeymsg0(msg, type, satype, 0);
1053 if (satype != SADB_X_SATYPE_IPCOMP && p_key_enc) {
HDsetkey.c216 sendkeyshort(u_int type, uint8_t satype) in sendkeyshort() argument
223 msg.sadb_msg_satype = satype; in sendkeyshort()
457 static const char *satype[] = { variable
516 printf(" %-3s", STR_OR_ID(msg->sadb_msg_satype, satype));
/freebsd-11-stable/sys/netipsec/
HDkey.c2419 key_satype2scopemask(uint8_t satype) in key_satype2scopemask() argument
2422 if (satype == IPSEC_POLICYSCOPE_ANY) in key_satype2scopemask()
2424 return (satype); in key_satype2scopemask()
3422 key_setdumpsa(struct secasvar *sav, uint8_t type, uint8_t satype, in key_setdumpsa() argument
3442 m = key_setsadbmsg(type, 0, satype, seq, pid, sav->refcnt); in key_setdumpsa()
3629 key_setsadbmsg(u_int8_t type, u_int16_t tlen, u_int8_t satype, u_int32_t seq, in key_setsadbmsg() argument
3657 p->sadb_msg_satype = satype; in key_setsadbmsg()
4662 key_satype2proto(uint8_t satype) in key_satype2proto() argument
4664 switch (satype) { in key_satype2proto()
6145 uint8_t satype; in key_get() local
[all …]