Home
last modified time | relevance | path

Searched refs:inp_list (Results 1 – 16 of 16) sorted by relevance

/xnu-12377.61.12/bsd/netinet/
H A Din_pcblist.c297 struct inpcb *inp, **inp_list = NULL; in get_pcblist_n() local
379 inp_list = kalloc_type(struct inpcb *, sz, Z_WAITOK); in get_pcblist_n()
380 if (inp_list == NULL) { in get_pcblist_n()
389 n = get_tcp_inp_list(inp_list, sz, gencnt); in get_pcblist_n()
392 inp = inp->inp_list.le_next) { in get_pcblist_n()
395 inp_list[i++] = inp; in get_pcblist_n()
404 inp = inp_list[i]; in get_pcblist_n()
479 kfree_type(struct inpcb *, sz, inp_list); in get_pcblist_n()
513 inp = LIST_NEXT(inp, inp_list)) { in inpcb_get_if_ports_used()
780 inp != NULL; inp = LIST_NEXT(inp, inp_list)) { in inpcb_count_opportunistic()
[all …]
H A Draw_ip.c269 LIST_FOREACH(inp, &ripcb, inp_list) { in rip_input_inner()
1215 struct inpcb *inp, **inp_list; variable
1261 inp_list = kalloc_type(struct inpcb *, n, Z_WAITOK);
1262 if (inp_list == NULL) {
1268 inp = inp->inp_list.le_next) {
1270 inp_list[i++] = inp;
1277 inp = inp_list[i];
1308 kfree_type(struct inpcb *, sz, inp_list);
1323 struct inpcb *inp, **inp_list; variable
1369 inp_list = kalloc_type(struct inpcb *, n, Z_WAITOK);
[all …]
H A Dudp_usrreq.c475 LIST_FOREACH(inp, &udb, inp_list) { in udp_input()
1246 struct inpcb *inp, **inp_list; variable
1292 inp_list = kalloc_type(struct inpcb *, n, Z_WAITOK);
1293 if (inp_list == NULL) {
1299 inp = LIST_NEXT(inp, inp_list)) {
1302 inp_list[i++] = inp;
1311 inp = inp_list[i];
1355 kfree_type(struct inpcb *, sz, inp_list);
1370 struct inpcb *inp, **inp_list; variable
1416 inp_list = kalloc_type(struct inpcb *, n, Z_WAITOK);
[all …]
H A Dtcp_subr.c2034 LIST_FOREACH(inp, tcbinfo.ipi_listhead, inp_list) { in tcp_drain()
2114 get_tcp_inp_list(struct inpcb * __single *inp_list __counted_by(n), size_t n, inp_gen_t gencnt) in get_tcp_inp_list()
2120 LIST_FOREACH(inp, tcbinfo.ipi_listhead, inp_list) { in get_tcp_inp_list()
2126 inp_list[i++] = inp; in get_tcp_inp_list()
2137 inp_list[i++] = inp; in get_tcp_inp_list()
2212 struct inpcb **inp_list; variable
2258 inp_list = kalloc_type(struct inpcb *, n, Z_WAITOK);
2259 if (inp_list == NULL) {
2264 n = get_tcp_inp_list(inp_list, n, gencnt);
2272 inp = inp_list[i];
[all …]
H A Din_pcb.h163 LIST_ENTRY(inpcb) inp_list; /* list for all PCBs of this proto */
411 _INPCB_LIST_ENTRY(inpcb) inp_list; /* list for all peer PCBs */
498 struct inpcb64_list_entry inp_list; /* list for all PCBs */ member
H A Dtcp_timer.c558 LIST_REMOVE(inp, inp_list); in add_to_time_wait_locked()
822 LIST_FOREACH_SAFE(inp, &tcb, inp_list, nxt) { in tcp_gc()
2860 LIST_FOREACH_SAFE(inp, pcbinfo->ipi_listhead, inp_list, nxt) { in tcp_probe_connectivity()
2999 LIST_FOREACH_SAFE(inp, &tcb, inp_list, nxt) { in tcp_itimer()
H A Din_pcb.c745 LIST_INSERT_HEAD(pcbinfo->ipi_listhead, inp, inp_list); in in_pcballoc()
2230 LIST_FOREACH(inp, pcbinfo->ipi_listhead, inp_list) { in in_pcbnotifyall()
2948 LIST_REMOVE(inp, inp_list); in in_pcbremlists()
3806 LIST_FOREACH(inp, pcbinfo->ipi_listhead, inp_list) { in inp_findinpcb_procinfo()
/xnu-12377.61.12/bsd/kern/
H A Dkpi_socketfilter.c1438 LIST_FOREACH(inp, tcbinfo.ipi_listhead, inp_list) { in sflt_register_common()
1456 LIST_FOREACH(inp, udbinfo.ipi_listhead, inp_list) { in sflt_register_common()
H A Dsocket_flows.c1322 LIST_FOREACH(inp, pcbinfo->ipi_listhead, inp_list) { in soflow_validate_dgram_socket()
1338 LIST_FOREACH(inp, pcbinfo->ipi_listhead, inp_list) { in soflow_validate_dgram_socket()
/xnu-12377.61.12/bsd/netinet6/
H A Dudp6_usrreq.c354 LIST_FOREACH(in6p, &udb, inp_list) { in udp6_input()
H A Draw_ip6.c180 LIST_FOREACH(in6p, &ripcb, inp_list) { in rip6_input()
H A Din6_pcb.c1170 ninp = LIST_NEXT(inp, inp_list); in in6_pcbnotify()
H A Dicmp6.c2154 LIST_FOREACH(in6p, &ripcb, inp_list) in icmp6_rip6_input()
/xnu-12377.61.12/bsd/net/
H A Dcontent_filter.c1697 LIST_FOREACH(inp, pcbinfo->ipi_listhead, inp_list) { in cfil_socket_from_sock_id()
1719 LIST_FOREACH(inp, pcbinfo->ipi_listhead, inp_list) { in cfil_socket_from_sock_id()
1738 LIST_FOREACH(inp, pcbinfo->ipi_listhead, inp_list) { in cfil_socket_from_sock_id()
1771 LIST_FOREACH(inp, pcbinfo->ipi_listhead, inp_list) { in cfil_socket_from_client_uuid()
1790 LIST_FOREACH(inp, pcbinfo->ipi_listhead, inp_list) { in cfil_socket_from_client_uuid()
H A Dntstat.c7846 LIST_FOREACH(inp, tcbinfo.ipi_listhead, inp_list) in progress_indicators_for_interface()
/xnu-12377.61.12/tools/lldbmacros/
H A Dnet.py1705 pcb = cast(pcb.inp_list.le_next, 'inpcb *')