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