Home
last modified time | relevance | path

Searched refs:mld2q (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/
H A Damt.c810 struct mld2_query *mld2q; in amt_build_mld_gq() local
817 len = hlen + tlen + sizeof(*ip6h) + sizeof(ra) + sizeof(*mld2q); in amt_build_mld_gq()
830 skb_put_zero(skb, sizeof(*mld2q)); in amt_build_mld_gq()
834 ip6h->payload_len = htons(sizeof(ra) + sizeof(*mld2q)); in amt_build_mld_gq()
853 mld2q = (struct mld2_query *)icmp6_hdr(skb); in amt_build_mld_gq()
854 mld2q->mld2q_mrc = htons(1); in amt_build_mld_gq()
855 mld2q->mld2q_type = ICMPV6_MGM_QUERY; in amt_build_mld_gq()
856 mld2q->mld2q_code = 0; in amt_build_mld_gq()
857 mld2q->mld2q_cksum = 0; in amt_build_mld_gq()
858 mld2q->mld2q_resv1 = 0; in amt_build_mld_gq()
[all …]
/linux/net/bridge/
H A Dbr_multicast.c1086 struct mld2_query *mld2q; in br_ip6_multicast_alloc_query() local
1100 mld_hdr_size = sizeof(*mld2q); in br_ip6_multicast_alloc_query()
1187 mld2q = (struct mld2_query *)icmp6_hdr(skb); in br_ip6_multicast_alloc_query()
1188 mld2q->mld2q_mrc = htons((u16)jiffies_to_msecs(interval)); in br_ip6_multicast_alloc_query()
1189 mld2q->mld2q_type = ICMPV6_MGM_QUERY; in br_ip6_multicast_alloc_query()
1190 mld2q->mld2q_code = 0; in br_ip6_multicast_alloc_query()
1191 mld2q->mld2q_cksum = 0; in br_ip6_multicast_alloc_query()
1192 mld2q->mld2q_resv1 = 0; in br_ip6_multicast_alloc_query()
1193 mld2q->mld2q_resv2 = 0; in br_ip6_multicast_alloc_query()
1194 mld2q->mld2q_suppress = sflag; in br_ip6_multicast_alloc_query()
[all …]