Lines Matching defs:pd
63 struct portdata *pd;
75 pd = allports[port_index - 1];
76 portname = pd->name;
77 bff.bff_linkid = pd->linkid;
105 struct portdata *pd;
110 pd = allports[port_index - 1];
111 (void) memcpy(mac, pd->mac_addr, ETHERADDRL);
127 struct portdata *pd;
132 pd = allports[port_index - 1];
133 return (pd->phys_status && pd->admin_status &&
134 protect == DLADM_BRIDGE_PROT_STP && !pd->sdu_failed ?
142 struct portdata *pd;
149 pd = allports[port_index - 1];
150 status = dladm_get_single_mac_stat(dlhandle, pd->linkid, "link_duplex",
176 struct portdata *pd;
182 pd = allports[port_index - 1];
186 port_index, pd->name, state);
198 bss.bss_linkid = pd->linkid;
201 pd->name, bls_state(pd->state), bls_state(bss.bss_state));
208 if (pd->state == BLS_FORWARDING &&
214 pd->state = bss.bss_state;