| /xnu-11215/tools/lldbmacros/ |
| H A D | net.py | 1530 if (pcb.inp_flags & INP_RECVOPTS): 1536 if (pcb.inp_flags & INP_HDRINCL): 1538 if (pcb.inp_flags & INP_HIGHPORT): 1540 if (pcb.inp_flags & INP_LOWPORT): 1544 if (pcb.inp_flags & INP_RECVIF): 1546 if (pcb.inp_flags & INP_MTUDISC): 1554 if (pcb.inp_flags & INP_RECVTTL): 1570 if (pcb.inp_flags & IN6P_RTHDR): 1574 if (pcb.inp_flags & IN6P_TCLASS): 1582 if (pcb.inp_flags & IN6P_MTU): [all …]
|
| /xnu-11215/bsd/netinet/ |
| H A D | in_pcb.h | 180 uint32_t inp_flags; /* generic IP/datagram flags */ member 368 int inp_flags; /* generic IP/datagram flags */ member 452 int inp_flags; /* generic IP/datagram flags */ member 493 int inp_flags; /* generic IP/datagram flags */ member 556 #define in6p_flags inp_flags 685 (((_inp_)->inp_flags & INP_FLOW_CONTROLLED) ? true : false) 687 ((((_inp_)->inp_flags & INP_FLOW_SUSPENDED) || \ 690 (((_inp_)->inp_flags & (INP_FLOW_CONTROLLED | INP_FLOW_SUSPENDED)) != 0) 693 (((_inp)->inp_flags & INP_NO_IFT_CELLULAR) ? true : false)
|
| H A D | raw_ip.c | 227 if (inp->inp_flags & INP_STRIPHDR in rip_inp_input() 392 int inp_flags = inp ? inp->inp_flags : 0; in rip_output() local 418 inp_flags = cfil_inp_flags; in rip_output() 497 if (inp->inp_flags & INP_BOUND_IF) { in rip_output() 528 if ((inp_flags & INP_HDRINCL) == 0) { in rip_output() 768 optval = inp->inp_flags & INP_HDRINCL; in rip_ctloutput() 773 optval = inp->inp_flags & INP_STRIPHDR; in rip_ctloutput() 806 inp->inp_flags |= INP_HDRINCL; in rip_ctloutput() 808 inp->inp_flags &= ~INP_HDRINCL; in rip_ctloutput() 819 inp->inp_flags |= INP_STRIPHDR; in rip_ctloutput() [all …]
|
| H A D | udp_usrreq.c | 749 savedflags = inp->inp_flags; in udp_input() 750 inp->inp_flags &= ~INP_UNMAPPABLEOPTS; in udp_input() 752 inp->inp_flags = savedflags; in udp_input() 861 savedflags = last->inp_flags; in udp_append() 865 last->inp_flags = savedflags; in udp_append() 868 last->inp_flags = savedflags; in udp_append() 1063 inp->inp_flags |= INP_UDP_NOCKSUM; in udp_ctloutput() 1065 inp->inp_flags &= ~INP_UDP_NOCKSUM; in udp_ctloutput() 1654 (inp->inp_flags & INP_BOUND_IF)) { in udp_output() 1744 inp->inp_flags |= INP_INADDR_ANY; in udp_output() [all …]
|
| H A D | in_pcb.c | 771 inp->inp_flags |= IN6P_IPV6_V6ONLY; in in_pcballoc() 1163 if (inp->inp_flags & INP_HIGHPORT) { in in_pcbbind() 1359 inp->inp_flags |= INP_ANONPORT; in in_pcbbind() 1371 inp->inp_flags &= ~INP_ANONPORT; in in_pcbbind() 1933 inp->inp_flags |= INP_INADDR_ANY; in in_pcbconnect() 3111 inp_compat->inp_flags = inp->inp_flags; in inpcb_to_compat() 3134 xinp->inp_flags = inp->inp_flags; in inpcb_to_xinpcb64() 3225 inp->inp_flags &= ~INP_BOUND_IF; in inp_bindif_common() 3227 inp->inp_flags |= INP_BOUND_IF; in inp_bindif_common() 3616 inp->inp_flags |= INP_FC_FEEDBACK; in inp_fc_feedback() [all …]
|
| H A D | ip_output.c | 2491 inp->inp_flags &= ~(INP_LOWPORT); in ip_ctloutput() 2492 inp->inp_flags &= ~(INP_HIGHPORT); in ip_ctloutput() 2496 inp->inp_flags &= ~(INP_LOWPORT); in ip_ctloutput() 2497 inp->inp_flags |= INP_HIGHPORT; in ip_ctloutput() 2501 inp->inp_flags &= ~(INP_HIGHPORT); in ip_ctloutput() 2502 inp->inp_flags |= INP_LOWPORT; in ip_ctloutput() 2633 if (inp->inp_flags & INP_BOUND_IF) { in ip_ctloutput() 2671 #define OPTBIT(bit) (inp->inp_flags & bit ? 1 : 0) in ip_ctloutput() 2694 if (inp->inp_flags & INP_HIGHPORT) { in ip_ctloutput() 2696 } else if (inp->inp_flags & INP_LOWPORT) { in ip_ctloutput() [all …]
|
| H A D | ip_icmp.c | 1220 int inp_flags = inp ? inp->inp_flags : 0; in icmp_dgram_send() local 1238 cfil_dgram_peek_socket_state(m, &inp_flags); in icmp_dgram_send() 1242 if ((inp_flags & INP_HDRINCL) != 0) { in icmp_dgram_send()
|
| H A D | in_pcblist.c | 215 xinp->inp_flags = inp->inp_flags; in inpcb_to_xinpcb_n() 582 if (!(inp->inp_flags & INP_RECV_ANYIF) && in inpcb_get_if_ports_used()
|
| H A D | udp_log.c | 269 if (udp_log_bind_anon_port == 0 && (inp->inp_flags & INP_ANONPORT) != 0) { in udp_log_bind()
|
| H A D | ip_input.c | 3845 if (inp->inp_flags & INP_RECVDSTADDR || SOFLOW_ENABLED(inp->inp_socket)) { in ip_savecontrol() 3859 if (inp->inp_flags & INP_RECVOPTS) { in ip_savecontrol() 3867 if (inp->inp_flags & INP_RECVRETOPTS) { in ip_savecontrol() 3875 if (inp->inp_flags & INP_RECVIF) { in ip_savecontrol() 3923 if (inp->inp_flags & INP_RECVTTL) { in ip_savecontrol() 3930 if (inp->inp_flags & INP_PKTINFO) { in ip_savecontrol() 3944 if (inp->inp_flags & INP_RECVTOS) { in ip_savecontrol()
|
| H A D | tcp_input.c | 2300 if (inp != NULL && (inp->inp_flags & INP_BOUND_IF)) { in tcp_input() 2540 head_ifscope = (inp->inp_flags & INP_BOUND_IF) ? in tcp_input() 2545 head_recvanyif = (inp->inp_flags & INP_RECV_ANYIF); in tcp_input() 2733 inp->inp_flags |= INP_BOUND_IF; in tcp_input() 2736 inp->inp_flags &= ~INP_BOUND_IF; in tcp_input() 2766 inp->inp_flags |= INP_RECV_ANYIF; in tcp_input() 2768 inp->inp_flags &= ~INP_RECV_ANYIF; in tcp_input() 2819 inp->inp_flags |= in tcp_input() 2820 oinp->inp_flags & INP_CONTROLOPTS; in tcp_input()
|
| H A D | tcp_usrreq.c | 336 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in tcp6_usr_bind() 419 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in tcp6_usr_listen() 549 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0) { in tcp_usr_connect_common() 1578 inp->inp_flags |= INP_INADDR_ANY; in tcp_connect()
|
| H A D | in.c | 2101 if (inp->inp_flags & INP_BOUND_IF) { in in_getconninfo() 2104 if (!(inp->inp_flags & INP_INADDR_ANY)) { in in_getconninfo() 2107 if (!(inp->inp_flags & INP_ANONPORT)) { in in_getconninfo()
|
| H A D | flow_divert.c | 1354 if ((inp->inp_flags & INP_BOUND_IF) || in flow_divert_create_connect_packet() 2783 ((inp->inp_flags & INP_RECVDSTADDR) || need_recvdstaddr)) { in flow_divert_create_control_mbuf() 2787 ((inp->inp_flags & IN6P_PKTINFO) || need_recvdstaddr)) { in flow_divert_create_control_mbuf() 3749 if (to->sa_family == AF_INET6 && !(inp->inp_flags & IN6P_IPV6_V6ONLY)) { in flow_divert_connect_out_internal()
|
| /xnu-11215/bsd/netinet6/ |
| H A D | ip6_input.c | 1859 #define IS2292(inp, x, y) (((inp)->inp_flags & IN6P_RFC2292) ? (x) : (y)) in ip6_savecontrol_v4() 1866 if ((inp->inp_flags & IN6P_TCLASS) != 0) { in ip6_savecontrol_v4() 1878 if ((inp->inp_flags & IN6P_PKTINFO) != 0 || SOFLOW_ENABLED(inp->inp_socket)) { in ip6_savecontrol_v4() 1899 if ((inp->inp_flags & IN6P_PKTINFO) != 0 || SOFLOW_ENABLED(inp->inp_socket)) { in ip6_savecontrol_v4() 1916 if ((inp->inp_flags & IN6P_HOPLIMIT) != 0) { in ip6_savecontrol_v4() 1951 if ((in6p->inp_flags & IN6P_TCLASS) != 0) { in ip6_savecontrol() 1973 if ((in6p->inp_flags & IN6P_HOPOPTS) != 0) { in ip6_savecontrol() 2005 if ((in6p->inp_flags & (IN6P_RTHDR | IN6P_DSTOPTS)) != 0) { in ip6_savecontrol() 2048 if (!(in6p->inp_flags & IN6P_DSTOPTS)) { in ip6_savecontrol() 2060 if (!(in6p->inp_flags & IN6P_RTHDR)) { in ip6_savecontrol() [all …]
|
| H A D | ip6_output.c | 2492 in6p->inp_flags |= (bit); \ in ip6_ctloutput() 2513 #define OPTBIT(bit) (in6p->inp_flags & (bit) ? 1 : 0) in ip6_ctloutput() 2771 in6p->inp_flags &= ~(INP_LOWPORT); in ip6_ctloutput() 2772 in6p->inp_flags &= ~(INP_HIGHPORT); in ip6_ctloutput() 2776 in6p->inp_flags &= ~(INP_LOWPORT); in ip6_ctloutput() 2777 in6p->inp_flags |= INP_HIGHPORT; in ip6_ctloutput() 2781 in6p->inp_flags &= ~(INP_HIGHPORT); in ip6_ctloutput() 2782 in6p->inp_flags |= INP_LOWPORT; in ip6_ctloutput() 2940 flags = in6p->inp_flags; in ip6_ctloutput() 3053 if (in6p->inp_flags & INP_BOUND_IF) { in ip6_ctloutput() [all …]
|
| H A D | udp6_usrreq.c | 866 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in udp6_bind() 939 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in udp6_connect() 1024 (inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in udp6_connect() 1185 if (ip6_mapped_addr_on || (inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in udp6_send()
|
| H A D | udp6_output.c | 199 if (in6p->inp_flags & INP_BOUND_IF) { in udp6_output() 758 in6p->inp_flags &= ~(INP_FC_FEEDBACK); in udp6_output()
|
| H A D | in6_src.c | 1684 if (inp->inp_flags & INP_HIGHPORT) { in in6_pcbsetport() 1688 } else if (inp->inp_flags & INP_LOWPORT) { in in6_pcbsetport() 1781 (inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in in6_pcbsetport() 1806 inp->inp_flags |= INP_ANONPORT; in in6_pcbsetport() 1816 inp->inp_flags &= ~INP_ANONPORT; in in6_pcbsetport()
|
| H A D | in6_pcb.c | 417 if (!(inp->inp_flags & IN6P_IPV6_V6ONLY) && in in6_pcbbind() 475 if (!(inp->inp_flags & IN6P_IPV6_V6ONLY) && in in6_pcbbind() 663 ifscope = (inp->inp_flags & INP_BOUND_IF) ? in in6_pcbladdr()
|
| H A D | raw_ip6.c | 480 if (in6p->inp_flags & INP_BOUND_IF) { in rip6_output() 1181 ifscope = (inp->inp_flags & INP_BOUND_IF) ? in rip6_connect()
|
| /xnu-11215/bsd/net/ |
| H A D | content_filter.h | 573 uint32_t *options, struct sockaddr **faddr, int *inp_flags); 574 extern boolean_t cfil_dgram_peek_socket_state(struct mbuf *m, int *inp_flags);
|
| H A D | content_filter.c | 849 boolean_t cfil_dgram_peek_socket_state(struct mbuf *m, int *inp_flags); 3903 int inp_flags = 0; in cfil_dispatch_data_event() local 4000 (outgoing && cfil_dgram_peek_socket_state(data, &inp_flags) && (inp_flags & INP_HDRINCL))) { in cfil_dispatch_data_event() 4383 if (inp && (inp->inp_flags & INP_STRIPHDR)) { in cfil_strip_ip_header() 7183 ctag->cfil_inp_flags = inp ? inp->inp_flags : 0; in cfil_dgram_save_socket_state() 7203 struct sockaddr **faddr, int *inp_flags) in cfil_dgram_get_socket_state() argument 7220 if (inp_flags) { in cfil_dgram_get_socket_state() 7221 *inp_flags = ctag->cfil_inp_flags; in cfil_dgram_get_socket_state() 7235 cfil_dgram_peek_socket_state(struct mbuf *m, int *inp_flags) in cfil_dgram_peek_socket_state() argument 7243 if (inp_flags) { in cfil_dgram_peek_socket_state() [all …]
|
| /xnu-11215/bsd/kern/ |
| H A D | socket_info.c | 139 insi->insi_flags = inp->inp_flags; in fill_socketinfo()
|
| H A D | uipc_syscalls.c | 2044 want_pktinfo = (inp->inp_flags & IN6P_PKTINFO) != 0; in copyout_control() 2102 !(inp->inp_flags & INP_RECVDSTADDR)) || in copyout_control() 2104 !(inp->inp_flags & IN6P_PKTINFO)))) { in copyout_control()
|