Home
last modified time | relevance | path

Searched refs:IN_MULTICAST (Results 1 – 25 of 44) sorted by relevance

12

/openbsd/usr.sbin/dvmrpd/
H A Digmp.c123 if (!IN_MULTICAST(ntohl(igmp_hdr.grp_addr))) { in recv_igmp_query()
160 if (!IN_MULTICAST(ntohl(igmp_hdr.grp_addr))) { in recv_igmp_report()
215 if (!IN_MULTICAST(ntohl(igmp_hdr.grp_addr))) { in recv_igmp_leave()
H A Drde.c373 if (!IN_MULTICAST(htonl(group.s_addr))) { in rde_group_list_add()
403 if (!IN_MULTICAST(htonl(group.s_addr))) { in rde_group_list_find()
H A Dgroup.c366 if (!IN_MULTICAST(htonl(group))) in group_list_add()
418 if (!IN_MULTICAST(htonl(group))) in group_list_find()
H A Dkmroute.c112 if (!IN_MULTICAST(ntohl(kernel_msg.im_dst.s_addr))) { in kmr_recv_msg()
H A Dpacket.c76 if (IN_MULTICAST(ntohl(dst->sin_addr.s_addr))) in send_packet()
/openbsd/usr.sbin/mtrace/
H A Dmtrace.c390 if (IN_MULTICAST(ntohl(dst))) local = lcl_addr; in send_recv()
606 if (IN_MULTICAST(ntohl(raddr))) k_join(raddr, INADDR_ANY); in passive_mode()
1237 if (IN_MULTICAST(ntohl(qsrc))) goto usage; in main()
1244 if (IN_MULTICAST(ntohl(qdst))) { in main()
1248 if (IN_MULTICAST(ntohl(qdst))) goto usage; in main()
1249 } else if (qgrp && !IN_MULTICAST(ntohl(qgrp))) goto usage; in main()
1332 if (gwy && !IN_MULTICAST(ntohl(gwy))) in main()
1355 if (IN_MULTICAST(ntohl(raddr))) k_join(raddr, lcl_addr); in main()
1372 if (IN_MULTICAST(ntohl(tdst))) { in main()
1534 if (IN_MULTICAST(ntohl(tdst))) { in main()
[all …]
/openbsd/sys/netinet/
H A Digmp.c307 if (!IN_MULTICAST(ip->ip_dst.s_addr)) { in igmp_input_if()
363 if (!IN_MULTICAST(igmp->igmp_group.s_addr) || in igmp_input_if()
429 if (!IN_MULTICAST(igmp->igmp_group.s_addr) || in igmp_input_if()
H A Dip_carp.c454 ismulti = IN_MULTICAST(ip->ip_dst.s_addr); in carp_proto_input_if()
625 ismulti != IN_MULTICAST(sc->sc_peer.s_addr)) in carp_proto_input_c()
1125 if (IN_MULTICAST(ip->ip_dst.s_addr)) in carp_send_ad()
1143 !(!IN_MULTICAST(sc->sc_peer.s_addr) && error == EHOSTDOWN)){ in carp_send_ad()
1817 if (IN_MULTICAST(sc->sc_peer.s_addr)) { in carp_addr_updated()
1873 if (!IN_MULTICAST(sc->sc_peer.s_addr)) in carp_join_multicast()
H A Din.h216 #define IN_MULTICAST(i) IN_CLASSD(i) macro
H A Dip_output.c173 if ((IN_MULTICAST(ip->ip_dst.s_addr) || in ip_output()
246 if (IN_MULTICAST(ip->ip_dst.s_addr) || in ip_output()
1528 if (!IN_MULTICAST(mreqn.imr_multiaddr.s_addr)) { in ip_setmoptions()
1622 if (!IN_MULTICAST(mreqn.imr_multiaddr.s_addr)) { in ip_setmoptions()
H A Din_pcb.c373 if (IN_MULTICAST(sin->sin_addr.s_addr)) { in in_pcbaddrisavail_lock()
412 if (so->so_euid && !IN_MULTICAST(sin->sin_addr.s_addr)) { in in_pcbaddrisavail_lock()
946 if ((IN_MULTICAST(sin->sin_addr.s_addr) || in in_pcbselsrc()
/openbsd/usr.sbin/mrouted/
H A Dinet.c38 return (!(IN_MULTICAST(addr) || in inet_valid_host()
H A Dprune.c1763 if (IN_MULTICAST(ntohl(dst))) { in accept_mtrace()
1825 if (IN_MULTICAST(ntohl(dst))) in accept_mtrace()
1834 if (IN_MULTICAST(ntohl(dst))) in accept_mtrace()
1840 if (IN_MULTICAST(ntohl(dst))) in accept_mtrace()
1993 if (IN_MULTICAST(ntohl(dst))) { in accept_mtrace()
H A Digmp.c321 if (IN_MULTICAST(ntohl(dst))) { in send_igmp()
/openbsd/usr.bin/dig/lib/isc/
H A Dsockaddr.c251 return (IN_MULTICAST(sin->sin_addr.s_addr)); in isc_sockaddr_ismulticast()
/openbsd/usr.sbin/ripd/
H A Dpacket.c63 if (IN_MULTICAST(ntohl(dst->sin_addr.s_addr))) in send_packet()
/openbsd/usr.sbin/eigrpd/
H A Dpacket.c109 if (IN_MULTICAST(ntohl(dst.sin_addr.s_addr))) in send_packet_v4()
648 if (IN_MULTICAST(addr->v4.s_addr)) { in eigrp_hdr_sanity_check()
H A Dutil.c227 IN_MULTICAST(a)) in bad_addr_v4()
/openbsd/usr.sbin/ldpd/
H A Dutil.c226 IN_MULTICAST(a)) in bad_addr_v4()
/openbsd/sys/net/
H A Dif_etherip.c400 IN_MULTICAST(src4->sin_addr.s_addr)) in etherip_set_tunnel()
405 IN_MULTICAST(dst4->sin_addr.s_addr)) in etherip_set_tunnel()
H A Dif_gif.c662 IN_MULTICAST(src4->sin_addr.s_addr)) in gif_set_tunnel()
667 if (IN_MULTICAST(dst4->sin_addr.s_addr)) in gif_set_tunnel()
H A Dif_vxlan.c1334 IN_MULTICAST(src4->sin_addr.s_addr)) in vxlan_set_tunnel()
1352 mode = IN_MULTICAST(dst4->sin_addr.s_addr) ? in vxlan_set_tunnel()
1682 IN_MULTICAST(sin->sin_addr.s_addr)) in vxlan_add_addr()
/openbsd/usr.sbin/ospfd/
H A Dpacket.c96 if (IN_MULTICAST(ntohl(dst->sin_addr.s_addr))) in send_packet()
/openbsd/sbin/ping/
H A Dping.c504 if (!v6flag && IN_MULTICAST(ntohl(dst4.sin_addr.s_addr))) { in main()
716 if (IN_MULTICAST(ntohl(dst4.sin_addr.s_addr))) in main()
748 if (IN_MULTICAST(ntohl(dst4.sin_addr.s_addr))) in main()
/openbsd/usr.sbin/npppd/npppd/
H A Dnpppd_iface.c455 if (IN_MULTICAST(ntohl(iphdr->ip_dst.s_addr))) { in npppd_iface_network_input_ipv4()

12