]> The Tcpdump Group git mirrors - tcpdump/blobdiff - decode_prefix.h
Add some attribute/TLV length checks.
[tcpdump] / decode_prefix.h
index b73847142f0230a5bce2dfce11c2cf1639600594..8bb4a76750a592f67d8eb700da2a75c6f5e45a5b 100644 (file)
@@ -33,9 +33,9 @@
 #ifndef tcpdump_decode_prefix_h
 #define tcpdump_decode_prefix_h
 
-extern int decode_prefix4(const u_char *pptr, char *buf, u_int buflen);
+extern int decode_prefix4(const u_char *pptr, u_int itemlen, char *buf, u_int buflen);
 #ifdef INET6
-extern int decode_prefix6(const u_char *pd, char *buf, u_int buflen);
+extern int decode_prefix6(const u_char *pd, u_int itemlen, char *buf, u_int buflen);
 #endif
 
 #endif