Lines Matching refs:dest
143 static err_t igmp_ip_output_if(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, struct netif *netif);
386 * @param dest destination ip address of the igmp packet
389 igmp_input(struct pbuf *p, struct netif *inp, ip_addr_t *dest)
410 ip_addr_debug_print(IGMP_DEBUG, &(iphdr->dest));
423 group = igmp_lookfor_group(inp, dest); /* use the destination IP address of incoming packet */
437 if ((ip_addr_cmp(dest, &allsystems)) && ip_addr_isany(&igmp->igmp_group_address)) {
462 if (ip_addr_cmp(dest, &allsystems)) {
465 /* we first need to re-look for the group since we used dest last time */
732 protocol header; if dest == IP_HDRINCL, p already includes an IP
736 * @param dest the destination IP address to send the packet to
745 igmp_ip_output_if(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, struct netif *netif)
752 return ip_output_if_opt(p, src, dest, IGMP_TTL, 0, IP_PROTO_IGMP, netif, ra, ROUTER_ALERTLEN);
767 ip_addr_t* dest = NULL;
779 dest = &(group->group_address);
784 dest = &allrouters;
795 igmp_ip_output_if(p, &src, dest, group->netif);