Lines Matching refs:iphdr
1499 const struct iphdr *iph = ip_hdr(skb); in cipso_v4_optptr()
1504 for (optlen = iph->ihl*4 - sizeof(struct iphdr); optlen > 1; ) { in cipso_v4_optptr()
1731 opt->optlen = ip_hdr(skb)->ihl*4 - sizeof(struct iphdr); in cipso_v4_error()
1898 opt->opt.cipso = sizeof(struct iphdr); in cipso_v4_sock_setattr()
1974 opt->opt.cipso = sizeof(struct iphdr); in cipso_v4_req_setattr()
2014 cipso_off = opt->opt.cipso - sizeof(struct iphdr); in cipso_v4_delopt()
2155 sizeof(struct iphdr), in cipso_v4_sock_getattr()
2177 struct iphdr *iph; in cipso_v4_skbuff_setattr()
2221 opt->cipso = sizeof(struct iphdr); in cipso_v4_skbuff_setattr()
2254 struct iphdr *iph; in cipso_v4_skbuff_delattr()
2270 hdr_len_actual = sizeof(struct iphdr) + in cipso_v4_skbuff_delattr()