Searched refs:imo (Results 1 – 11 of 11) sorted by relevance
| /xnu-11215/bsd/netinet/ |
| H A D | in_mcast.c | 1585 IMO_LOCK(imo); in inp_block_unblock_source() 1696 return imo; in inp_findmoptions() 1728 return imo; in inp_findmoptions() 1799 IMO_LOCK(imo); in inp_get_source_filters() 1962 if (imo == NULL || imo->imo_multicast_ifp == NULL) { in inp_getmoptions() 2247 IMO_LOCK(imo); in inp_join_group() 2563 IMO_LOCK(imo); in inp_leave_group() 2659 imo->imo_membership[idx - 1] = imo->imo_membership[idx]; in inp_leave_group() 2660 imo->imo_mfilters[idx - 1] = imo->imo_mfilters[idx]; in inp_leave_group() 2665 imo->imo_membership[imo->imo_num_memberships] = NULL; in inp_leave_group() [all …]
|
| H A D | ip_output.c | 400 imo = NULL; in ip_output_list() 678 imo != NULL && (ifp = imo->imo_multicast_ifp) != NULL) { in ip_output_list() 924 IMO_LOCK(imo); in ip_output_list() 934 IMO_UNLOCK(imo); in ip_output_list() 2897 IMO_LOCK(imo); in imo_addref() 2906 (*imo->imo_trace)(imo, TRUE); in imo_addref() 2910 IMO_UNLOCK(imo); in imo_addref() 2917 IMO_LOCK(imo); in imo_remref() 2922 (*imo->imo_trace)(imo, FALSE); in imo_remref() 2933 IMO_UNLOCK(imo); in imo_remref() [all …]
|
| H A D | kpi_ipfilter.c | 420 struct ip_moptions *imo = NULL; in ipf_injectv4_out() local 449 (imo = ip_allocmoptions(Z_NOWAIT)) != NULL) { in ipf_injectv4_out() 450 imo->imo_multicast_ifp = options->ippo_mcast_ifnet; in ipf_injectv4_out() 451 imo->imo_multicast_ttl = options->ippo_mcast_ttl; in ipf_injectv4_out() 452 imo->imo_multicast_loop = (u_char)options->ippo_mcast_loop; in ipf_injectv4_out() 489 IP_ALLOWBROADCAST | IP_RAWOUTPUT | IP_OUTARGS, imo, &ipoa); in ipf_injectv4_out() 494 if (imo != NULL) { in ipf_injectv4_out() 495 IMO_REMREF(imo); in ipf_injectv4_out()
|
| H A D | raw_ip.c | 394 struct ip_moptions *imo; in rip_output() local 680 imo = inp->inp_moptions; in rip_output() 681 if (imo != NULL) { in rip_output() 682 IMO_ADDREF(imo); in rip_output() 691 imo, &ipoa); in rip_output() 693 if (imo != NULL) { in rip_output() 694 IMO_REMREF(imo); in rip_output()
|
| H A D | igmp.c | 4014 struct ip_moptions *imo; in igmp_sendpkt() local 4037 imo = ip_allocmoptions(Z_WAITOK); in igmp_sendpkt() 4038 if (imo == NULL) { in igmp_sendpkt() 4043 imo->imo_multicast_ttl = 1; in igmp_sendpkt() 4044 imo->imo_multicast_vif = -1; in igmp_sendpkt() 4045 imo->imo_multicast_loop = 0; in igmp_sendpkt() 4054 imo->imo_multicast_ifp = lo_ifp; in igmp_sendpkt() 4056 imo->imo_multicast_ifp = ifp; in igmp_sendpkt() 4071 IMO_REMREF(imo); in igmp_sendpkt() 4089 error = ip_output(m0, ipopts, &ro, 0, imo, NULL); in igmp_sendpkt() [all …]
|
| H A D | udp_usrreq.c | 299 struct ip_moptions *imo = NULL; in udp_input() local 498 if ((imo = inp->inp_moptions) == NULL) { in udp_input() 502 IMO_LOCK(imo); in udp_input() 509 blocked = imo_multi_filter(imo, ifp, in udp_input() 515 IMO_UNLOCK(imo); in udp_input() 3168 struct ip_moptions *__single imo; in udp_defunct() local 3176 imo = inp->inp_moptions; in udp_defunct() 3177 if (imo != NULL) { in udp_defunct() 3186 IMO_REMREF(imo); in udp_defunct()
|
| H A D | in_pcb.c | 1776 struct ip_moptions *imo; in in_pcbladdr() local 1779 imo = inp->inp_moptions; in in_pcbladdr() 1780 IMO_LOCK(imo); in in_pcbladdr() 1781 if (imo->imo_multicast_ifp != NULL && (ia == NULL || in in_pcbladdr() 1782 ia->ia_ifp != imo->imo_multicast_ifp)) { in in_pcbladdr() 1783 ifp = imo->imo_multicast_ifp; in in_pcbladdr() 1803 IMO_UNLOCK(imo); in in_pcbladdr() 2057 struct ip_moptions *imo; in in_pcbdetach() local 2065 imo = inp->inp_moptions; in in_pcbdetach() 2066 if (imo != NULL) { in in_pcbdetach() [all …]
|
| /xnu-11215/bsd/netinet6/ |
| H A D | in6_mcast.c | 1508 IM6O_LOCK(imo); in in6p_block_unblock_source() 1618 return imo; in in6p_findmoptions() 1648 return imo; in in6p_findmoptions() 1731 IM6O_LOCK(imo); in in6p_get_source_filters() 2189 IM6O_LOCK(imo); in in6p_join_group() 2575 IM6O_LOCK(imo); in in6p_leave_group() 2665 imo->im6o_membership[idx - 1] = imo->im6o_membership[idx]; in in6p_leave_group() 2666 imo->im6o_mfilters[idx - 1] = imo->im6o_mfilters[idx]; in in6p_leave_group() 2671 imo->im6o_membership[imo->im6o_num_memberships] = NULL; in in6p_leave_group() 2727 IM6O_LOCK(imo); in in6p_set_multicast_if() [all …]
|
| H A D | udp6_usrreq.c | 310 struct ip6_moptions *imo; in udp6_input() local 395 imo = in6p->in6p_moptions; in udp6_input() 396 if (imo && IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { in udp6_input() 400 IM6O_LOCK(imo); in udp6_input() 406 blocked = im6o_mc_filter(imo, ifp, in udp6_input() 408 IM6O_UNLOCK(imo); in udp6_input() 1371 struct ip_moptions *__single imo; in udp6_defunct() local 1390 imo = inp->inp_moptions; in udp6_defunct() 1391 if (imo != NULL) { in udp6_defunct() 1400 IMO_REMREF(imo); in udp6_defunct()
|
| H A D | in6_pcb.c | 911 struct ip_moptions *__single imo; in in6_pcbdetach() local 932 imo = inp->inp_moptions; in in6_pcbdetach() 934 if (imo != NULL) { in in6_pcbdetach() 935 IMO_REMREF(imo); in in6_pcbdetach()
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | net.py | 1249 imo = kern.GetValueFromAddress(cmd_args[0], 'ip_moptions_dbg *') 1251 out_string += imo_summary_format_string.format("Total holds : ", imo.imo_refhold_cnt) 1252 out_string += imo_summary_format_string.format("Total releases : ", imo.imo_refrele_cnt) 1257 kgm_pc = imo.imo_refhold[cnt].pc[ix] 1260 … out_string += "\nHold [" + str(int(cnt)) + "] (thread " + hex(imo.imo_refhold[cnt].th) + "):\n" 1270 kgm_pc = imo.imo_refrele[cnt].pc[ix] 1273 … out_string += "\nRelease [" + str(int(cnt)) + "] (thread " + hex(imo.imo_refrele[cnt].th) + "):\n"
|