nm_tags.h
Go to the documentation of this file.
35static inline int nm_core_tag_match(nm_core_tag_t recv_tag, nm_core_tag_t lookup_tag, nm_core_tag_t mask)
130__PUK_SYM_INTERNAL void nm_unexpected_wildcard_clean(struct nm_unexpected_wildcard_list_s*p_unexpected);
131static inline void nm_matching_wildcard_ctor(struct nm_matching_wildcard_s*p_wildcard, nm_core_tag_t tag __attribute__((unused)))
142static inline struct nm_matching_wildcard_s*nm_matching_wildcard_bytag(struct nm_core*p_core, nm_core_tag_t core_tag);
150static inline void nm_matching_tag_ctor(struct nm_matching_tag_s*p_matching_tag, nm_core_tag_t tag __attribute__((unused)))
155static inline void nm_matching_tag_dtor(struct nm_matching_tag_s*p_matching_tag __attribute__((unused)))
assert(p_data->ops.p_traversal !=NULL)
static int nm_core_tag_heq(const nm_core_tag_t *p_tag1, const nm_core_tag_t *p_tag2)
checks whether tags are equal, for hashtables.
Definition nm_tags.h:48
static int nm_core_tag_match(nm_core_tag_t recv_tag, nm_core_tag_t lookup_tag, nm_core_tag_t mask)
checks whether matching applies on tags- (recv_tag & mask) == lookup_tag
Definition nm_tags.h:35
static void nm_matching_tag_dtor(struct nm_matching_tag_s *p_matching_tag __attribute__((unused)))
Definition nm_tags.h:155
static int nm_core_tag_eq(const nm_core_tag_t tag1, const nm_core_tag_t tag2)
checks whether tags are equal.
Definition nm_tags.h:30
static void nm_matching_wildcard_ctor(struct nm_matching_wildcard_s *p_wildcard, nm_core_tag_t tag __attribute__((unused)))
Definition nm_tags.h:131
#define NM_TAG_TABLE_TYPE(NAME, ENTRY_TYPE)
macro to generate tables indexed by tags
Definition nm_tags.h:57
static void nm_matching_wildcard_dtor(struct nm_matching_wildcard_s *p_wildcard)
Definition nm_tags.h:136
static struct nm_matching_wildcard_s * nm_matching_wildcard_bytag(struct nm_core *p_core, nm_core_tag_t core_tag)
get the wildcard structure from a full tag, using only its hashcode
__PUK_SYM_INTERNAL void nm_unexpected_wildcard_clean(struct nm_unexpected_wildcard_list_s *p_unexpected)
static void nm_matching_tag_ctor(struct nm_matching_tag_s *p_matching_tag, nm_core_tag_t tag __attribute__((unused)))
Definition nm_tags.h:150
struct to store matching info for any-source requests of a given tag
Definition nm_tags.h:146
struct to store matching info for wildcard requests, one per session
Definition nm_tags.h:126
struct nm_req_list_s unpacks
list of wildcards unpacks; non-wildcard unpacks are in nm_gtag_s
Definition nm_tags.h:127
struct nm_unexpected_wildcard_list_s unexpected
global list of unexpected chunks
Definition nm_tags.h:128