/titanic_41/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_arp.c | 384 lifgroupinfo_t lifgr; in ibcm_arp_get_ibd_ipaddr() local 459 (void) strlcpy(lifgr.gi_grname, in ibcm_arp_get_ibd_ipaddr() 462 sizeof (struct lifgroupinfo), &lifgr); in ibcm_arp_get_ibd_ipaddr() 470 lifgr.gi_grname, lifgr.gi_grifname, in ibcm_arp_get_ibd_ipaddr() 471 lifgr.gi_m4ifname, lifgr.gi_m6ifname); in ibcm_arp_get_ibd_ipaddr() 473 lifgr.gi_bcifname); in ibcm_arp_get_ibd_ipaddr() 476 lifgr.gi_v4, lifgr.gi_v6, lifgr.gi_nv4, in ibcm_arp_get_ibd_ipaddr() 477 lifgr.gi_nv6, lifgr.gi_mactype); in ibcm_arp_get_ibd_ipaddr() 479 (void) strlcpy(ifname, lifgr.gi_bcifname, in ibcm_arp_get_ibd_ipaddr()
|
/titanic_41/usr/src/lib/libipadm/common/ |
H A D | ipadm_if.c | 495 lifgroupinfo_t lifgr; in i_ipadm_create_ipmp_peer() local 513 (void) strlcpy(lifgr.gi_grname, lifr.lifr_groupname, LIFGRNAMSIZ); in i_ipadm_create_ipmp_peer() 514 if (ioctl(other_af_sock, SIOCGLIFGROUPINFO, &lifgr) != 0) in i_ipadm_create_ipmp_peer() 521 if (strcmp(lifgr.gi_grifname, ifname) == 0 || in i_ipadm_create_ipmp_peer() 522 (af == AF_INET && lifgr.gi_v4) || (af == AF_INET6 && lifgr.gi_v6)) { in i_ipadm_create_ipmp_peer() 526 status = i_ipadm_create_ipmp(iph, lifgr.gi_grifname, af, in i_ipadm_create_ipmp_peer() 527 lifgr.gi_grname, IPADM_OPT_ACTIVE|IPADM_OPT_IPMP); in i_ipadm_create_ipmp_peer() 944 lifgroupinfo_t lifgr; in i_ipadm_unplumb_if() local 1002 (void) strlcpy(lifgr.gi_grname, lifr.lifr_groupname, in i_ipadm_unplumb_if() 1004 if (ioctl(sock, SIOCGLIFGROUPINFO, &lifgr) == -1) { in i_ipadm_unplumb_if() [all …]
|
/titanic_41/usr/src/uts/common/inet/ip/ |
H A D | ipmp.c | 294 ipmp_grp_info(const ipmp_grp_t *grp, lifgroupinfo_t *lifgr) in ipmp_grp_info() argument 301 lifgr->gi_v4 = (grp->gr_v4 != NULL); in ipmp_grp_info() 302 lifgr->gi_v6 = (grp->gr_v6 != NULL); in ipmp_grp_info() 303 lifgr->gi_nv4 = grp->gr_nv4 + grp->gr_pendv4; in ipmp_grp_info() 304 lifgr->gi_nv6 = grp->gr_nv6 + grp->gr_pendv6; in ipmp_grp_info() 305 lifgr->gi_mactype = grp->gr_nif > 0 ? grp->gr_mactype : SUNW_DL_IPMP; in ipmp_grp_info() 306 (void) strlcpy(lifgr->gi_grifname, grp->gr_ifname, LIFNAMSIZ); in ipmp_grp_info() 307 lifgr->gi_m4ifname[0] = '\0'; in ipmp_grp_info() 308 lifgr->gi_m6ifname[0] = '\0'; in ipmp_grp_info() 309 lifgr->gi_bcifname[0] = '\0'; in ipmp_grp_info() [all …]
|
H A D | ip_if.c | 12657 lifgroupinfo_t *lifgr; in ip_sioctl_groupinfo() local 12661 lifgr = (lifgroupinfo_t *)mp->b_cont->b_cont->b_rptr; in ip_sioctl_groupinfo() 12662 lifgr->gi_grname[LIFGRNAMSIZ - 1] = '\0'; in ip_sioctl_groupinfo() 12665 if ((grp = ipmp_grp_lookup(lifgr->gi_grname, ipst)) == NULL) { in ip_sioctl_groupinfo() 12669 ipmp_grp_info(grp, lifgr); in ip_sioctl_groupinfo()
|
/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | interface.c | 78 lifgroupinfo_t lifgr; in insert_pif() local 158 (void) strlcpy(lifgr.gi_grname, lifr.lifr_groupname, in insert_pif() 160 if (ioctl(fd, SIOCGLIFGROUPINFO, &lifgr) == -1) { in insert_pif() 163 lifgr.gi_grname); in insert_pif() 167 pif->pif_hwtype = dlpi_arptype(lifgr.gi_mactype); in insert_pif() 168 pif->pif_under_ipmp = (strcmp(pname, lifgr.gi_grifname) != 0); in insert_pif() 169 (void) strlcpy(pif->pif_grifname, lifgr.gi_grifname, LIFNAMSIZ); in insert_pif()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_tables.c | 3183 lifgroupinfo_t lifgr; in getgroupinfo() local 3224 (void) strlcpy(lifgr.gi_grname, grname, LIFGRNAMSIZ); in getgroupinfo() 3225 if (ioctl(ifsock_v4, SIOCGLIFGROUPINFO, &lifgr) == -1) { in getgroupinfo() 3261 groupstate(pg), nif, ifs, lifgr.gi_grifname, lifgr.gi_m4ifname, in getgroupinfo() 3262 lifgr.gi_m6ifname, lifgr.gi_bcifname, naddr, addrs); in getgroupinfo()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/ |
H A D | ifconfig.c | 1545 lifgroupinfo_t lifgr; in setifflags() local 1547 (void) strlcpy(lifgr.gi_grname, lifrl.lifr_groupname, in setifflags() 1549 if (ioctl(s, SIOCGLIFGROUPINFO, &lifgr) == -1) in setifflags() 1552 (void) strlcpy(lifrl.lifr_name, lifgr.gi_grifname, LIFNAMSIZ); in setifflags() 2094 lifgroupinfo_t lifgr; in setifgroupname() local 2149 (void) strlcpy(lifgr.gi_grname, grname, LIFGRNAMSIZ); in setifgroupname() 2150 if (ioctl(s, SIOCGLIFGROUPINFO, &lifgr) == -1) { in setifgroupname() 2158 af = lifgr.gi_v4 ? AF_INET6 : AF_INET; in setifgroupname() 2159 if (create_ipmp(grname, af, lifgr.gi_grifname, in setifgroupname()
|