Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ospf.c324 #define TRUNC(addr) ((uchar_t *)(addr) > fragend)
326 interpret_ospf_lsa(int flags, struct lsa *lsa, uchar_t *fragend) in interpret_ospf_lsa() argument
478 if ((uchar_t *)tosmetric + sizeof (tm) > fragend) in interpret_ospf_lsa()
499 if ((uchar_t *)am + sizeof (tm) > fragend) in interpret_ospf_lsa()
712 uchar_t *fragend = (uchar_t *)ospf + fraglen; in interpret_ospf() local
713 if (((uchar_t *)lsa >= fragend) || in interpret_ospf()
715 fragend) || in interpret_ospf()
717 fragend)) { in interpret_ospf()
722 if (interpret_ospf_lsa(flags, lsa, fragend) < 0) { in interpret_ospf()
H A Dsnoop_ospf6.c315 #define TRUNC(addr) ((uchar_t *)(addr) > fragend)
317 interpret_ospf6_lsa(int flags, struct lsa6 *lsa, uchar_t *fragend) in interpret_ospf6_lsa() argument
447 if ((uchar_t *)rl > fragend) in interpret_ospf6_lsa()
758 uchar_t *fragend = (uchar_t *)ospf + fraglen; in interpret_ospf6() local
759 if (((uchar_t *)lsa >= fragend) || in interpret_ospf6()
761 fragend) || in interpret_ospf6()
763 fragend)) { in interpret_ospf6()
768 if (interpret_ospf6_lsa(flags, lsa, fragend) < 0) { in interpret_ospf6()