Lines Matching defs:auth
209 /* Create a structre to store all of the run-time data for packet auth in */
226 RWLOCK_INIT(&softa->ipf_authlk, "ipf IP User-Auth rwlock");
227 MUTEX_INIT(&softa->ipf_auth_mx, "ipf auth log mutex");
229 cv_init(&softa->ipf_auth_wait, "ipf auth condvar", CV_DRIVER, NULL);
239 /* arg(I) - opaque pointer to auth context data */
241 /* Allocate memory and initialise data structures used in handling auth */
275 /* arg(I) - opaque pointer to auth context data */
335 /* arg(I) - opaque pointer to auth context data */
358 /* tmp(I) - value to assign to auth lock */
403 * auth'd.
435 "ipf auth rule");
493 /* Returns: int - 1 == success, 0 = did not put packet on auth queue */
497 /* Check if we have room in the auth array to hold details for another */
588 /* This function handles all of the ioctls recognised by the auth component */
687 /* Slowly expire held auth records. Timeouts are set in expectation of */
723 * Expire pre-auth rules
832 /* Returns: int - number of auth entries flushed */
881 /* Returns: int - number of packets in the auth queue */
884 /* Simple truth check to see if there are any packets waiting in the auth */
903 /* Iterate through the list of entries in the auth queue list. */
939 * If we found an auth entry to use, bump its reference count
1011 /* match an "auth" rule by issuing an SIOCAUTHW ioctl. If there is already */
1019 frauth_t auth, *au = &auth;
1060 if (auth.fra_len != 0 && auth.fra_buf != NULL) {
1067 if (len > auth.fra_len)
1068 len = auth.fra_len;
1069 auth.fra_len = len;
1071 for (t = auth.fra_buf; m && (len > 0); ) {
1147 frauth_t auth, *au = &auth, *fra;
1155 error = ipf_inobj(softc, data, NULL, &auth, IPFOBJ_FRAUTH);
1168 * checks. First, the auth index value should be within the size of