Lines Matching refs:ngpcb
67 struct ngpcb *this, *next;
68 struct ngpcb ngpcb;
92 /* Read in ngpcb structure */
93 kread((u_long)this, (char *)&ngpcb, sizeof(ngpcb));
94 next = LIST_NEXT(&ngpcb, socks);
97 kread((u_long)ngpcb.ng_socket, (char *)&sockb, sizeof(sockb));
100 if (strcmp(name, "ctrl") == 0 && ngpcb.type != NG_CONTROL)
102 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);