Home
last modified time | relevance | path

Searched refs:newprio (Results 1 – 2 of 2) sorted by relevance

/net/bridge/
Dbr_stp_if.c273 void br_stp_set_bridge_priority(struct net_bridge *br, u16 newprio) in br_stp_set_bridge_priority() argument
284 p->designated_bridge.prio[0] = (newprio >> 8) & 0xFF; in br_stp_set_bridge_priority()
285 p->designated_bridge.prio[1] = newprio & 0xFF; in br_stp_set_bridge_priority()
290 br->bridge_id.prio[0] = (newprio >> 8) & 0xFF; in br_stp_set_bridge_priority()
291 br->bridge_id.prio[1] = newprio & 0xFF; in br_stp_set_bridge_priority()
300 int br_stp_set_port_priority(struct net_bridge_port *p, unsigned long newprio) in br_stp_set_port_priority() argument
304 if (newprio > BR_MAX_PORT_PRIORITY) in br_stp_set_port_priority()
307 new_port_id = br_make_port_id(newprio, p->port_no); in br_stp_set_port_priority()
312 p->priority = newprio; in br_stp_set_port_priority()
Dbr_private.h1136 void br_stp_set_bridge_priority(struct net_bridge *br, u16 newprio);
1137 int br_stp_set_port_priority(struct net_bridge_port *p, unsigned long newprio);