Mercurial > hg > toybox
comparison toys/pending/netstat.c @ 1104:e11684e3bbc5 draft
Merge toynet.h into toys.h: musl supports it and micromanaging uClibc config options isn't very interesting anymore.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 02 Nov 2013 14:24:33 -0500 |
parents | cbc467592b2e |
children | 0752b2d58909 |
comparison
equal
deleted
inserted
replaced
1103:bc09fa708d94 | 1104:e11684e3bbc5 |
---|---|
27 -p Display PID/Program name for sockets. | 27 -p Display PID/Program name for sockets. |
28 */ | 28 */ |
29 | 29 |
30 #define FOR_netstat | 30 #define FOR_netstat |
31 #include "toys.h" | 31 #include "toys.h" |
32 #include "toynet.h" | |
33 #include <net/route.h> | 32 #include <net/route.h> |
34 | 33 |
35 typedef union _iaddr { | 34 typedef union _iaddr { |
36 unsigned u; | 35 unsigned u; |
37 unsigned char b[4]; | 36 unsigned char b[4]; |