Searched refs:policy (Results 76 - 100 of 140) sorted by relevance

123456

/freebsd-10.2-release/usr.sbin/ppp/
H A Dradius.c121 radius_policyname(int policy) argument
123 switch(policy) {
129 return NumStr(policy, NULL, 0);
591 r->mppe.policy = rad_cvt_int(data);
594 radius_policyname(r->mppe.policy));
781 r->mppe.policy = 0;
1311 radius_policyname(r->mppe.policy));
H A Dmppe.c465 if (*fp->bundle->radius.cfg.file && fp->bundle->radius.mppe.policy)
466 return fp->bundle->radius.mppe.policy == MPPE_POLICY_REQUIRED ? 1 : 0;
/freebsd-10.2-release/contrib/netcat/
H A Dnetcat.c1324 \t-e policy Use specified IPsec policy\n");
1361 add_ipsec_policy(int s, char *policy) argument
1366 raw = ipsec_set_policy(policy, strlen(policy));
1368 errx(1, "ipsec_set_policy `%s': %s", policy,
1373 err(1, "ipsec policy cannot be configured");
1376 fprintf(stderr, "ipsec policy configured: `%s'\n", policy);
1386 "usage: nc [-46DdEFhklNnrStUuvz] [-e policy] [
[all...]
/freebsd-10.2-release/usr.sbin/traceroute6/
H A Dtraceroute6.c314 int setpolicy(int so, char *policy);
1016 setpolicy(so, policy)
1018 char *policy;
1022 buf = ipsec_set_policy(policy, strlen(policy));
/freebsd-10.2-release/sys/netipsec/
H A Dkey_debug.c433 printf("%s: wrong policy struct.\n", __func__);
438 printf("%s: invalid ipsec policy length "
451 panic("%s: wrong policy struct.\n", __func__);
466 printf("secpolicy{ refcnt=%u state=%u policy=%u\n",
467 sp->refcnt, sp->state, sp->policy);
471 switch (sp->policy) {
499 printf("%s: Invalid policy found. %d\n", __func__, sp->policy);
H A Dipsec.h93 u_int policy; /* policy_type per pfkeyv2.h */ member in struct:secpolicy
97 /* if policy == IPSEC else this value == NULL.*/
101 * the policy can be used without limitiation if both lifetime and
106 time_t created; /* time created the policy */
108 long lifetime; /* duration of the lifetime of this policy */
109 long validtime; /* duration this policy is valid without use */
113 mtx_init(&(_sp)->lock, "ipsec policy", NULL, MTX_DEF)
149 /* security policy in PCB */
181 * Direction of security policy.
211 * if security policy leve
[all...]
/freebsd-10.2-release/sys/cam/ctl/
H A Dctl_frontend_internal.c162 cfi_error_policy policy; member in struct:cfi_lun_io
202 struct cfi_metatask *metatask, cfi_error_policy policy,
650 * want the hard error recovery policy, so
653 if (lun_io->policy == CFI_ERR_HARD)
690 struct cfi_metatask *metatask, cfi_error_policy policy, int retries,
706 lun_io->policy = policy;
767 /*policy*/ CFI_ERR_SOFT,
971 /*policy*/ CFI_ERR_SOFT,
1033 /*policy*/ CFI_ERR_SOF
689 cfi_init_io(union ctl_io *io, struct cfi_lun *lun, struct cfi_metatask *metatask, cfi_error_policy policy, int retries, struct cfi_lun_io *orig_lun_io, void (*done_function)(union ctl_io *io)) argument
[all...]
/freebsd-10.2-release/sys/netinet6/
H A Dip6_forward.c181 /* get a security policy for this packet */
200 /* check policy */
201 switch (sp->policy) {
247 printf("ip6_forward: Invalid policy found. %d\n", sp->policy);
260 * security policy, the kernel does not apply IPsec to the packet.
/freebsd-10.2-release/usr.bin/netstat/
H A Dnetisr.c79 netisr_dispatch_policy_to_string(u_int policy, char *buf, argument
84 switch (policy) {
529 printf("%-25s %12s %12s\n", "Dispatch policy", dispatch_policy,
/freebsd-10.2-release/usr.sbin/nscd/
H A Dconfig.c213 positive_params.policy = CPT_LRU;
221 negative_params.policy = CPT_FIFO;
/freebsd-10.2-release/crypto/heimdal/lib/kadm5/
H A Dcreate_s.c72 if((mask & KADM5_POLICY) && strcmp(princ->policy, "default"))
/freebsd-10.2-release/etc/rc.d/
H A Dsendmail88 policy = policy_anything
/freebsd-10.2-release/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_main.c1960 nvlist_t *policy = NULL; local
2084 /* In the future, we can capture further policy and include it here */
2085 if (nvlist_alloc(&policy, NV_UNIQUE_NAME, 0) != 0 ||
2086 nvlist_add_uint64(policy, ZPOOL_REWIND_REQUEST_TXG, txg) != 0 ||
2087 nvlist_add_uint32(policy, ZPOOL_REWIND_REQUEST, rewind_policy) != 0)
2117 nvlist_free(policy);
2187 nvlist_free(policy);
2212 policy) == 0);
2286 nvlist_free(policy);
3635 nvlist_t *policy local
[all...]
/freebsd-10.2-release/sys/netinet/
H A Dsctp_usrreq.c3670 uint16_t policy; local
3676 policy = sprstat->sprstat_policy;
3680 (policy != SCTP_PR_SCTP_NONE) &&
3681 ((policy <= SCTP_PR_SCTP_MAX) ||
3682 (policy == SCTP_PR_SCTP_ALL))) {
3683 if (policy == SCTP_PR_SCTP_ALL) {
3687 sprstat->sprstat_abandoned_unsent = stcb->asoc.strmout[sid].abandoned_unsent[policy];
3688 sprstat->sprstat_abandoned_sent = stcb->asoc.strmout[sid].abandoned_sent[policy];
3693 (policy == SCTP_PR_SCTP_ALL)) {
3708 uint16_t policy; local
6074 uint16_t policy; local
[all...]
/freebsd-10.2-release/contrib/llvm/tools/lldb/include/lldb/Target/
H A DTarget.h215 SetExecutionPolicy (ExecutionPolicy policy = eExecutionPolicyAlways)
217 m_execution_policy = policy;
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Expression/
H A DClangUserExpression.cpp668 IRMemoryMap::AllocationPolicy policy = m_can_interpret ? IRMemoryMap::eAllocationPolicyHostOnly : IRMemoryMap::eAllocationPolicyMirror; local
673 policy,
/freebsd-10.2-release/crypto/heimdal/kadmin/
H A Dget.c62 { "policy", KADM5_POLICY, 0, 0, "Policy", "Policy", 0 },
223 if(princ->policy != NULL)
224 strlcpy(buf, princ->policy, buf_len);
/freebsd-10.2-release/lib/libthr/thread/
H A Dthr_private.h789 int _rtp_to_schedparam(const struct rtprio *rtp, int *policy,
791 int _schedparam_to_rtp(int policy, const struct sched_param *param,
/freebsd-10.2-release/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_policy.c37 #include <sys/policy.h>
/freebsd-10.2-release/contrib/traceroute/
H A Dtraceroute.c379 int setpolicy __P((int so, char *policy));
1268 setpolicy(so, policy)
1270 char *policy;
1274 buf = ipsec_set_policy(policy, strlen(policy));
/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa.c1970 zpool_rewind_policy_t policy; local
1974 zpool_get_rewind_policy(spa->spa_config, &policy);
1976 if (policy.zrp_request & ZPOOL_NEVER_REWIND)
1993 if (!error && sle.sle_meta_count <= policy.zrp_maxmeta &&
1994 sle.sle_data_count <= policy.zrp_maxdata) {
2522 nvlist_t *policy = NULL, *nvconfig; local
2557 ZPOOL_REWIND_POLICY, &policy) == 0)
2559 ZPOOL_REWIND_POLICY, policy) == 0);
3011 zpool_rewind_policy_t policy; local
3016 &policy);
3101 spa_open_rewind(const char *name, spa_t **spapp, void *tag, nvlist_t *policy, nvlist_t **config) argument
4179 zpool_rewind_policy_t policy; local
[all...]
/freebsd-10.2-release/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_pool.c1692 zpool_rewind_policy_t policy; local
1764 zpool_get_rewind_policy(config, &policy);
1773 if (policy.zrp_request & ZPOOL_TRY_REWIND) {
1860 if (policy.zrp_request &
1863 ((policy.zrp_request & ZPOOL_TRY_REWIND) != 0), nv);
3182 zpool_rewind_policy_t policy; local
3214 zpool_get_rewind_policy(rewindnvl, &policy);
3215 zc.zc_cookie = policy.zrp_request;
3231 if (!error || ((policy.zrp_request & ZPOOL_TRY_REWIND) &&
3233 if (policy
[all...]
/freebsd-10.2-release/contrib/netbsd-tests/fs/nfs/nfsservice/
H A Dmountd.c363 if (ipsecsetup_test(policy = optarg))
364 errx(1, "Invalid ipsec policy `%s'", policy);
384 " [-P policy]"
434 if (policy)
435 ipsecsetup(AF_INET, udpsock, policy);
457 if (policy)
458 ipsecsetup(AF_INET, tcpsock, policy);
/freebsd-10.2-release/sys/dev/sound/pcm/
H A Ddsp.c104 static int dsp_oss_policy(struct pcm_channel *wrch, struct pcm_channel *rdch, int policy);
3040 * buffer sizes, a policy argument of 5 will have the same result across
3053 * @param policy Integer from [0:10]
3058 dsp_oss_policy(struct pcm_channel *wrch, struct pcm_channel *rdch, int policy) argument
3062 if (policy < CHN_POLICY_MIN || policy > CHN_POLICY_MAX)
3070 ret = chn_setlatency(rdch, policy);
3076 ret = chn_setlatency(wrch, policy);
/freebsd-10.2-release/sbin/ifconfig/
H A Difieee80211.c3862 printpolicy(int policy) argument
3864 switch (policy) {
3866 printf("policy: open\n");
3869 printf("policy: allow\n");
3872 printf("policy: deny\n");
3875 printf("policy: radius\n");
3878 printf("policy: unknown (%u)\n", policy);
3888 int i, nacls, policy, len; local
3898 printf("No acl policy loade
[all...]

Completed in 403 milliseconds

123456