Home
last modified time | relevance | path

Searched refs:mask_str (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/lib/libdladm/common/
H A Dflowattr.c295 char *mask_str, *endp = NULL; in do_check_dsfield() local
298 if ((mask_str = strchr(str, ':')) != NULL) { in do_check_dsfield()
299 *mask_str++ = '\0'; in do_check_dsfield()
301 mask = strtoul(mask_str, &endp, 16); in do_check_dsfield()
/titanic_50/usr/src/cmd/auditconfig/
H A Dauditconfig.c242 static void do_setaudit(char *user_str, char *mask_str, char *tid_str,
801 char *mask_str; in do_args() local
808 mask_str = *argv; in do_args()
814 do_setaudit(user_str, mask_str, tid_str, in do_args()
1784 do_setaudit(char *user_str, char *mask_str, char *tid_str, char *sid_str, in do_setaudit() argument
1790 egetauditflagsbin(mask_str, &ai.ai_mask), in do_setaudit()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c3354 parse_mask(int type, char *mask_str, ips_conf_t *cptr) in parse_mask() argument
3365 if ((strncasecmp(mask_str, "0x", 2) == 0) && in parse_mask()
3366 (strchr(mask_str, '.') == NULL)) { in parse_mask()
3370 mask.s_addr = strtoul(mask_str, &end, 0); in parse_mask()
3371 if (end == mask_str) { in parse_mask()
3383 if (strcmp(mask_str, "255.255.255.255") == 0) { in parse_mask()
3386 mask.s_addr = inet_addr(mask_str); in parse_mask()