u_int olen = length; /* _o_riginal length */
u_int hdr_len = 0;
+ ndo->ndo_protocol = "ppp";
/*
* Here, we assume that p points to the Address and Control
* field (if they present).
u_int length = h->len;
u_int caplen = h->caplen;
+ ndo->ndo_protocol = "ppp_if";
if (caplen < PPP_HDRLEN) {
ND_PRINT("[|ppp]");
return (caplen);
u_int proto;
u_int hdrlen = 0;
+ ndo->ndo_protocol = "ppp_hdlc_if";
if (caplen < 2) {
ND_PRINT("[|ppp]");
return (caplen);
const u_char *q;
u_int i;
+ ndo->ndo_protocol = "ppp_bsdos_if";
if (caplen < PPP_BSDI_HDRLEN) {
ND_PRINT("[|ppp]");
return (caplen);