Lines Matching defs:NULL

91 	{  NULL,		0,			0 }
345 { 0, 0, NULL },
353 static ni_t *ni_list = NULL;
397 default_ip_str = NULL;
511 ifconfig(argc, argv, af, NULL);
540 istatus = ipadm_addr_info(iph, NULL, &ainfo, IPADM_OPT_ZEROADDR,
549 for (ainfop = ainfo; ainfop != NULL; ainfop = IA_NEXT(ainfop)) {
600 ifconfig(argc, argv, af, NULL);
689 &g_netmask, NULL);
737 if (setaddr && ipaddr != NULL) {
765 ipaddr = NULL;
811 (ifa == NULL) ||
829 if (setaddr && ipaddr != NULL) {
838 ipaddr = NULL;
854 assert(strchr(name, ':') != NULL);
885 assert(addr != NULL);
886 assert(mask != NULL);
1086 char *end = NULL;
1126 alg = getipsecalgbynum(alg_value, proto_num, NULL);
1127 if (alg != NULL) {
1143 if (algname == NULL) {
1160 alg = getipsecalgbyname(algname, proto_num, NULL);
1161 if (alg != NULL) {
1224 /* Let the user specify NULL encryption implicitly. */
1248 /* Let the user specify NULL encryption implicitly. */
1375 in_getaddr(addr, (struct sockaddr *)&netmask, NULL);
1462 in_getaddr(addr, (struct sockaddr *)&broadaddr, NULL);
1478 (*afp->af_getaddr)(addr, (struct sockaddr *)&lifr.lifr_addr, NULL);
1621 ifaddrlistx_t *ifaddrp, *ifaddrs = NULL;
1625 if (addr == NULL) {
1635 if (strchr(name, ':') != NULL) {
1641 if ((hwaddr = _link_aton(addr, &hwaddrlen)) == NULL) {
1653 retval = dlpi_enabnotify(dh, DL_NOTE_PHYS_ADDR, notifycb, NULL, &id);
1655 (void) dlpi_disabnotify(dh, id, NULL);
1673 for (; ifaddrp != NULL; ifaddrp = ifaddrp->ia_next) {
1695 for (ifaddrp = ifaddrs; ifaddrp != NULL; ifaddrp = ifaddrp->ia_next) {
1734 if (ifconfig_dladm_open(ifname, DATALINK_CLASS_IPTUN, NULL) ==
1764 status = ifconfig_dladm_open(NULL, 0, NULL);
1776 lifcp->lifc_buf = NULL;
1781 if ((*buf = malloc(bufsize)) == NULL)
1824 if (strchr(name, ':') != NULL) {
1987 if (strchr(name, ':') != NULL) {
1994 (*afp->af_getaddr)(str, &laddr, NULL);
2012 for (ainfop = ainfo; ainfop != NULL; ainfop = IA_NEXT(ainfop))
2017 if (ainfop != NULL) {
2018 if (strchr(ainfop->ia_ifa.ifa_name, ':') == NULL) {
2097 ifaddrlistx_t *ifaddrs = NULL, *downaddrs = NULL;
2115 if (create_ipmp(grname, af, NULL, _B_TRUE) == -1) {
2183 for (; ifaddrp != NULL; ifaddrp = nextifaddrp) {
2192 ifaddrs = NULL;
2207 for (; iap->ia_app != NULL; iap++) {
2219 if (ifaddrs == NULL)
2223 ifaddrs = NULL;
2226 (void) poll(NULL, 0, 100);
2259 for (ifaddrp = downaddrs; ifaddrp != NULL; ifaddrp = ifaddrp->ia_next) {
2271 for (ifaddrp = downaddrs; ifaddrp != NULL; ifaddrp = ifaddrp->ia_next) {
2338 if ((num_mods = ioctl(ipfd_lowstr, I_LIST, NULL)) < 0) {
2349 if (strlist.sl_modlist == NULL) {
2590 if ((arg_str = malloc(strlen(arg) + 1)) == NULL) {
2625 if ((pos_p = strtok(NULL, at_char)) == NULL) {
2796 if (strchr(arg, ':') != NULL) {
2902 lifs.lifs_buf = NULL;
2908 if (lifs.lifs_buf != NULL) {
2910 lifs.lifs_buf = NULL;
2922 if (newbuf == NULL) {
2923 if (lifs.lifs_buf != NULL) {
2925 lifs.lifs_buf = NULL;
2943 if (lifs.lifs_buf != NULL)
2951 if_usesrc_name) == NULL) {
2985 if (p != NULL) {
3003 if (p != NULL) {
3043 name, flags, p != NULL ? p->af_af : -1);
3051 if ((cp = strchr(lifname, ':')) != NULL && atoi(cp + 1) == 0)
3102 if_usesrc_name) != NULL) {
3108 if (p != NULL) {
3211 elim = strtol(propval, NULL, 10);
3313 if (strchr(name, ':') == NULL) {
3422 if (strchr(name, ':') == NULL) {
3674 if (strchr(name, ':') != NULL)
3690 * non-NULL, it specifies the interface name to use. Otherwise, use the name
3704 ifname != NULL ? ifname : "NULL", grname, af);
3713 if (ifname == NULL)
3796 (void) execl(MPATHD_PATH, MPATHD_PATH, NULL);
3871 if (name != NULL) {
3872 status = dladm_name2info(dlh, name, linkid, NULL, &class, NULL);
3991 * If the last argument is non-NULL allow a <addr>/<n> syntax and
4011 if (plenp != NULL) {
4018 if (cp != NULL)
4020 } else if (strchr(str, '/') != NULL) {
4031 (strtoul(str, (char **)NULL, 0) == 0xffffffffUL)) {
4060 * If the last argument is non-NULL allow a <addr>/<n> syntax and
4079 if (plenp != NULL) {
4086 if (cp != NULL)
4088 } else if (strchr(str, '/') != NULL) {
4126 if (str == NULL)
4248 if ((cp = strchr(ifname, ':')) == NULL)
4260 for (pp = &ni_list; (p = *pp) != NULL; pp = &(p->ni_next)) {
4273 if ((p = malloc(sizeof (ni_t))) == NULL)
4277 p->ni_next = NULL;
4289 (void) dladm_name2info(arg, linkname, NULL, NULL, &class, NULL);
4310 dhcp_ipc_reply_t *reply = NULL;
4374 request = dhcp_ipc_alloc_request(type, ifname, NULL, 0, DHCP_TYPE_NONE);
4375 if (request == NULL) {