File:  [ELWIX - Embedded LightWeight unIX -] / fwsync / driver / Attic / fwsync_utils.h
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Fri Jul 15 10:46:17 2022 UTC (23 months, 2 weeks ago) by misho
Branches: MAIN
CVS tags: HEAD
import hash functions from ip_fw_dynamic.c

    1: /*************************************************************************
    2: * (C) 2022 CloudSigma AG - Sofia/Bulgaria
    3: *  by Michael Pounov <misho@elwix.org>
    4: **************************************************************************/
    5: #ifndef __FWSYNC_UTILS_H
    6: #define __FWSYNC_UTILS_H
    7: 
    8: 
    9: __inline uint32_t fwsync_hash_packet(const struct ipfw_flow_id *id);
   10: __inline uint32_t fwsync_hash_parent(const struct ipfw_flow_id *id, const void *rule);
   11: __inline uint32_t fwsync_hash_packet6(const struct ipfw_flow_id *id);
   12: 
   13: 
   14: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>