Lines Matching defs:ngpcb
66 struct ngpcb *this, *next;
67 struct ngpcb ngpcb;
91 /* Read in ngpcb structure */
92 kread((u_long)this, (char *)&ngpcb, sizeof(ngpcb));
93 next = LIST_NEXT(&ngpcb, socks);
96 kread((u_long)ngpcb.ng_socket, (char *)&sockb, sizeof(sockb));
99 if (strcmp(name, "ctrl") == 0 && ngpcb.type != NG_CONTROL)
101 if (strcmp(name, "data") == 0 && ngpcb.type != NG_DATA)
124 if (ngpcb.node_id == 0 || csock == -1)
126 snprintf(path, sizeof(path), "[%x]:", ngpcb.node_id);