]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - tc/m_pedit.h
man: tc-taprio.8: fix syntax error
[mirror_iproute2.git] / tc / m_pedit.h
index 0bc0297100f03b85c059264f29e9bcfdef5d6042..5d3628a70b99fafaf24c8eab7c2658f2a93bf0e3 100644 (file)
@@ -16,7 +16,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
-#include <syslog.h>
 #include <fcntl.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
@@ -72,23 +71,7 @@ struct m_pedit_util {
                               struct m_pedit_key *tkey);
 };
 
-extern int pack_key(struct m_pedit_sel *sel, struct m_pedit_key *tkey);
-extern int pack_key32(__u32 retain, struct m_pedit_sel *sel,
-                     struct m_pedit_key *tkey);
-extern int pack_key16(__u32 retain, struct m_pedit_sel *sel,
-                     struct m_pedit_key *tkey);
-extern int pack_key8(__u32 retain, struct m_pedit_sel *sel,
-                    struct m_pedit_key *tkey);
-extern int parse_val(int *argc_p, char ***argv_p, __u32 *val, int type);
-extern int parse_cmd(int *argc_p, char ***argv_p, __u32 len, int type,
-                    __u32 retain,
-                    struct m_pedit_sel *sel, struct m_pedit_key *tkey);
-extern int parse_offset(int *argc_p, char ***argv_p,
-                       struct m_pedit_sel *sel, struct m_pedit_key *tkey);
-int parse_pedit(struct action_util *a, int *argc_p, char ***argv_p,
-               int tca_id, struct nlmsghdr *n);
-extern int print_pedit(struct action_util *au, FILE *f, struct rtattr *arg);
-extern int pedit_print_xstats(struct action_util *au, FILE *f,
-                             struct rtattr *xstats);
-
+int parse_cmd(int *argc_p, char ***argv_p, __u32 len, int type,
+             __u32 retain,
+             struct m_pedit_sel *sel, struct m_pedit_key *tkey);
 #endif