Searched refs:PTR_IP (Results 1 – 1 of 1) sorted by relevance
3612 #define PTR_IP(field) (offsetof(struct ip, field)) macro3676 ptr = PTR_IP(ip_tos); in pf_translate_icmp_af()3679 ptr = PTR_IP(ip_len); in pf_translate_icmp_af()3681 ptr = PTR_IP(ip_p); in pf_translate_icmp_af()3683 ptr = PTR_IP(ip_ttl); in pf_translate_icmp_af()3686 ptr = PTR_IP(ip_src); in pf_translate_icmp_af()3689 ptr = PTR_IP(ip_dst); in pf_translate_icmp_af()3793 if (ptr == 0 || ptr == PTR_IP(ip_tos)) in pf_translate_icmp_af()3795 else if (ptr == PTR_IP(ip_len) || in pf_translate_icmp_af()3796 ptr == PTR_IP(ip_len) + 1) in pf_translate_icmp_af()[all …]