Home
last modified time | relevance | path

Searched refs:xtopt_psize (Results 1 – 1 of 1) sorted by relevance

/third_party/iptables/libxtables/
Dxtoptions.c44 static const size_t xtopt_psize[] = { variable
161 return xtopt_psize[XTTYPE_UINT8]; in xtopt_esize_by_type()
163 return xtopt_psize[XTTYPE_UINT16]; in xtopt_esize_by_type()
165 return xtopt_psize[XTTYPE_UINT32]; in xtopt_esize_by_type()
167 return xtopt_psize[XTTYPE_UINT64]; in xtopt_esize_by_type()
169 return xtopt_psize[type]; in xtopt_esize_by_type()
880 if (entry->type >= ARRAY_SIZE(xtopt_psize) || in xtables_option_metavalidate()
881 xtopt_psize[entry->type] == 0) in xtables_option_metavalidate()
886 if (xtopt_psize[entry->type] != -1 && in xtables_option_metavalidate()
887 xtopt_psize[entry->type] != entry->size) in xtables_option_metavalidate()
[all …]