hdr_stg
static int check_hdr_stg(const struct hdr_stg *exp, int fd,
struct hdr_stg act;
static struct hdr_stg exp_passive_hdr_stg;
static struct hdr_stg exp_active_hdr_stg = { .active = true, };
static void print_hdr_stg(const struct hdr_stg *hdr_stg, const char *prefix)
prefix ? : "", hdr_stg->active, hdr_stg->resend_syn,
hdr_stg->syncookie, hdr_stg->fastopen);
struct hdr_stg *hdr_stg;
hdr_stg = bpf_sk_storage_get(&hdr_stg_map, skops->sk, NULL, 0);
if (!hdr_stg)
if (hdr_stg->active)
struct hdr_stg *hdr_stg;
hdr_stg = bpf_sk_storage_get(&hdr_stg_map, skops->sk, NULL, 0);
if (!hdr_stg)
if (hdr_stg->active)
struct hdr_stg *hdr_stg;
hdr_stg = bpf_sk_storage_get(&hdr_stg_map, skops->sk, NULL, 0);
if (!hdr_stg)
return !!hdr_stg->resend_syn;
__type(value, struct hdr_stg);
struct hdr_stg init_stg = {
struct hdr_stg init_stg = {};
struct hdr_stg *hdr_stg;
hdr_stg = bpf_sk_storage_get(&hdr_stg_map, skops->sk, NULL, 0);
if (!hdr_stg)
if (hdr_stg->resend_syn || hdr_stg->fastopen)
if (hdr_stg->resend_syn && !active_fin_out.flags)
if (hdr_stg->fastopen && !passive_fin_out.flags)
if (hdr_stg->active)