Lines Matching refs:iph
669 struct iphdr *iph; in igmp_send_report() local
706 iph = ip_hdr(skb); in igmp_send_report()
709 iph->version = 4; in igmp_send_report()
710 iph->ihl = (sizeof(struct iphdr)+4)>>2; in igmp_send_report()
711 iph->tos = 0xc0; in igmp_send_report()
712 iph->frag_off = htons(IP_DF); in igmp_send_report()
713 iph->ttl = 1; in igmp_send_report()
714 iph->daddr = dst; in igmp_send_report()
715 iph->saddr = fl4.saddr; in igmp_send_report()
716 iph->protocol = IPPROTO_IGMP; in igmp_send_report()
718 ((u8 *)&iph[1])[0] = IPOPT_RA; in igmp_send_report()
719 ((u8 *)&iph[1])[1] = 4; in igmp_send_report()
720 ((u8 *)&iph[1])[2] = 0; in igmp_send_report()
721 ((u8 *)&iph[1])[3] = 0; in igmp_send_report()