Lines Matching defs:tcp
17 #include <linux/tcp.h>
652 void *iph, struct tcphdr *tcp)
665 if (iph != NULL && tcp != NULL) {
672 if (bpf_tcp_check_syncookie(sk, iph, iphlen, tcp,
673 sizeof(*tcp)) == 0) {
823 struct tcphdr *tcp = buf_assign(pkt, sizeof(_tcp), &_tcp);
824 if (tcp == NULL) {
829 if (tcp->syn) {
835 fill_tuple(&tuple, iph, iphlen, tcp->source, tcp->dest);
836 return classify_tcp(pkt->skb, &tuple, tuplen, iph, tcp);