Lines Matching refs:proto
50 #include "proto.h"
216 link_ProtocolRecord(struct link *l, u_short proto, int type)
221 if (ProtocolStat[i].number == proto)
249 u_short proto)
266 bp = (*l->layer[layer - 1]->push)(b, l, bp, pri, &proto);
270 log_Printf(LogDEBUG, "link_PushPacket: Transmit proto 0x%04x\n", proto);
279 u_short lproto[LAYER_MAX], proto;
310 proto = lproto[layer];
313 bp = (*l->layer[layer]->pull)(b, l, bp, &proto);
320 log_Printf(LogDEBUG, "link_PullPacket: Despatch proto 0x%04x\n", proto);
321 Despatch(b, l, bp, proto);
326 lproto[layer] = proto;
350 u_short proto;
373 Despatch(struct bundle *bundle, struct link *l, struct mbuf *bp, u_short proto)
378 if (despatcher[f].proto == proto) {
387 f == DSIZE ? "Unknown" : "Unexpected", proto,
388 hdlc_Protocol2Nam(proto));
389 bp = m_pullup(proto_Prepend(bp, proto, 0, 0));