Searched refs:bnb (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | events.c | 82 bridge_newbridge_t bnb; in open_bridge_control() local 90 (void) snprintf(bnb.bnb_name, sizeof (bnb.bnb_name), "%s0", in open_bridge_control() 92 status = dladm_name2info(dlhandle, bnb.bnb_name, &bnb.bnb_linkid, NULL, in open_bridge_control() 95 (void) fprintf(stderr, "bridged: %s: %s\n", bnb.bnb_name, in open_bridge_control() 99 if (strioctl(control_fd, BRIOC_NEWBRIDGE, &bnb, sizeof (bnb)) == -1) { in open_bridge_control() 103 main_linkid = bnb.bnb_linkid; in open_bridge_control() 116 status = dladm_up_datalink_id(dlhandle, bnb.bnb_linkid); in open_bridge_control() 119 bnb.bnb_name, dladm_status2str(status, buf)); in open_bridge_control()
|
/titanic_41/usr/src/uts/common/io/ |
H A D | bridge.c | 3091 bridge_newbridge_t *bnb; in bridge_ioctl() local 3097 bnb = (bridge_newbridge_t *)mp->b_cont->b_rptr; in bridge_ioctl() 3098 bnb->bnb_name[MAXNAMELEN-1] = '\0'; in bridge_ioctl() 3099 rc = bridge_create(bnb->bnb_linkid, bnb->bnb_name, &bip, cr); in bridge_ioctl()
|