Lines Matching defs:ngpcb
68 struct ngpcb *this, *next;
69 struct ngpcb ngpcb;
94 /* Read in ngpcb structure */
95 kread((u_long)this, (char *)&ngpcb, sizeof(ngpcb));
96 next = LIST_NEXT(&ngpcb, socks);
99 kread((u_long)ngpcb.ng_socket, (char *)&sockb, sizeof(sockb));
102 if (strcmp(name, "ctrl") == 0 && ngpcb.type != NG_CONTROL)
104 if (strcmp(name, "data") == 0 && ngpcb.type != NG_DATA)
125 if (ngpcb.node_id == 0 || csock == -1)
127 snprintf(path, sizeof(path), "[%x]:", ngpcb.node_id);