Home
last modified time | relevance | path

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

/external/kernel-headers/original/linux/
Dnetfilter.h278 const struct nf_afinfo *afinfo; in nf_checksum() local
282 afinfo = nf_get_afinfo(family); in nf_checksum()
283 if (afinfo) in nf_checksum()
284 csum = afinfo->checksum(skb, hook, dataoff, protocol); in nf_checksum()
294 const struct nf_afinfo *afinfo; in nf_checksum_partial() local
298 afinfo = nf_get_afinfo(family); in nf_checksum_partial()
299 if (afinfo) in nf_checksum_partial()
300 csum = afinfo->checksum_partial(skb, hook, dataoff, len, in nf_checksum_partial()
306 extern int nf_register_afinfo(const struct nf_afinfo *afinfo);
307 extern void nf_unregister_afinfo(const struct nf_afinfo *afinfo);
/external/iproute2/include/
Dxt-internal.h9 struct afinfo { struct
54 extern struct afinfo afinfo;
/external/iproute2/
Dconfigure75 struct afinfo afinfo = {
115 struct afinfo afinfo = {
/external/iptables/iptables/
Dxtables.c163 const struct xtables_afinfo *afinfo; variable
214 afinfo = &afinfo_ipv4; in xtables_set_nfproto()
217 afinfo = &afinfo_ipv6; in xtables_set_nfproto()
402 if (proc_file_exists(afinfo->proc_exists)) { in xtables_load_ko()
407 ret = xtables_insmod(afinfo->kmod, modprobe, quiet); in xtables_load_ko()
640 ptr = load_extension(xtables_libdir, afinfo->libprefix, in xtables_find_match()
713 ptr = load_extension(xtables_libdir, afinfo->libprefix, in xtables_find_target()
746 sockfd = socket(afinfo->family, SOCK_RAW, IPPROTO_RAW); in compatible_revision()
773 max_rev = getsockopt(sockfd, afinfo->ipproto, opt, &rev, &s); in compatible_revision()
796 return compatible_revision(name, revision, afinfo->so_rev_match); in compatible_match_revision()
[all …]
Dxshared.h85 extern const struct xtables_afinfo *afinfo;
Dxtoptions.c516 struct addrinfo hints = {.ai_family = afinfo->family}; in xtopt_parse_host()
527 cb->val.hlen = (afinfo->family == NFPROTO_IPV4) ? 32 : 128; in xtopt_parse_host()
679 cb->val.hlen = (afinfo->family == NFPROTO_IPV4) ? 32 : 128; in xtopt_parse_plen()
/external/iproute2/tc/
Dm_xt_old.c70 struct afinfo afinfo = { variable