Home
last modified time | relevance | path

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

/net/bridge/
Dbr_private_stp.h38 port_id port_id; member
49 (p->designated_port == p->port_id); in br_is_designated_port()
Dbr_stp.c102 if (p->port_id < rp->port_id) in br_should_become_root_port()
184 bpdu.port_id = p->port_id; in br_transmit_config()
213 p->designated_port = bpdu->port_id; in br_record_config_information()
267 if (p->port_id < p->designated_port) in br_should_become_designated_port()
312 if (bpdu->port_id <= p->designated_port) in br_supersedes_port_info()
382 p->designated_port = p->port_id; in br_become_designated_port()
Dbr_stp_if.c27 static inline port_id br_make_port_id(__u8 priority, __u16 port_no) in br_make_port_id()
38 p->port_id = br_make_port_id(p->priority, p->port_no); in br_init_port()
279 port_id new_port_id; in br_stp_set_port_priority()
288 p->port_id = new_port_id; in br_stp_set_port_priority()
291 p->port_id < p->designated_port) { in br_stp_set_port_priority()
Dbr_stp_bpdu.c109 buf[25] = (bpdu->port_id >> 8) & 0xFF; in br_send_config_bpdu()
110 buf[26] = bpdu->port_id & 0xFF; in br_send_config_bpdu()
215 bpdu.port_id = (buf[22] << 8) | buf[23]; in br_stp_rcv()
Dbr_private.h46 typedef __u16 port_id; typedef
151 port_id port_id; member
152 port_id designated_port;
Dbr_sysfs_if.c111 return sprintf(buf, "0x%x\n", p->port_id); in show_port_id()
113 static BRPORT_ATTR(port_id, S_IRUGO, show_port_id, NULL);
Dbr_ioctl.c221 p.port_id = pt->port_id; in old_dev_ioctl()