• Home
  • Raw
  • Download

Lines Matching refs:h

255 …init_header(struct ncp_server *server, struct ncp_request_reply *req, struct ncp_request_header *h)  in ncp_init_header()  argument
258 h->conn_low = server->connection; in ncp_init_header()
259 h->conn_high = server->connection >> 8; in ncp_init_header()
260 h->sequence = ++server->sequence; in ncp_init_header()
266 struct ncp_request_header* h; in ncpdgram_start_request() local
270 h = req->tx_iov[1].iov_base; in ncpdgram_start_request()
271 ncp_init_header(server, req, h); in ncpdgram_start_request()
295 struct ncp_request_header* h; in ncptcp_start_request() local
298 h = req->tx_iov[1].iov_base; in ncptcp_start_request()
299 ncp_init_header(server, req, h); in ncptcp_start_request()
796 struct ncp_request_header *h; in ncp_request2() local
800 h = (struct ncp_request_header *) (server->packet); in ncp_request2()
802 *(__u16 *) & (h->data[0]) = htons(server->current_size - sizeof(*h) - 2); in ncp_request2()
804 h->type = NCP_REQUEST; in ncp_request2()
809 h->task = 2; /* (current->pid) & 0xff; */ in ncp_request2()
810 h->function = function; in ncp_request2()
832 struct ncp_request_header *h; in ncp_connect() local
838 h = (struct ncp_request_header *) (server->packet); in ncp_connect()
839 h->type = NCP_ALLOC_SLOT_REQUEST; in ncp_connect()
840 h->task = 2; /* see above */ in ncp_connect()
841 h->function = 0; in ncp_connect()
843 result = ncp_do_request(server, sizeof(*h), server->packet, server->packet_size); in ncp_connect()
846 server->connection = h->conn_low + (h->conn_high * 256); in ncp_connect()
854 struct ncp_request_header *h; in ncp_disconnect() local
856 h = (struct ncp_request_header *) (server->packet); in ncp_disconnect()
857 h->type = NCP_DEALLOC_SLOT_REQUEST; in ncp_disconnect()
858 h->task = 2; /* see above */ in ncp_disconnect()
859 h->function = 0; in ncp_disconnect()
861 return ncp_do_request(server, sizeof(*h), server->packet, server->packet_size); in ncp_disconnect()