Lines Matching refs:in_addr
35 static const struct in_addr all_systems = { { { 224, 0, 0, 1 } } };
37 static const struct in_addr igmp_multicast_addr = { { { 224, 0, 0, 22 } } };
39 static const struct in_addr all_routers = { { { 224, 0, 0, 2 } } };
56 static int igmp_v2_create(struct net_pkt *pkt, const struct in_addr *addr, in igmp_v2_create()
115 net_ipv4_addr_cmp_raw((uint8_t *)&mcast[i].address.in_addr, in igmp_v3_create()
144 net_ipv4_addr_cmp_raw((uint8_t *)&mcast[i].address.in_addr, in igmp_v3_create()
157 net_ipaddr_copy(&group_record->address, &mcast[i].address.in_addr); in igmp_v3_create()
165 if (net_pkt_write(pkt, &mcast[i].sources[j].in_addr.s_addr, in igmp_v3_create()
166 sizeof(mcast[i].sources[j].in_addr.s_addr))) { in igmp_v3_create()
186 static int igmp_v2_create_packet(struct net_pkt *pkt, const struct in_addr *dst, in igmp_v2_create_packet()
187 const struct in_addr *group, uint8_t type) in igmp_v2_create_packet()
219 static int igmp_v3_create_packet(struct net_pkt *pkt, const struct in_addr *dst, in igmp_v3_create_packet()
283 net_ipv4_addr_cmp_raw((uint8_t *)&ipv4->mcast[i].address.in_addr, in send_igmp_report()
303 net_ipv4_addr_cmp_raw((uint8_t *)&ipv4->mcast[i].address.in_addr, in send_igmp_report()
320 ret = igmp_v2_create_packet(pkt, &ipv4->mcast[i].address.in_addr, in send_igmp_report()
321 &ipv4->mcast[i].address.in_addr, in send_igmp_report()
364 net_ipv4_addr_cmp_raw((uint8_t *)&ipv4->mcast[i].address.in_addr, in send_igmp_v3_report()
381 sizeof(struct in_addr) * source_count, in send_igmp_v3_report()
508 const struct in_addr *addr,
558 sizeof(struct in_addr) * mcast->sources_len,
583 int net_ipv4_igmp_join(struct net_if *iface, const struct in_addr *addr,
615 net_ipaddr_copy(&maddr->sources[i].in_addr.s_addr,
645 net_mgmt_event_notify_with_info(NET_EVENT_IPV4_MCAST_JOIN, iface, &maddr->address.in_addr,
646 sizeof(struct in_addr));
651 int net_ipv4_igmp_leave(struct net_if *iface, const struct in_addr *addr)
681 net_mgmt_event_notify_with_info(NET_EVENT_IPV4_MCAST_LEAVE, iface, &maddr->address.in_addr,
682 sizeof(struct in_addr));