Lines Matching refs:bpf_sock_tuple
88 offsetofend(struct bpf_sock_tuple, ipv4.dport) -
89 offsetof(struct bpf_sock_tuple, ipv4.sport) - 1,
90 "flow_ports_t must match sport and dport in struct bpf_sock_tuple");
93 offsetofend(struct bpf_sock_tuple, ipv6.dport) -
94 offsetof(struct bpf_sock_tuple, ipv6.sport) - 1,
95 "flow_ports_t must match sport and dport in struct bpf_sock_tuple");
501 /* Fill a bpf_sock_tuple to be used with the socket lookup functions.
511 static uint64_t fill_tuple(struct bpf_sock_tuple *tuple, void *iph,
540 static verdict_t classify_tcp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple,
572 static verdict_t classify_udp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, uint64_t tuplen)
589 static verdict_t classify_icmp(struct __sk_buff *skb, uint8_t proto, struct bpf_sock_tuple *tuple,
641 struct bpf_sock_tuple tuple;
657 struct bpf_sock_tuple tuple;
709 struct bpf_sock_tuple tuple;
732 struct bpf_sock_tuple tuple;