/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_bparam.c | 182 int atype; in sum_address() local 184 atype = getxdr_u_long(); in sum_address() 185 if (atype != IP_ADDR_TYPE) in sum_address() 202 int atype; local 204 atype = getxdr_u_long(); 205 if (atype == IP_ADDR_TYPE) {
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_fnutils.c | 131 addrtype_t atype; in addrtype() local 134 for (atype = 0; atype < NUM_ADDRTYPES; atype++) { in addrtype() 135 if (ident_str_equal(ident, addrtypes[atype])) { in addrtype() 139 return (atype); in addrtype()
|
/illumos-gate/usr/src/cmd/idmap/nltest/ |
H A D | nltest.c | 143 char *atype; in cmd_dsgetdcname() local 165 atype = "inet"; in cmd_dsgetdcname() 168 atype = "netbios"; in cmd_dsgetdcname() 171 atype = "?"; in cmd_dsgetdcname() 180 (void) printf(" DC Addr Type: %s \n", atype); in cmd_dsgetdcname()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | hostaddr.c | 93 int atype; in krb5_os_hostaddr() local 100 atype = ADDRTYPE_INET; in krb5_os_hostaddr() 107 atype = ADDRTYPE_INET6; in krb5_os_hostaddr() 119 addrs[i]->addrtype = atype; in krb5_os_hostaddr()
|
/illumos-gate/usr/src/tools/lintdump/ |
H A D | lintdump.c | 43 ATYPE atype; member 185 ATYPE atype, *args; in print_pass() local 223 args = calloc(sizeof (atype), nargs); in print_pass() 227 if (fread(args, sizeof (atype), nargs, fp) != nargs) in print_pass() 272 if (fread(&atype, sizeof (atype), 1, fp) != 1) { in print_pass() 277 print_atype(&atype, 0, NULL, name); in print_pass() 420 lsup->atype = *atp; in lsu_add() 442 if (lsup->atype.extra.ty == ty) in lsu_lookup()
|
/illumos-gate/usr/src/cmd/chmod/ |
H A D | chmod.c | 1212 parse_entry(char *entry, char action, char atype, int len, char *attractptr) in parse_entry() argument 1218 if (atype == A_VERBOSE_TYPE) { in parse_entry() 1231 } else if (atype == A_COMPACT_TYPE) { in parse_entry() 1288 char atype; in parse_attr_args() local 1338 atype = '\0'; in parse_attr_args() 1350 atype = *entry++; in parse_attr_args() 1358 if (atype == '\0') { in parse_attr_args() 1362 atype = *entry++; in parse_attr_args() 1383 if ((*entry == '\0') && (atype != A_ALLATTRS_TYPE) && in parse_attr_args() 1402 (atype == A_ALLATTRS_TYPE)) { in parse_attr_args() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | route.c | 249 addr_type_t atype); 253 int *plenp, int which, struct hostent **hpp, addr_type_t atype, 1185 addr_type_t atype = ADDR_TYPE_ANY; in args_to_rtcmd() local 1240 if (atype == ADDR_TYPE_NET) { in args_to_rtcmd() 1245 atype = ADDR_TYPE_HOST; in args_to_rtcmd() 1248 if (atype == ADDR_TYPE_HOST) { in args_to_rtcmd() 1253 atype = ADDR_TYPE_NET; in args_to_rtcmd() 1306 if (!getaddr(rcip, RTA_IFA, tok, atype)) { in args_to_rtcmd() 1315 if (!getaddr(rcip, RTA_IFP, tok, atype)) { in args_to_rtcmd() 1324 if (!getaddr(rcip, RTA_GATEWAY, tok, atype)) { in args_to_rtcmd() [all …]
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | bootparam.c | 79 u_int32_t atype; member 383 xi->atype = htonl(1); in xdr_inaddr_encode() 414 if (xi->atype != htonl(1)) { in xdr_inaddr_decode() 416 ntohl(xi->atype))); in xdr_inaddr_decode()
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | SLPParseSrvURL.c | 44 char *atype; member 152 type->atype = NULL; in parseType() 178 type->atype = p; in parseType()
|
/illumos-gate/usr/src/test/libc-tests/tests/symbols/ |
H A D | symbols_test.c | 475 add_arg_types(struct sym_test *st, char *atype, char **err) in add_arg_types() argument 479 for (a = strsep(&atype, ";"); a != NULL; a = strsep(&atype, ";")) { in add_arg_types() 596 char *atype; in do_func() local 607 atype = fields[2]; in do_func() 618 (add_arg_types(st, atype, err) < 0)) { in do_func()
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | pci_nvme.c | 292 pci_nvme_async_type atype; member 822 uint32_t atype; in pci_nvme_aen_reset() local 826 for (atype = 0; atype < PCI_NVME_AE_TYPE_MAX; atype++) { in pci_nvme_aen_reset() 827 sc->aen[atype].atype = atype; in pci_nvme_aen_reset() 864 pci_nvme_aen_post(struct pci_nvme_softc *sc, pci_nvme_async_type atype, in pci_nvme_aen_post() argument 869 if (atype >= PCI_NVME_AE_TYPE_MAX) { in pci_nvme_aen_post() 874 aen = &sc->aen[atype]; in pci_nvme_aen_post() 896 pci_nvme_async_type atype; in pci_nvme_aen_process() local 906 for (atype = 0; atype < PCI_NVME_AE_TYPE_MAX; atype++) { in pci_nvme_aen_process() 907 aen = &sc->aen[atype]; in pci_nvme_aen_process() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1_encode.c | 464 assert(field->atype->type == atype_ptr); in encode_a_field() 465 dataptr = LOADPTR(dataptr, field->atype); in encode_a_field() 466 a = field->atype->basetype; in encode_a_field() 503 a = field->atype; in encode_a_field() 522 a = field->atype; in encode_a_field()
|
/illumos-gate/usr/src/lib/libilb/common/ |
H A D | ilb_subr.c | 116 i_cmp_addr_impl(void *ip1, void *ip2, ip_addr_type_t atype, int64_t *diff) in i_cmp_addr_impl() argument 124 if (atype == internal) { in i_cmp_addr_impl()
|
/illumos-gate/usr/src/cmd/sendmail/db/lock/ |
H A D | lock_deadlock.c | 63 lock_detect(lt, flags, atype) in lock_detect() argument 65 u_int32_t flags, atype; 107 switch (atype) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipadm/ |
H A D | ipadm.c | 1474 char *atype = NULL; in do_create_addr() local 1493 atype = optarg; in do_create_addr() 1525 if (atype == NULL || optind != (argc - 1)) { in do_create_addr() 1536 if (strcmp(atype, "static") == 0) { in do_create_addr() 1540 atype, use); in do_create_addr() 1543 } else if (strcmp(atype, "dhcp") == 0) { in do_create_addr() 1546 atype, use); in do_create_addr() 1589 } else if (strcmp(atype, "addrconf") == 0) { in do_create_addr() 1592 atype, use); in do_create_addr() 1612 die("Invalid address type %s", atype); in do_create_addr()
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_door.c | 391 ipadm_addr_type_t atype = largp->ia_atype; in ipmgmt_aobjop_handler() local 405 node.am_atype = atype; in ipmgmt_aobjop_handler() 406 if (atype == IPADM_ADDR_IPV6_ADDRCONF) { in ipmgmt_aobjop_handler() 445 node.am_atype = atype; in ipmgmt_aobjop_handler()
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_asconf.c | 1079 uint16_t atype; in sctp_check_addip_addr() local 1085 atype = ntohs(ph->sph_type); in sctp_check_addip_addr() 1088 if (atype != PARM_ADDR4 && atype != PARM_ADDR6) { in sctp_check_addip_addr() 1095 if ((atype == PARM_ADDR4 && alen < PARM_ADDR4_LEN) || in sctp_check_addip_addr() 1096 (atype == PARM_ADDR6 && alen < PARM_ADDR6_LEN)) { in sctp_check_addip_addr() 1105 if (atype == PARM_ADDR4) { in sctp_check_addip_addr()
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_addr.c | 159 const char *aobjname, ipadm_addr_type_t atype) in i_ipadm_init_addr() argument 166 ipaddr->ipadm_atype = atype; in i_ipadm_init_addr() 352 const char *aobjname, ipadm_addr_type_t atype, int lnum) in ipadm_add_aobjname() argument 360 larg.ia_atype = atype; in ipadm_add_aobjname() 375 const char *aobjname, ipadm_addr_type_t atype, int lnum) in ipadm_delete_aobjname() argument 379 i_ipadm_init_addr(&aobj, ifname, aobjname, atype); in ipadm_delete_aobjname() 609 ipadm_addr_type_t atype; in i_ipadm_nvl2ainfo_common() local 616 if (i_ipadm_name2atype(name, &af, &atype)) { in i_ipadm_nvl2ainfo_common() 634 switch (atype) { in i_ipadm_nvl2ainfo_common() 731 ipadm_addr_type_t atype; in i_ipadm_nvl2ainfo_persist() local [all …]
|
H A D | libipadm.c | 607 ipadm_addr_type_t atype = IPADM_ADDR_NONE; in i_ipadm_init_addrobj() local 620 } else if (i_ipadm_name2atype(name, &af, &atype)) { in i_ipadm_init_addrobj() 631 switch (atype) { in i_ipadm_init_addrobj()
|
/illumos-gate/usr/src/test/os-tests/tests/oclo/ |
H A D | oclo.c | 436 int ltype = SOCK_STREAM, atype = 0; in oclo_accept_common() local 446 atype |= SOCK_CLOEXEC; in oclo_accept_common() 448 atype |= SOCK_CLOFORK; in oclo_accept_common() 491 asock = accept4(lsock, NULL, NULL, atype); in oclo_accept_common()
|
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_xmit.c | 1866 enum ath9k_pkt_type atype; in arn_tx_start() local 1958 atype = ATH9K_PKT_TYPE_BEACON; in arn_tx_start() 1960 atype = ATH9K_PKT_TYPE_PROBE_RESP; in arn_tx_start() 1962 atype = ATH9K_PKT_TYPE_ATIM; in arn_tx_start() 1964 atype = ATH9K_PKT_TYPE_NORMAL; in arn_tx_start() 1970 atype = ATH9K_PKT_TYPE_PSPOLL; in arn_tx_start() 1979 atype = ATH9K_PKT_TYPE_NORMAL; in arn_tx_start() 1999 atype, /* Atheros packet type */ in arn_tx_start()
|
/illumos-gate/usr/src/uts/common/io/ath/ |
H A D | ath_main.c | 680 HAL_PKT_TYPE atype; in ath_tx_start() local 774 atype = HAL_PKT_TYPE_BEACON; in ath_tx_start() 776 atype = HAL_PKT_TYPE_PROBE_RESP; in ath_tx_start() 778 atype = HAL_PKT_TYPE_ATIM; in ath_tx_start() 780 atype = HAL_PKT_TYPE_NORMAL; in ath_tx_start() 791 atype = HAL_PKT_TYPE_PSPOLL; in ath_tx_start() 803 atype = HAL_PKT_TYPE_NORMAL; in ath_tx_start() 889 atype, /* Atheros packet type */ in ath_tx_start()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_odir.c | 1410 int atype; in smb_odir_wildcard_fileinfo() local 1414 atype = V_ACE_MASK; in smb_odir_wildcard_fileinfo() 1417 atype = 0; in smb_odir_wildcard_fileinfo() 1420 rc = smb_vop_access(fvp, aflags, atype, in smb_odir_wildcard_fileinfo()
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ip_fil.c | 989 int fr_ifpaddr(v, atype, ifptr, inp, inpmask, ifs) in fr_ifpaddr() argument 990 int v, atype; in fr_ifpaddr() 1022 return fr_ifpfillv4addr(atype, sin, &mask, inp, inpmask);
|
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_define.c | 1453 int instance, int atype, int rset, offset_t offset, offset_t len, in get_hinfo() argument 1518 if (match_hinfo(hp, instance, atype, rset, in get_hinfo() 1535 (atype & BOFI_DMA_RW) != in get_hinfo() 1761 uint_t atype = edp->access_type; in test_driver() local 1767 name, logsize, inst, atype, rset, offset, len); in test_driver() 1793 inst, atype, rset, offset, len, 1) != 0) { in test_driver()
|