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