Searched refs:NFA_LENGTH (Results 1 – 6 of 6) sorted by relevance
43 #define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct nfattr)) + (len)) macro44 #define NFA_SPACE(len) NFA_ALIGN(NFA_LENGTH(len))45 #define NFA_DATA(nfa) ((void *)(((char *)(nfa)) + NFA_LENGTH(0)))46 #define NFA_PAYLOAD(nfa) ((int)((nfa)->nfa_len) - NFA_LENGTH(0))
40 #define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct nfattr)) + (len)) macro41 #define NFA_SPACE(len) NFA_ALIGN(NFA_LENGTH(len))42 #define NFA_DATA(nfa) ((void *)(((char *)(nfa)) + NFA_LENGTH(0)))43 #define NFA_PAYLOAD(nfa) ((int)((nfa)->nfa_len) - NFA_LENGTH(0))
42 #define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct nfattr)) + (len)) macro43 #define NFA_SPACE(len) NFA_ALIGN(NFA_LENGTH(len))44 #define NFA_DATA(nfa) ((void *)(((char *)(nfa)) + NFA_LENGTH(0)))45 #define NFA_PAYLOAD(nfa) ((int)((nfa)->nfa_len) - NFA_LENGTH(0))
276 char buf[NFNL_HEADER_LEN + NFA_LENGTH(sizeof(struct xt_osf_user_finger))]; in osf_load_line()
878 int len = NFA_LENGTH(alen); in nfnl_addattr_l()912 int len = NFA_LENGTH(alen); in nfnl_nfa_addattr_l()
343 nfa->nfa_len = NFA_LENGTH(mynfa->nfa_len); in netfilter_send_config_msg()