Home | History | Annotate | Download | only in tc
      1 /*
      2  * m_pedit_udp.c	packet editor: UDP header
      3  *
      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.
      8  *
      9  * Authors:  J Hadi Salim (hadi (at) cyberus.ca)
     10  *
     11  */
     12 
     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"
     25 
     26 static int
     27 parse_udp(int *argc_p, char ***argv_p,struct tc_pedit_sel *sel,struct tc_pedit_key *tkey)
     28 {
     29 	int res = -1;
     30 	return res;
     31 }
     32 
     33 struct m_pedit_util p_pedit_udp = {
     34 	NULL,
     35 	"udp",
     36 	parse_udp,
     37 };
     38 
     39