Home
last modified time | relevance | path

Searched refs:protoinfo (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ppp.c323 ppp_protoinfo_t *protoinfo; in interpret_ppp() local
332 protoinfo = ppp_getprotoinfo(protocol); in interpret_ppp()
336 "PPP Protocol=0x%x (%s)", protocol, protoinfo->name); in interpret_ppp()
341 protocol, protoinfo->name); in interpret_ppp()
345 if (protoinfo->interpret_proto != NULL) { in interpret_ppp()
346 len = protoinfo->interpret_proto(flags, payload, len, in interpret_ppp()
347 protoinfo); in interpret_ppp()
360 interpret_ppp_cp(int flags, uchar_t *data, int len, ppp_protoinfo_t *protoinfo) in interpret_ppp_cp() argument
384 "%s%s", protoinfo->prefix, codestr); in interpret_ppp_cp()
386 show_header(protoinfo->prefix, protoinfo->description, len); in interpret_ppp_cp()
[all …]