Searched refs:mld (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/net/bridge/
H A Dbr_multicast.c31 #include <net/mld.h>
1314 struct mld_msg *mld; br_ip6_multicast_query() local
1337 if (skb->len == sizeof(*mld)) { br_ip6_multicast_query()
1338 if (!pskb_may_pull(skb, sizeof(*mld))) { br_ip6_multicast_query()
1342 mld = (struct mld_msg *) icmp6_hdr(skb); br_ip6_multicast_query()
1343 max_delay = msecs_to_jiffies(ntohs(mld->mld_maxdelay)); br_ip6_multicast_query()
1345 group = &mld->mld_mca; br_ip6_multicast_query()
1761 struct mld_msg *mld; br_multicast_ipv6_rcv() local
1762 if (!pskb_may_pull(skb2, sizeof(*mld))) { br_multicast_ipv6_rcv()
1766 mld = (struct mld_msg *)skb_transport_header(skb2); br_multicast_ipv6_rcv()
1768 err = br_ip6_multicast_add_group(br, port, &mld->mld_mca, vid); br_multicast_ipv6_rcv()
1779 struct mld_msg *mld; br_multicast_ipv6_rcv() local
1780 if (!pskb_may_pull(skb2, sizeof(*mld))) { br_multicast_ipv6_rcv()
1784 mld = (struct mld_msg *)skb_transport_header(skb2); br_multicast_ipv6_rcv()
1785 br_ip6_multicast_leave_group(br, port, &mld->mld_mca, vid); br_multicast_ipv6_rcv()
/linux-4.1.27/net/ipv6/
H A Dmcast.c21 * <draft-ietf-magma-mld-source-05.txt>.
48 #include <net/mld.h>
1237 static int mld_process_v1(struct inet6_dev *idev, struct mld_msg *mld, mld_process_v1() argument
1246 mldv1_md = ntohs(mld->mld_maxdelay); mld_process_v1()
1283 static int mld_process_v2(struct inet6_dev *idev, struct mld2_query *mld, mld_process_v2() argument
1286 *max_delay = max(msecs_to_jiffies(mldv2_mrc(mld)), 1UL); mld_process_v2()
1288 mld_update_qrv(idev, mld); mld_process_v2()
1289 mld_update_qi(idev, mld); mld_process_v2()
1290 mld_update_qri(idev, mld); mld_process_v2()
1305 struct mld_msg *mld; igmp6_event_query() local
1334 mld = (struct mld_msg *)icmp6_hdr(skb); igmp6_event_query()
1335 group = &mld->mld_mca; igmp6_event_query()
1345 err = mld_process_v1(idev, mld, &max_delay, igmp6_event_query()
1422 struct mld_msg *mld; igmp6_event_report() local
1434 if (!pskb_may_pull(skb, sizeof(*mld) - sizeof(struct icmp6hdr))) igmp6_event_report()
1437 mld = (struct mld_msg *)icmp6_hdr(skb); igmp6_event_report()
1455 if (ipv6_addr_equal(&ma->mca_addr, &mld->mld_mca)) { igmp6_event_report()
1582 /* <draft-ietf-magma-mld-source-05.txt>: mld_newpack()
1976 /* <draft-ietf-magma-mld-source-05.txt>: igmp6_send()
H A Dip6_input.c314 /* Check if this is a mld message */ ip6_mc_input()
H A Daddrconf.c3621 /* While dad is in progress mld report's source address is in6_addrany. addrconf_dad_completed()

Completed in 154 milliseconds