Lines Matching +defs:val +defs:from
113 * bpmap_delport: deletes an existing entry from the list. Caution - don't
152 int c, val;
154 for (val = 0, c = *str++; c >= '0' && c <= '9'; c = *str++) {
155 val *= 10;
156 val += c - '0';
159 return (val);
163 * (from dlboot_inet.c) (kernel)
164 * Convert a port number from a sockaddr_in expressed
328 * Code adapted from bpmap_rmtcall() in dlboot_inet.c (kernel)
343 struct sockaddr_in *from, /* filled in w/ responder's port/addr */
349 struct rmtcallres pmap_r; /* results from pmap call */
351 struct rpcb_rmtcallres rpcb_r; /* results from rpcb call */
366 xdr_rmtcallres, (caddr_t)&pmap_r, rexmit, wait, to, from,
396 xdr_rpcb_rmtcallres, (caddr_t)&rpcb_r, rexmit, wait, to, from,
424 struct sockaddr_in *to, struct sockaddr_in *from)
457 (caddr_t)&pmap_port, 0, 0, to, from, AUTH_NONE);
483 (char *)&ua, 0, 0, to, from, AUTH_NONE);
525 /* free from head of the list to the tail. */