Lines Matching defs:protocol
59 static err_t pppos_netif_output(ppp_pcb *ppp, void *ctx, struct pbuf *pb, u16_t protocol);
247 pppos_netif_output(ppp_pcb *ppp, void *ctx, struct pbuf *pb, u16_t protocol)
277 if (!pppos->pcomp || protocol > 0xFF) {
278 err = pppos_output_append(pppos, err, nb, (protocol >> 8) & 0xFF, 1, &fcs_out);
280 err = pppos_output_append(pppos, err, nb, protocol & 0xFF, 1, &fcs_out);
294 PPPDEBUG(LOG_INFO, ("pppos_netif_output[%d]: proto=0x%"X16_F", len = %d\n", ppp->netif->num, protocol, pb->tot_len));
296 PPPDEBUG(LOG_WARNING, ("pppos_netif_output[%d]: output failed proto=0x%"X16_F", len = %d\n", ppp->netif->num, protocol, pb->tot_len));
601 * fall through to get the protocol... */
617 case PDPROTOCOL1: /* Process protocol field 1. */
618 /* If the lower bit is set, this is the end of the protocol
628 case PDPROTOCOL2: /* Process protocol field 2. */