Tomato 1.28
[tomato.git] / release / src / router / iproute2 / tc / p_tcp.c
blobaab37a602d56826d9dfd7167c0c6126dd92bbbf5
1 /*
2 * m_pedit_tcp.c packet editor: TCP header
4 * This program is free software; you can distribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
9 * Authors: J Hadi Salim (hadi@cyberus.ca)
13 #include <stdio.h>
14 #include <stdlib.h>
15 #include <unistd.h>
16 #include <syslog.h>
17 #include <fcntl.h>
18 #include <sys/socket.h>
19 #include <netinet/in.h>
20 #include <arpa/inet.h>
21 #include <string.h>
22 #include "utils.h"
23 #include "tc_util.h"
24 #include "m_pedit.h"
26 static int
27 parse_tcp(int *argc_p, char ***argv_p,struct tc_pedit_sel *sel,struct tc_pedit_key *tkey)
29 int res = -1;
30 return res;
32 struct m_pedit_util p_pedit_tcp = {
33 NULL,
34 "tcp",
35 parse_tcp,