int fd, family;
struct sockaddr_nl nladdr;
struct msghdr msg;
- char buf[8192];
+ char buf[16384];
struct iovec iov[3];
if ((fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_INET_DIAG)) < 0)
static int tcp_show_netlink_file(struct filter *f)
{
FILE *fp;
- char buf[8192];
+ char buf[16384];
if ((fp = fopen(getenv("TCPDIAG_FILE"), "r")) == NULL) {
perror("fopen($TCPDIAG_FILE)");
int (* show_one_sock)(struct nlmsghdr *nlh, struct filter *f))
{
int fd;
- char buf[8192];
+ char buf[16384];
if ((fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_INET_DIAG)) < 0)
return -1;
struct nlmsghdr nlh;
struct packet_diag_req r;
} req;
- char buf[8192];
+ char buf[16384];
if ((fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_INET_DIAG)) < 0)
return -1;