Logo Search packages:      
Sourcecode: libnl version File versions  Download package

u32.h

/*
 * netlink/route/cls/u32.h    u32 classifier
 *
 *          This program is free software; you can redistribute it and/or
 *          modify it under the terms of the GNU General Public License
 *          as published by the Free Software Foundation; either version
 *          2 of the License, or (at your option) any later version.
 *
 * Copyright (c) 2003-2005 Thomas Graf <tgraf@suug.ch>
 */

#ifndef NETLINK_U32_H_
#define NETLINK_U32_H_

#include <netlink/netlink.h>
#include <netlink/cache.h>

extern void rtnl_u32_set_handle(struct rtnl_cls *, int, int, int);
extern int  rtnl_u32_set_classid(struct rtnl_cls *, uint32_t);

extern int  rtnl_u32_set_flags(struct rtnl_cls *, int);
extern int  rtnl_u32_add_key(struct rtnl_cls *, uint32_t, uint32_t,
                         int, int);
extern int  rtnl_u32_add_key_uint8(struct rtnl_cls *, uint8_t, uint8_t,
                               int, int);
extern int  rtnl_u32_add_key_uint16(struct rtnl_cls *, uint16_t, uint16_t,
                              int, int);
extern int  rtnl_u32_add_key_uint32(struct rtnl_cls *, uint32_t, uint32_t,
                              int, int);
extern int  rtnl_u32_add_key_in_addr(struct rtnl_cls *, struct in_addr *,
                               uint8_t, int, int);
extern int  rtnl_u32_add_key_in6_addr(struct rtnl_cls *, struct in6_addr *,
                                uint8_t, int, int);

#endif

Generated by  Doxygen 1.6.0   Back to index