Searched refs:off_dport (Results 1 – 1 of 1) sorted by relevance
285 static void __set_filter(int fd, int off_proto, uint8_t proto, int off_dport) in __set_filter() argument292 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, off_dport), in __set_filter()308 const int off_dport = offsetof(struct tcphdr, dest); /* same for udp */ in set_filter() local314 sizeof(struct iphdr) + off_dport); in set_filter()317 sizeof(struct ip6_hdr) + off_dport); in set_filter()