Lines Matching full:async
43 * This node type implements a PPP style sync <-> async converter.
62 static MALLOC_DEFINE(M_NETGRAPH_ASYNC, "netgraph_async", "netgraph async node");
67 /* Async decode state */
75 hook_p async; /* Asynchronous side */ member
77 u_char amode; /* Async hunt/esape mode */
78 u_int16_t fcs; /* Decoded async FCS (so far) */
80 u_char *sbuf; /* Buffer to decode async into */
82 long lasttime; /* Time of last async packet sent */
166 NETGRAPH_INIT(async, &typestruct);
213 hookp = &sc->async; in nga_newhook()
244 if (hook == sc->async) in nga_rcvdata()
357 if (hook == sc->async) in nga_disconnect()
358 hookp = &sc->async; in nga_disconnect()
379 * Encode a byte into the async buffer
411 NG_FWD_ITEM_HOOK(error, item, sc->async ); in nga_rcv_sync()
446 /* Initialize async encoded version of input mbuf */ in nga_rcv_sync()
478 NG_FWD_NEW_DATA(error, item, sc->async, m); in nga_rcv_sync()