Searched defs:token (Results 201 - 225 of 258) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dmain.c560 in6_addr_t *token; local
565 logmsg(LOG_ERR, "%s: token %s is duplicate after %d "
575 logmsg(LOG_WARNING, "%s: token %s is duplicate; trying again",
582 token = &pi->pi_tmp_token;
589 token->s6_addr[i];
597 * We've got a new token. Clearing PR_AUTO causes
2328 * the given token as the interface id during the next Router Advertisement.
2329 * Currently, only one token per interface is supported.
2398 "added token to interface %s\n", pi->pi_name);
2420 logmsg(LOG_ERR, "token doe
[all...]
/illumos-gate/usr/src/cmd/modload/
H A Ddrvsubr.c295 char *token, *p; local
307 if ((token = strpbrk(line, " :\t")) == NULL)
309 token++;
311 while (*token && (isspace(*token) || isquote(*token)))
312 token++;
314 n = strlen(token);
315 p = token + n-1;
322 return (strcmp(token, matc
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dcommon.c28 * Only one session and one login per token is supported
196 /* Make sure user is logged out of token. */
204 * Log user out of token and reset status variable.
718 select_token(void *kmfhandle, char *token, int readonly) argument
725 if (token == NULL)
733 if (token) {
735 KMF_TOKEN_LABEL_ATTR, token,
736 strlen(token));
1139 * Login to the token first.
/illumos-gate/usr/src/cmd/idmap/idmap/
H A Didmap.c1835 * Grab next token from the line in USERMAP_CFG format. terminators,
1837 * the token. line_num is the line number of input used for error
1843 char *token; local
1845 token = ucp_qm_interior(line, pos);
1848 token = strndup(*line, length);
1852 return (token);
1866 char *token; local
1885 token = ucp_grab_token(&it, pos, " \t#\\\n@=<");
1886 if (token == NULL)
1893 free(token);
2003 char *token; local
[all...]
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg.h368 int token; member in struct:help_message
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6_if.c1088 * Create a link-local address from a token.
1091 ipif_get_linklocal(in6_addr_t *dest, const in6_addr_t *token) argument
1097 token->s6_addr32[i] | ipv6_ll_template.s6_addr32[i];
1126 * The address can be set if the token is set, and the token
1143 * Generate a link-local address from the token.
1196 * based on the destination token.
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_fil_solaris.c316 RWLOCK_INIT(&ifs->ifs_ipf_tokens, "ipf token rwlock");
1998 int ipf_hook4_out(hook_event_token_t token, hook_data_t info, void *arg) argument
2003 int ipf_hook6_out(hook_event_token_t token, hook_data_t info, void *arg) argument
2017 int ipf_hook4_in(hook_event_token_t token, hook_data_t info, void *arg) argument
2022 int ipf_hook6_in(hook_event_token_t token, hook_data_t info, void *arg) argument
2037 int ipf_hook4_loop_out(hook_event_token_t token, hook_data_t info, void *arg) argument
2042 int ipf_hook6_loop_out(hook_event_token_t token, hook_data_t info, void *arg) argument
2056 int ipf_hook4_loop_in(hook_event_token_t token, hook_data_t info, void *arg) argument
2061 int ipf_hook6_loop_in(hook_event_token_t token, hook_data_t info, void *arg) argument
H A Dip_nat.c673 ipftoken_t *token; local
679 token = ipf_findtoken(iter.igi_type, uid, ctx, ifs);
680 if (token != NULL)
681 error = nat_iterator(token, &iter, ifs);
5502 * Get "previous" entry from the token and find the next entry.
5549 * If we found an entry, add a reference to it and update the token.
5550 * Otherwise, zero out data to be returned and NULL out token.
5596 * Copy out data and clean up references and token as needed.
5688 /* Parameters: token(I) - pointer to ipftoken structure */
5696 static int nat_iterator(token, it
[all...]
/illumos-gate/usr/src/uts/common/io/ath/
H A Dath_impl.h219 uint32_t token; /* arbitrary identifier */ member in struct:dma_area
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus.c132 static int check_token(char *token, int *len);
134 static int parse_token(char *token);
135 static int token_to_hex(char *token, unsigned *val, int len);
136 static int token_to_dec(char *token, unsigned *val, int len);
1398 check_token(char *token, int *len) argument
1401 int sl = strlen(token), il = 1;
1404 if (token[0] == '0' && token[2] && (token[1] == 'x' || token[
1452 parse_token(char *token) argument
1468 token_to_hex(char *token, unsigned *val, int len) argument
1504 token_to_dec(char *token, unsigned *val, int len) argument
1606 char *token = "beginning of line"; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cmd.c58 uint16_t token, int *hwerr);
76 uint16_t token; local
132 token = (uint16_t)cmdptr->cmd_indx;
135 status = hermon_write_hcr(state, cmdpost, token,
410 * in "token"
980 uint16_t token, int *hw_err)
1075 /* Write the other 32-bits of "outparam" and "token" as 64-bit */
1077 hcrreg = hcrreg | ((uint32_t)token << HERMON_HCR_TOKEN_SHIFT);
979 hermon_write_hcr(hermon_state_t *state, hermon_cmd_post_t *cmdpost, uint16_t token, int *hw_err) argument
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_virtual.c384 config_token_t token = DEFAULT; local
386 while (token < CONFIG_TOKEN_NONE) {
387 if (strncmp(prop, token_names[token], 4) == 0)
389 token++;
391 return (token);
397 nxge_update_rxdma_grp_properties(p_nxge_t nxgep, config_token_t token, argument
417 switch (token) {
571 nxge_update_rxdma_properties(p_nxge_t nxgep, config_token_t token, argument
593 switch (token) {
786 nxge_update_txdma_properties(p_nxge_t nxgep, config_token_t token, argument
990 nxge_update_cfg_properties(p_nxge_t nxgep, uint32_t flags, config_token_t token, dev_info_t *s_dip[]) argument
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/hidparser/
H A Dhidparser.c1454 * Looks up if token belongs to the FIRST of the function tag
1459 int token)
1466 if (*itemp == token) {
1473 /* token is not on the FIRST list */
1566 * We do not search for the token in FIRST(ReportDescriptor)
1693 "Main Item: token = 0x%x, "
1705 "Main Item: token = 0x%x, "
1754 "hidparser_MainItem:index = 0x%lx token = 0x%x",
1789 int token = scan_ifp->hidparser_tok_token; local
1791 while (hidparser_lookup_first(HIDPARSER_ITEMS, token)
1458 hidparser_lookup_first(int func_index, int token) argument
[all...]
/illumos-gate/usr/src/uts/intel/pcbe/
H A Dcore_pcbe.c98 void *token);
99 static void core_pcbe_program(void *token);
101 static void core_pcbe_sample(void *token);
1831 void *token)
1866 core_pcbe_program(void *token) argument
1876 if (kcpc_allow_nonpriv(token))
1889 cfg = (core_pcbe_config_t *)kcpc_next_config(token, cfg, NULL);
1950 kcpc_next_config(token, cfg, NULL);
1968 core_pcbe_sample(void *token) argument
1975 cfg = (core_pcbe_config_t *)kcpc_next_config(token, NUL
1829 core_pcbe_configure(uint_t picnum, char *event, uint64_t preset, uint32_t flags, uint_t nattrs, kcpc_attr_t *attrs, void **data, void *token) argument
[all...]
H A Dp4_pcbe.c94 void *token);
95 static void p4_pcbe_program(void *token);
97 static void p4_pcbe_sample(void *token);
638 build_cfgs(p4_pcbe_config_t *cfgs[18], uint64_t *data[18], void *token) argument
646 cfg = (p4_pcbe_config_t *)kcpc_next_config(token, cfg, &daddr);
671 void *token)
730 build_cfgs(cfgs, NULL, token);
909 p4_pcbe_program(void *token) argument
917 build_cfgs(cfgs, NULL, token);
921 if (kcpc_allow_nonpriv(token))
669 p4_pcbe_configure(uint_t picnum, char *eventname, uint64_t preset, uint32_t flags, uint_t nattrs, kcpc_attr_t *attrs, void **data, void *token) argument
1001 p4_pcbe_sample(void *token) argument
[all...]
/illumos-gate/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c1741 char *token; local
1814 token = dup;
1816 while (token != NULL && ret == SA_OK) {
1818 token = strtok_r(base, ",", &lasts);
1820 if (token != NULL) {
1827 value = strchr(token, '=');
1842 if (strcmp(token, SHOPT_NAME) == 0) {
1897 if (iszfs && strcmp(token, SHOPT_DESCRIPTION) == 0) {
1913 prop = sa_create_property(token, value);
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/
H A Dsysevent_conf_mod.c925 str_t *token; local
927 if ((token = initstr(32)) == NULL)
933 if (strcatc(token, *id++)) {
934 freestr(token);
939 return (token);
944 return (token);
955 str_t *token; local
957 if ((token = initstr(32)) == NULL)
963 return (token);
965 if (strcatc(token, *i
1056 find_macro_definition(sysevent_t *ev, nvlist_t *nvlist, syseventtab_t *sep, char *token, sysevent_hdr_info_t *hdr) argument
1420 str_t *token; local
[all...]
/illumos-gate/usr/src/lib/libsysevent/
H A Dlibsysevent.c455 * Get the requested string pointed by the token.
460 parse_pub_id(sysevent_t *ev, se_pub_id_t token) argument
466 for (i = 0; i <= token; ++i) {
480 * Return a pointer to the string following the token
486 pub_idx(const char *pstr, int token) argument
490 for (i = 1; i <= token; i++) {
/illumos-gate/usr/src/cmd/lofiadm/
H A Dmain.c76 " %s [-r] -c crypto_algorithm -T [token]:[manuf]:[serial]:key "
78 " %s [-r] -c crypto_algorithm -T [token]:[manuf]:[serial]:key "
102 token_spec_t *token; member in struct:mech_alias
824 * Break up token spec into its components (non-destructive)
886 * If token specified and it only contains a key label, then
1053 * Read the raw key from token, or from a file that was wrapped with a
1054 * key from token
1058 token_spec_t *token, const char *keyfile, mech_alias_t *cipher,
1067 { CKA_CLASS, NULL, 0 }, /* re-used for token key and unwrap */
1078 CK_ULONG num_objs = 1; /* just want to find 1 token ke
1057 getkeyfromtoken(CK_SESSION_HANDLE sess, token_spec_t *token, const char *keyfile, mech_alias_t *cipher, char **raw_key, size_t *raw_key_sz) argument
1227 token_spec_t *token; local
1311 init_crypto(token_spec_t *token, mech_alias_t *cipher, CK_SESSION_HANDLE_PTR sess) argument
1928 token_spec_t *token = NULL; local
[all...]
/illumos-gate/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c472 * exists with a value "host1" and a later token of
573 char *copy, *base, *token, *value; local
577 token = base = copy;
578 while (token != NULL && ret == 0) {
579 token = strtok(base, ",");
581 if (token != NULL) {
582 value = strchr(token, '=');
585 if (strcmp(token, SHOPT_SEC) == 0) {
617 char *token; local
696 token
[all...]
/illumos-gate/usr/src/common/ficl/emu/
H A Dloader_emu.c305 * separated token will be returned as a single argv[] element, not
350 char token, tmp, quote, dquote, *buf; local
362 token = 0;
395 token = isdelim(*(p + 1));
396 if (token)
415 if (token) {
416 PARSE_FAIL((q = strchr(p, token)) == NULL);
431 p = q + (token ? 1 : 0);
438 /* If at end of token, add it */
/illumos-gate/usr/src/uts/common/inet/ipnet/
H A Dipnet.c1561 ipnet_nicevent_cb(hook_event_token_t token, hook_data_t info, void *arg) argument
1938 ipobs_bounce_func(hook_event_token_t token, hook_data_t info, void *arg) argument
2284 ipnet_bpf_bounce(hook_event_token_t token, hook_data_t info, void *arg) argument
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_protect.c1436 insert_slaac_ip(avl_tree_t *tree, in6_addr_t *token, slaac_addr_t *addr) argument
1446 in6p->s6_addr32[i] = token->s6_addr32[i] |
1463 in6_addr_t *token = &mcip->mci_v6_mac_token; local
1479 if (!insert_slaac_ip(&mcip->mci_v6_slaac_ip, token, addr)) {
2175 in6_addr_t *token = &mcip->mci_v6_mac_token; local
2180 v6addr->s6_addr32[i] = token->s6_addr32[i] |
2196 in6_addr_t *token = &mcip->mci_v6_mac_token; local
2204 VERIFY(insert_slaac_ip(ttp, token, addr) == B_TRUE);
2218 * After the unicast MAC address changes, we need to update the derived token,
2219 * and update the IPv6 addresses that use the token
2226 in6_addr_t *token = &mcip->mci_v6_mac_token; local
[all...]
/illumos-gate/usr/src/lib/efcode/engine/
H A Dforth.c2338 token_t token; local
2343 token = *defer_xt;
2344 contents_xt = (token_t *)(token & ~1);
2345 if ((token & 1) == 0 || *contents_xt != (token_t)&do_default_action)
2347 defer_xt, token & 1, *contents_xt);
/illumos-gate/usr/src/lib/libscf/common/
H A Dscf_tmpl.c3635 char *str, *token; local
3656 while ((token = strtok_r(NULL, sep, &lasts)) != NULL) {
3660 array[n] = token;

Completed in 238 milliseconds

1234567891011