chiark / gitweb /
pathmtu/pathmtu.c: Use newer-style type names in pseudoheader struct.
[tripe] / pathmtu / pathmtu.c
index a3526331503bd8552cbcbf2812453132d353bd89..5570278738421abaeb011ef7562e3d867efb6bb2 100644 (file)
@@ -434,8 +434,8 @@ static unsigned ipcksum(const void *buf, size_t n, unsigned a)
 /* TCP/UDP pseudoheader structure. */
 struct phdr {
   struct in_addr ph_src, ph_dst;
-  u_char ph_z, ph_p;
-  u_short ph_len;
+  uint8_t ph_z, ph_p;
+  uint16_t ph_len;
 };
 
 struct raw_state {