Home
last modified time | relevance | path

Searched refs:p_macphy (Results 1 – 9 of 9) sorted by relevance

/dports/net-mgmt/lldpd/lldpd-1.0.8/tests/
H A Dcheck_lldp.c128 ck_assert_int_eq(rport->p_macphy.autoneg_support, in check_received_port_dot3()
129 sport->p_macphy.autoneg_support); in check_received_port_dot3()
130 ck_assert_int_eq(rport->p_macphy.autoneg_enabled, in check_received_port_dot3()
131 sport->p_macphy.autoneg_enabled); in check_received_port_dot3()
132 ck_assert_int_eq(rport->p_macphy.autoneg_advertised, in check_received_port_dot3()
133 sport->p_macphy.autoneg_advertised); in check_received_port_dot3()
134 ck_assert_int_eq(rport->p_macphy.mau_type, sport->p_macphy.mau_type); in check_received_port_dot3()
489 hardware.h_lport.p_macphy.autoneg_support = 1; in START_TEST()
490 hardware.h_lport.p_macphy.autoneg_enabled = 1; in START_TEST()
807 ck_assert_int_eq(nport->p_macphy.autoneg_advertised, in START_TEST()
[all …]
H A Ddecode.c183 printf(" Dot3 MAC/phy autoneg supported: %" PRIu8 "\n", nport->p_macphy.autoneg_support); in main()
184 printf(" Dot3 MAC/phy autoneg enabled: %" PRIu8 "\n", nport->p_macphy.autoneg_enabled); in main()
185 printf(" Dot3 MAC/phy autoneg advertised: %" PRIu16 "\n", nport->p_macphy.autoneg_advertised); in main()
186 printf(" Dot3 MAC/phy MAU type: %" PRIu16 "\n", nport->p_macphy.mau_type); in main()
H A Dcheck_snmp.c133 .p_macphy = {
216 .p_macphy = {
/dports/net-mgmt/lldpd/lldpd-1.0.8/src/daemon/
H A Dinterfaces-linux.c577 port->p_macphy.autoneg_advertised |= in iflinux_macphy()
598 port->p_macphy.mau_type = (uset.base.duplex == DUPLEX_FULL) ? \ in iflinux_macphy()
602 port->p_macphy.mau_type = (uset.base.duplex == DUPLEX_FULL) ? \ in iflinux_macphy()
606 port->p_macphy.mau_type = (uset.base.duplex == DUPLEX_FULL) ? \ in iflinux_macphy()
609 port->p_macphy.mau_type = (uset.base.duplex == DUPLEX_FULL) ? \ in iflinux_macphy()
612 port->p_macphy.mau_type = (uset.base.duplex == DUPLEX_FULL) ? \ in iflinux_macphy()
616 port->p_macphy.mau_type = (uset.base.duplex == DUPLEX_FULL) ? \ in iflinux_macphy()
619 port->p_macphy.mau_type = (uset.base.duplex == DUPLEX_FULL) ? \ in iflinux_macphy()
627 port->p_macphy.mau_type = (uset.base.port == PORT_FIBRE) ? \ in iflinux_macphy()
632 port->p_macphy.mau_type = (uset.base.port == PORT_FIBRE) ? \ in iflinux_macphy()
[all …]
H A Dinterfaces-bsd.c593 port->p_macphy.autoneg_support = in ifbsd_macphy()
594 port->p_macphy.autoneg_enabled = 0; in ifbsd_macphy()
600 port->p_macphy.autoneg_support = 1; in ifbsd_macphy()
601 port->p_macphy.autoneg_enabled = in ifbsd_macphy()
609 port->p_macphy.autoneg_advertised |= in ifbsd_macphy()
615 if (!found) port->p_macphy.autoneg_advertised |= \ in ifbsd_macphy()
619 port->p_macphy.mau_type = 0; in ifbsd_macphy()
624 port->p_macphy.mau_type = in ifbsd_macphy()
H A Dagent.c1252 long_ret = 2 - port->p_macphy.autoneg_support; in agent_v_port()
1255 long_ret = 2 - port->p_macphy.autoneg_enabled; in agent_v_port()
1259 short_ret = htons(port->p_macphy.autoneg_advertised); in agent_v_port()
1262 long_ret = port->p_macphy.mau_type; in agent_v_port()
/dports/net-mgmt/lldpd/lldpd-1.0.8/src/daemon/protocols/
H A Dlldp.c291 POKE_UINT8(port->p_macphy.autoneg_support | in _lldp_send()
292 (port->p_macphy.autoneg_enabled << 1)) && in _lldp_send()
293 POKE_UINT16(port->p_macphy.autoneg_advertised) && in _lldp_send()
294 POKE_UINT16(port->p_macphy.mau_type) && in _lldp_send()
974 port->p_macphy.autoneg_support = PEEK_UINT8; in lldp_decode()
975 port->p_macphy.autoneg_enabled = in lldp_decode()
976 (port->p_macphy.autoneg_support & 0x2) >> 1; in lldp_decode()
977 port->p_macphy.autoneg_support = in lldp_decode()
978 port->p_macphy.autoneg_support & 0x1; in lldp_decode()
979 port->p_macphy.autoneg_advertised = in lldp_decode()
[all …]
/dports/net-mgmt/lldpd/lldpd-1.0.8/src/lib/atoms/
H A Dport.c506 port->p_macphy.mau_type); in _lldpctl_atom_get_str_port()
650 return port->p_macphy.autoneg_support; in _lldpctl_atom_get_int_port()
652 return port->p_macphy.autoneg_enabled; in _lldpctl_atom_get_int_port()
654 return port->p_macphy.autoneg_advertised; in _lldpctl_atom_get_int_port()
656 return port->p_macphy.mau_type; in _lldpctl_atom_get_int_port()
/dports/net-mgmt/lldpd/lldpd-1.0.8/src/
H A Dlldpd-structs.h283 struct lldpd_dot3_macphy p_macphy; member