Lines Matching refs:ipne
1456 ipnet_plumb_ev(ipnet_nicevent_t *ipne, ipnet_stack_t *ips, boolean_t isv6)
1465 ifname = ipne->ipne_ifname;
1466 ifindex = ipne->ipne_ifindex;
1468 (void) net_getlifflags(ipne->ipne_protocol, ifindex, 0, &ifflags);
1565 ipnet_nicevent_t *ipne;
1567 if ((ipne = kmem_alloc(sizeof (ipnet_nicevent_t), KM_NOSLEEP)) == NULL)
1569 ipne->ipne_event = hn->hne_event;
1570 ipne->ipne_protocol = hn->hne_protocol;
1571 ipne->ipne_stackid = ips->ips_netstack->netstack_stackid;
1572 ipne->ipne_ifindex = hn->hne_nic;
1573 ipne->ipne_lifindex = hn->hne_lif;
1575 (void) strlcpy(ipne->ipne_ifname, hn->hne_data,
1576 sizeof (ipne->ipne_ifname));
1579 ipne, DDI_NOSLEEP);
1586 ipnet_nicevent_t *ipne = arg;
1591 if ((ns = netstack_find_by_stackid(ipne->ipne_stackid)) == NULL)
1594 isv6 = (ipne->ipne_protocol == ips->ips_ndv6);
1597 switch (ipne->ipne_event) {
1599 ipnet_plumb_ev(ipne, ips, isv6);
1602 ipnet_unplumb_ev(ipne->ipne_ifindex, ips, isv6);
1605 ipnet_lifup_ev(ipne->ipne_ifindex, ipne->ipne_lifindex,
1606 ipne->ipne_protocol, ips, isv6);
1609 ipnet_lifdown_ev(ipne->ipne_ifindex, ipne->ipne_lifindex, ips,
1619 kmem_free(ipne, sizeof (ipnet_nicevent_t));