Lines Matching refs:proto
51 #include "proto.h"
111 protoname(int proto)
136 if (proto < 0 || (unsigned)proto > sizeof cftypes / sizeof *cftypes ||
137 cftypes[proto] == NULL) {
138 if (proto == -1)
140 return HexStr(proto, NULL, 0);
143 return cftypes[proto];
719 int pri, u_short *proto)
721 if (PROTO_COMPRESSIBLE(*proto)) {
732 (l->ccp.out.state, &l->ccp, l, pri, proto, bp);
733 switch (*proto) {
749 u_short *proto)
752 * If proto isn't PROTO_[I]COMPD, we still want to pass it to the
756 if (*proto == PROTO_COMPD || *proto == PROTO_ICOMPD) {
764 (l->ccp.in.state, &l->ccp, proto, bp);
765 switch (*proto) {
777 } else if (PROTO_COMPRESSIBLE(*proto) && l->ccp.in.state != NULL) {
780 (l->ccp.in.state, &l->ccp, *proto, bp);