Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/inet/
H A Dsadb.h169 uint64_t ipsa_unique_id; /* Non-zero for unique SAs */ member
658 #define SA_IPROTO(ipsa) ((ipsa)->ipsa_unique_id>>40)&0xff
659 #define SA_PROTO(ipsa) ((ipsa)->ipsa_unique_id>>32)&0xff
660 #define SA_SRCPORT(ipsa) ((ipsa)->ipsa_unique_id & 0xffff)
661 #define SA_DSTPORT(ipsa) (((ipsa)->ipsa_unique_id >> 16) & 0xffff)
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_sadb.c350 retval->ipsa_unique_id)) in ipsec_getassocbyconn()
449 if (retval->ipsa_unique_id == 0) { in ipsec_getassocbyconn()
456 retval->ipsa_unique_id = unique_id; in ipsec_getassocbyconn()
H A Dsadb.c182 (((sa1)->ipsa_unique_id & (sa1)->ipsa_unique_mask) == \
183 ((sa2)->ipsa_unique_id & (sa2)->ipsa_unique_mask))
3087 newbie->ipsa_unique_id = SA_UNIQUE_ID(isrc->sin_port,
3095 newbie->ipsa_unique_id = SA_UNIQUE_ID(src->sin_port,
H A Dspd.c1551 ah_assoc->ipsa_unique_id != (pkt_unique & ah_mask)) { in ipsec_check_ipsecin_unique()
1557 esp_assoc->ipsa_unique_id != (pkt_unique & esp_mask)) { in ipsec_check_ipsecin_unique()