Searched refs:port_id (Results 1 – 7 of 7) sorted by relevance
38 port_id port_id; member49 (p->designated_port == p->port_id); in br_is_designated_port()
102 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()
27 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()
109 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()
46 typedef __u16 port_id; typedef151 port_id port_id; member152 port_id designated_port;
111 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);
221 p.port_id = pt->port_id; in old_dev_ioctl()