Searched refs:off_dport (Results 1 - 2 of 2) sorted by path
/linux-master/tools/testing/selftests/net/lib/ |
H A D | csum.c | 495 static void __recv_prepare_packet_filter(int fd, int off_nexthdr, int off_dport) argument 502 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, off_dport), 517 const int off_dport = offsetof(struct tcphdr, dest); /* same for udp */ local 521 sizeof(struct iphdr) + off_dport); 524 sizeof(struct ipv6hdr) + off_dport);
|
/linux-master/tools/testing/selftests/net/ |
H A D | toeplitz.c | 287 static void __set_filter(int fd, int off_proto, uint8_t proto, int off_dport) argument 294 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, off_dport), 310 const int off_dport = offsetof(struct tcphdr, dest); /* same for udp */ local 316 sizeof(struct iphdr) + off_dport); 319 sizeof(struct ip6_hdr) + off_dport);
|
Completed in 323 milliseconds