Home
last modified time | relevance | path

Searched refs:phyi (Results 1 – 7 of 7) sorted by relevance

/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dif.c314 struct physical_interface *phyi; in if_link() local
325 for (phyi = HFIRST(&ihash_tbl, &ifindex); in if_link()
326 phyi != NULL; phyi = phyi->phyi_link.hl_next) { in if_link()
327 if (phyi->phyi_index == ifindex) in if_link()
330 if (phyi == NULL) { in if_link()
333 phyi = rtmalloc(sizeof (*phyi), "physical_interface"); in if_link()
334 (void) memset(phyi, 0, sizeof (*phyi)); in if_link()
335 phyi->phyi_index = ifindex; in if_link()
340 (void) strncpy(phyi->phyi_name, ifp->int_name, in if_link()
342 phyi->phyi_name[size] = '\0'; in if_link()
[all …]
H A Dtable.c2905 struct physical_interface *phyi; in lifp_iflookup() local
2909 if ((phyi = phys_byname(name)) == NULL) in lifp_iflookup()
2912 for (ifp = phyi->phyi_interface; ifp != NULL; in lifp_iflookup()
2918 phyi->phyi_name, ifp->int_name, in lifp_iflookup()
/titanic_44/usr/src/uts/common/inet/ip/
H A Dipmp.c125 ipmp_grp_create(const char *grname, phyint_t *phyi) in ipmp_grp_create() argument
128 ip_stack_t *ipst = PHYINT_TO_IPST(phyi); in ipmp_grp_create()
143 grp->gr_phyint = phyi; in ipmp_grp_create()
200 phyint_t *phyi; in ipmp_grp_update_kstats() local
227 phyi = ipsq->ipsq_phyint; in ipmp_grp_update_kstats()
238 if (phyi == NULL) in ipmp_grp_update_kstats()
241 ipmp_phyint_get_kstats(phyi, phyi_kstats); in ipmp_grp_update_kstats()
244 phyi_kstats[i] -= phyi->phyint_kstats0[i]; in ipmp_grp_update_kstats()
511 ipmp_grp_vet_phyint(ipmp_grp_t *grp, phyint_t *phyi) in ipmp_grp_vet_phyint() argument
516 ASSERT(IAM_WRITER_IPSQ(phyi->phyint_ipsq)); in ipmp_grp_vet_phyint()
[all …]
H A Dip_if.c3012 phyint_t *phyi; in ill_glist_delete() local
3051 phyi = ill->ill_phyint; in ill_glist_delete()
3063 phyi->phyint_illv6 = NULL; in ill_glist_delete()
3065 phyi->phyint_illv4 = NULL; in ill_glist_delete()
3067 if (phyi->phyint_illv4 != NULL || phyi->phyint_illv6 != NULL) { in ill_glist_delete()
3076 if (phyi->phyint_ifindex > 0) { in ill_glist_delete()
3078 phyi); in ill_glist_delete()
3080 phyi); in ill_glist_delete()
3084 phyint_free(phyi); in ill_glist_delete()
3632 phyint_assign_ifindex(phyint_t *phyi, ip_stack_t *ipst) in phyint_assign_ifindex() argument
[all …]
H A Dip_netinfo.c1416 phyint_t *phyi; in ip_getlifflags_impl() local
1423 phyi = ill->ill_phyint; in ip_getlifflags_impl()
1431 *flags = ipif->ipif_flags | ill->ill_flags | phyi->phyint_flags; in ip_getlifflags_impl()
/titanic_44/usr/src/uts/common/inet/
H A Dip_stack.h439 #define PHYINT_TO_IPST(phyi) ((phyi)->phyint_ipsq->ipsq_ipst) argument
/titanic_44/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c2535 phyint_t phyi; in ill_format() local
2582 if (mdb_vread(&phyi, sizeof (phyint_t), in ill_format()
2616 ill->ill_flags | phyi.phyint_flags, v_fmasks); in ill_format()
2635 ill->ill_flags | phyi.phyint_flags, fmasks); in ill_format()