Lines Matching refs:fd
51 const int fd = bpf::mapRetrieveRW(CLAT_EGRESS_MAP_PATH); in getClatEgressMapFd() local
52 return (fd == -1) ? -errno : fd; in getClatEgressMapFd()
56 const int fd = bpf::retrieveProgram(with_ethernet_header ? CLAT_EGRESS_PROG_ETHER_PATH in getClatEgressProgFd() local
58 return (fd == -1) ? -errno : fd; in getClatEgressProgFd()
62 const int fd = bpf::mapRetrieveRW(CLAT_INGRESS_MAP_PATH); in getClatIngressMapFd() local
63 return (fd == -1) ? -errno : fd; in getClatIngressMapFd()
67 const int fd = bpf::retrieveProgram(with_ethernet_header ? CLAT_INGRESS_PROG_ETHER_PATH in getClatIngressProgFd() local
69 return (fd == -1) ? -errno : fd; in getClatIngressProgFd()
73 const int fd = bpf::mapRetrieveRW(TETHER_INGRESS_MAP_PATH); in getTetherIngressMapFd() local
74 return (fd == -1) ? -errno : fd; in getTetherIngressMapFd()
78 const int fd = bpf::retrieveProgram(with_ethernet_header ? TETHER_INGRESS_PROG_ETHER_PATH in getTetherIngressProgFd() local
80 return (fd == -1) ? -errno : fd; in getTetherIngressProgFd()
84 const int fd = bpf::mapRetrieveRW(TETHER_STATS_MAP_PATH); in getTetherStatsMapFd() local
85 return (fd == -1) ? -errno : fd; in getTetherStatsMapFd()
89 const int fd = bpf::mapRetrieveRW(TETHER_LIMIT_MAP_PATH); in getTetherLimitMapFd() local
90 return (fd == -1) ? -errno : fd; in getTetherLimitMapFd()