Lines Matching defs:Port
74 typedef struct Port Port;
78 struct Port {
79 Port *next;
80 Port *remoteport;
103 Port *ports;
126 static int is_port_inactive(Node * node, Port * port, Switch * sw)
136 static int get_node(Node * node, Port * port, ib_portid_t * portid)
201 static int sameport(Port * a, Port * b)
215 static void dump_endnode(int dump, char *prompt, Node * node, Port * port)
241 static void dump_route(int dump, Node * node, int outport, Port * port)
268 Port *port, fromport, toport, nextport;
276 memset(&fromport,0,sizeof(Port));
277 memset(&toport,0,sizeof(Port));
278 memset(&nextport,0,sizeof(Port));
433 static int get_port(Port * port, int portnum, ib_portid_t * portid)
455 static void link_port(Port * port, Node * node)
461 static int new_node(Node * node, Port * port, ib_portid_t * path, int dist)
540 Port *port, *remoteport;
551 if (!(port = calloc(1, sizeof(Port))))
614 if (!(port = calloc(1, sizeof(Port))))
642 if (!(remoteport = calloc(1, sizeof(Port))))
682 Port toport;