* POSSIBILITY OF SUCH DAMAGE.
*/
+/* \summary: IPv4 mobility printer */
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#include <tcpdump-stdinc.h>
+#include <netdissect-stdinc.h>
-#include "interface.h"
+#include "netdissect.h"
#include "addrtoname.h"
-#include "extract.h" /* must come after interface.h */
+#include "extract.h"
#define MOBILE_SIZE (8)
}
ND_PRINT((ndo, "mobile: "));
- proto = EXTRACT_16BITS(&mob->proto);
- crc = EXTRACT_16BITS(&mob->hcheck);
+ proto = EXTRACT_BE_U_2(&mob->proto);
+ crc = EXTRACT_BE_U_2(&mob->hcheck);
if (proto & OSRC_PRES) {
osp=1;
}