Lines Matching defs:protocol
5 * if_ppp.c - Point-to-Point Protocol (PPP) Asynchronous driver.
618 * Found a handler for the protocol - try to allocate
663 switch (npi->protocol) {
870 int protocol, address, control;
899 protocol = PPP_IP;
915 protocol = PPP_IPV6;
932 protocol = PPP_PROTOCOL(dst->sa_data);
966 *cp++ = protocol >> 8;
967 *cp++ = protocol & 0xff;
976 if ((protocol & 0x8000) == 0) {
1110 * protocol field compression to the packet.
1117 int address, control, protocol;
1154 protocol = PPP_PROTOCOL(cp);
1156 switch (protocol) {
1183 protocol = PPP_VJC_UNCOMP;
1186 protocol = PPP_VJC_COMP;
1193 /* Update protocol in PPP header */
1194 cp[3] = protocol;
1208 if (protocol != PPP_LCP && protocol != PPP_CCP &&
1227 protocol = cp[3];
1240 * Compress the address/control and protocol, if possible.
1243 control == PPP_UI && protocol != PPP_ALLSTATIONS &&
1244 protocol != PPP_LCP) {
1249 if (sc->sc_flags & SC_COMP_PROT && protocol < 0xFF) {
1250 /* can compress protocol */
1418 * the address/control bytes and the protocol high byte if they
1717 * Some other protocol - place on input queue for read().
1741 /* ifq: other protocol cases */