Searched defs:selkey (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dspdsock.c1580 const ipsec_selkey_t *selkey = &sel->ipsl_key; local
1582 if (selkey->ipsl_valid & IPSL_PROTOCOL)
1583 offset = spdsock_encode_proto(base, offset, selkey->ipsl_proto);
1584 if (selkey->ipsl_valid & IPSL_LOCAL_PORT)
1586 selkey->ipsl_lport);
1587 if (selkey->ipsl_valid & IPSL_REMOTE_PORT)
1589 selkey->ipsl_rport);
1590 if (selkey->ipsl_valid & IPSL_REMOTE_ADDR)
1592 selkey, &selkey
[all...]
H A Dspd.c3125 selkey_hash(const ipsec_selkey_t *selkey, netstack_t *ns) argument
3127 uint32_t valid = selkey->ipsl_valid;
3134 if (selkey->ipsl_remote_pfxlen == 32) {
3135 return (IPSEC_IPV4_HASH(selkey->ipsl_remote.ipsad_v4,
3140 if (selkey->ipsl_remote_pfxlen == 128) {
3141 return (IPSEC_IPV6_HASH(selkey->ipsl_remote.ipsad_v6,
3366 ipsec_find_sel(ipsec_selkey_t *selkey, netstack_t *ns) argument
3373 * Exactly one AF bit should be set in selkey.
3375 ASSERT(!(selkey->ipsl_valid & IPSL_IPV4) ^
3376 !(selkey
3646 ipsec_selkey_t *selkey = &ipp->ipsp_sel->ipsl_key; local
3818 ipsec_selkey_t *selkey = &ipp->ipsp_sel->ipsl_key; local
[all...]

Completed in 73 milliseconds