Lines Matching refs:PTR_IP
3629 #define PTR_IP(field) (offsetof(struct ip, field)) macro
3693 ptr = PTR_IP(ip_tos); in pf_translate_icmp_af()
3696 ptr = PTR_IP(ip_len); in pf_translate_icmp_af()
3698 ptr = PTR_IP(ip_p); in pf_translate_icmp_af()
3700 ptr = PTR_IP(ip_ttl); in pf_translate_icmp_af()
3703 ptr = PTR_IP(ip_src); in pf_translate_icmp_af()
3706 ptr = PTR_IP(ip_dst); in pf_translate_icmp_af()
3810 if (ptr == 0 || ptr == PTR_IP(ip_tos)) in pf_translate_icmp_af()
3812 else if (ptr == PTR_IP(ip_len) || in pf_translate_icmp_af()
3813 ptr == PTR_IP(ip_len) + 1) in pf_translate_icmp_af()
3815 else if (ptr == PTR_IP(ip_ttl)) in pf_translate_icmp_af()
3817 else if (ptr == PTR_IP(ip_p)) in pf_translate_icmp_af()
3819 else if (ptr >= PTR_IP(ip_src) && ptr < PTR_IP(ip_dst)) in pf_translate_icmp_af()
3821 else if (ptr >= PTR_IP(ip_dst) && in pf_translate_icmp_af()