Searched refs:inp_flags (Results 1 - 25 of 27) sorted by relevance

12

/darwin-on-arm/xnu/bsd/netinet/
H A Din_pcb.h158 u_int32_t inp_flags; /* generic IP/datagram flags */ member in struct:inpcb
288 int inp_flags; /* generic IP/datagram flags */ member in struct:inpcb_compat
375 int inp_flags; /* generic IP/datagram flags */ member in struct:xinpcb64
418 int inp_flags; /* generic IP/datagram flags */ member in struct:xinpcb_n
481 #define in6p_flags inp_flags /* for KAME src sync over BSD*'s */
537 #define INP_IS_FLOW_CONTROLLED(_inp_) ((_inp_)->inp_flags & INP_FLOW_CONTROLLED)
539 (((_inp_)->inp_flags & INP_FLOW_SUSPENDED) || \
542 (((_inp_)->inp_flags & (INP_FLOW_CONTROLLED | INP_FLOW_SUSPENDED)) != 0)
546 /* flags in inp_flags: */
H A Din_pcb.c332 inp->inp_flags |= IN6P_IPV6_V6ONLY;
337 inp->inp_flags |= IN6P_AUTOFLOWLABEL;
578 inp->inp_flags |= INP_ANONPORT;
580 if (inp->inp_flags & INP_HIGHPORT) {
584 } else if (inp->inp_flags & INP_LOWPORT) {
740 else if (inp->inp_flags & INP_BOUND_IF)
743 nocell = (inp->inp_flags & INP_NO_IFT_CELLULAR) ? 1 : 0;
942 inp->inp_flags |= INP_INADDR_ANY;
1395 !(inp->inp_flags & INP_RECV_ANYIF))
1430 !(inp->inp_flags
[all...]
H A Draw_ip.c250 if ((last->inp_flags & INP_CONTROLOPTS) != 0 ||
261 if (last->inp_flags & INP_STRIPHDR) {
306 if ((last->inp_flags & INP_CONTROLOPTS) != 0 ||
316 if (last->inp_flags & INP_STRIPHDR) {
369 if (inp->inp_flags & INP_BOUND_IF) {
373 if (inp->inp_flags & INP_NO_IFT_CELLULAR)
383 if ((inp->inp_flags & INP_HDRINCL) == 0) {
532 optval = inp->inp_flags & INP_HDRINCL;
537 optval = inp->inp_flags & INP_STRIPHDR;
593 inp->inp_flags |
[all...]
H A Dudp_usrreq.c434 !(inp->inp_flags & INP_RECV_ANYIF))
702 if ((inp->inp_flags & INP_CONTROLOPTS) != 0
710 savedflags = inp->inp_flags;
711 inp->inp_flags &= ~INP_UNMAPPABLEOPTS;
713 inp->inp_flags = savedflags;
803 if ((last->inp_flags & INP_CONTROLOPTS) != 0 ||
814 savedflags = last->inp_flags;
815 last->inp_flags &= ~INP_UNMAPPABLEOPTS;
818 last->inp_flags = savedflags;
821 last->inp_flags
[all...]
H A Dip_output.c2355 inp->inp_flags |= bit; \
2357 inp->inp_flags &= ~bit;
2482 inp->inp_flags &= ~(INP_LOWPORT);
2483 inp->inp_flags &= ~(INP_HIGHPORT);
2487 inp->inp_flags &= ~(INP_LOWPORT);
2488 inp->inp_flags |= INP_HIGHPORT;
2492 inp->inp_flags &= ~(INP_HIGHPORT);
2493 inp->inp_flags |= INP_LOWPORT;
2640 #define OPTBIT(bit) (inp->inp_flags & bit ? 1 : 0)
2663 if (inp->inp_flags
[all...]
H A Din_pcblist.c179 xinp->inp_flags = inp->inp_flags;
H A Dtcp_input.c1491 if (inp != NULL && (inp->inp_flags & INP_BOUND_IF))
1498 if (inp != NULL && (inp->inp_flags & INP_NO_IFT_CELLULAR))
1684 head_ifscope = (inp->inp_flags & INP_BOUND_IF) ?
1687 head_nocell = (inp->inp_flags & INP_NO_IFT_CELLULAR) ? 1 : 0;
1689 head_recvanyif = (inp->inp_flags & INP_RECV_ANYIF);
1871 inp->inp_flags |= INP_BOUND_IF;
1874 inp->inp_flags &= ~INP_BOUND_IF;
1880 inp->inp_flags |= INP_NO_IFT_CELLULAR;
1886 inp->inp_flags |= INP_RECV_ANYIF;
1888 inp->inp_flags
[all...]
H A Dip_input.c2697 if (inp->inp_flags & INP_RECVDSTADDR) {
2710 if (inp->inp_flags & INP_RECVOPTS) {
2718 if (inp->inp_flags & INP_RECVRETOPTS) {
2726 if (inp->inp_flags & INP_RECVIF) {
2770 if (inp->inp_flags & INP_RECVTTL) {
2786 if (inp->inp_flags & INP_PKTINFO) {
H A Dtcp_usrreq.c323 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) {
382 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0)
473 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0)
H A Din.c1194 inp->inp_flags &= ~(INP_LOWPORT);
1195 inp->inp_flags |= INP_HIGHPORT;
1208 inp->inp_flags = cloned_inp->inp_flags;
H A Dtcp_output.c2004 if (inp->inp_flags & INP_BOUND_IF) {
2017 if (inp->inp_flags & INP_NO_IFT_CELLULAR) {
2166 inp->inp_flags &= ~(INP_FC_FEEDBACK);
2179 if ((inp->inp_flags & INP_NO_IFT_CELLULAR) && outif != NULL &&
H A Dtcp_timer.c839 if (tp->t_inpcb->inp_flags & INP_BOUND_IF)
848 if (tp->t_inpcb->inp_flags & INP_NO_IFT_CELLULAR)
H A Dip_divert.c461 inp->inp_flags |= INP_HDRINCL;
H A Din_tclass.c918 (inp->inp_flags & INP_HDRINCL)) ||
H A Dip_icmp.c1095 if ((inp->inp_flags & INP_HDRINCL) != 0) {
H A Dtcp_subr.c2150 ifscope = (inp->inp_flags & INP_BOUND_IF) ?
2233 ifscope = (inp->inp_flags & INP_BOUND_IF) ?
/darwin-on-arm/xnu/bsd/netinet6/
H A Dudp6_output.c201 if (in6p->inp_flags & INP_BOUND_IF) {
205 if (in6p->inp_flags & INP_NO_IFT_CELLULAR)
417 in6p->inp_flags &= ~(INP_FC_FEEDBACK);
H A Dudp6_usrreq.c746 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) {
778 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) {
802 if (ip6_mapped_addr_on || (inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { /* should be non mapped addr */
879 if (ip6_mapped_addr_on || (inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) {
H A Din6_pcb.c307 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0 &&
336 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0 &&
429 ifscope = (inp->inp_flags & INP_BOUND_IF) ?
463 (inp->inp_flags & INP_NO_IFT_CELLULAR) &&
508 if ((inp->inp_flags & INP_NO_IFT_CELLULAR) &&
841 if (cmd == PRC_MSGSIZE && (inp->inp_flags & IN6P_MTU) != 0 &&
H A Dip6_output.c1939 in6p->inp_flags |= (bit); \
1941 in6p->inp_flags &= ~(bit); \
1945 in6p->inp_flags |= IN6P_RFC2292; \
1947 in6p->inp_flags |= (bit); \
1949 in6p->inp_flags &= ~(bit); \
1951 #define OPTBIT(bit) (in6p->inp_flags & (bit) ? 1 : 0)
2178 in6p->inp_flags &= ~(INP_LOWPORT);
2179 in6p->inp_flags &= ~(INP_HIGHPORT);
2183 in6p->inp_flags &= ~(INP_LOWPORT);
2184 in6p->inp_flags |
[all...]
H A Dip6_input.c1525 #define IS2292(inp, x, y) (((inp)->inp_flags & IN6P_RFC2292) ? (x) : (y))
1527 if ((inp->inp_flags & IN6P_PKTINFO) != 0) {
1542 if ((inp->inp_flags & IN6P_HOPLIMIT) != 0) {
1573 if ((in6p->inp_flags & IN6P_TCLASS) != 0) {
1594 if ((in6p->inp_flags & IN6P_HOPOPTS) != 0) {
1649 if ((in6p->inp_flags & (IN6P_RTHDR | IN6P_DSTOPTS)) != 0) {
1710 if (!(in6p->inp_flags & IN6P_DSTOPTS))
1725 if (!in6p->inp_flags & IN6P_RTHDR)
H A Din6_src.c228 if (inp->inp_flags & INP_NO_IFT_CELLULAR)
1212 inp->inp_flags |= INP_ANONPORT;
1214 if (inp->inp_flags & INP_HIGHPORT) {
1218 } else if (inp->inp_flags & INP_LOWPORT) {
H A Draw_ip6.c361 if (in6p->inp_flags & INP_BOUND_IF) {
365 if (in6p->inp_flags & INP_NO_IFT_CELLULAR)
877 ifscope = (inp->inp_flags & INP_BOUND_IF) ?
/darwin-on-arm/xnu/bsd/kern/
H A Dsocket_info.c128 insi->insi_flags = inp->inp_flags;
H A Duipc_socket.c4444 sotoinpcb(so)->inp_flags |= INP_RECV_ANYIF;
4446 sotoinpcb(so)->inp_flags &= ~INP_RECV_ANYIF;
4464 ret = (sotoinpcb(so)->inp_flags & INP_RECV_ANYIF) ? 1 : 0;

Completed in 145 milliseconds

12