patch-include_iptables_h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --- iproute2-3.12.0.orig/include/iptables.h 2013-11-23 02:10:33.000000000 +0100
  2. +++ iproute2-3.12.0/include/iptables.h 2014-04-05 05:22:26.690501973 +0200
  3. @@ -20,7 +20,7 @@ struct ipt_get_revision
  4. {
  5. char name[IPT_FUNCTION_MAXNAMELEN-1];
  6. - u_int8_t revision;
  7. + uint8_t revision;
  8. };
  9. #endif /* IPT_SO_GET_REVISION_MATCH Old kernel source */
  10. @@ -39,7 +39,7 @@ struct iptables_match
  11. ipt_chainlabel name;
  12. /* Revision of match (0 by default). */
  13. - u_int8_t revision;
  14. + uint8_t revision;
  15. const char *version;
  16. @@ -92,7 +92,7 @@ struct iptables_target
  17. ipt_chainlabel name;
  18. /* Revision of target (0 by default). */
  19. - u_int8_t revision;
  20. + uint8_t revision;
  21. const char *version;
  22. @@ -153,7 +153,7 @@ extern char *mask_to_dotted(const struct
  23. extern void parse_hostnetworkmask(const char *name, struct in_addr **addrpp,
  24. struct in_addr *maskp, unsigned int *naddrs);
  25. -extern u_int16_t parse_protocol(const char *s);
  26. +extern uint16_t parse_protocol(const char *s);
  27. extern int do_command(int argc, char *argv[], char **table,
  28. iptc_handle_t *handle);