Lines Matching refs:SLIP_HDRLEN
41 #define SLIP_HDRLEN 16 macro
66 if (caplen < SLIP_HDRLEN || length < SLIP_HDRLEN) { in sl_if_print()
71 caplen -= SLIP_HDRLEN; in sl_if_print()
72 length -= SLIP_HDRLEN; in sl_if_print()
74 ip = (const struct ip *)(p + SLIP_HDRLEN); in sl_if_print()
81 return (caplen + SLIP_HDRLEN); in sl_if_print()
95 return (SLIP_HDRLEN); in sl_if_print()
106 if (caplen < SLIP_HDRLEN) { in sl_bsdos_if_print()
111 length -= SLIP_HDRLEN; in sl_bsdos_if_print()
113 ip = (const struct ip *)(p + SLIP_HDRLEN); in sl_bsdos_if_print()
122 return (SLIP_HDRLEN); in sl_bsdos_if_print()
148 ND_PRINT((ndo, "ip %d: ", length + SLIP_HDRLEN)); in sliplink_print()