Searched refs:IPSEC_PRIVILEGED_SO (Results 1 - 2 of 2) sorted by relevance

/netbsd-6-1-5-RELEASE/sys/netipsec/
H A Dipsec_osdep.h186 * This difference is wrapped inside the IPSEC_PRIVILEGED_SO() macro.
190 #define IPSEC_PRIVILEGED_SO(so) ((so)->so_cred && (so)->so_cred.cr_uid == 0) macro
195 #define IPSEC_PRIVILEGED_SO(so) ((so)->so_uidinfo->ui_uid == 0) macro
H A Dipsec.c1172 if (IPSEC_PRIVILEGED_SO(so))

Completed in 56 milliseconds