Home
last modified time | relevance | path

Searched refs:inp_flags (Results 1 – 25 of 36) sorted by relevance

12

/trueos/sys/netinet/
HDin_pcb.c299 inp->inp_flags |= IN6P_IPV6_V6ONLY; in in_pcballoc()
307 inp->inp_flags |= IN6P_AUTOFLOWLABEL; in in_pcballoc()
344 inp->inp_flags |= INP_ANONPORT; in in_pcbbind()
372 if (inp->inp_flags & INP_HIGHPORT) { in in_pcb_lport()
376 } else if (inp->inp_flags & INP_LOWPORT) { in in_pcb_lport()
564 if ((inp->inp_flags & INP_BINDANY) == 0 && in in_pcbbind_setup()
589 ((t->inp_flags & INP_TIMEWAIT) == 0) && in in_pcbbind_setup()
601 if (t && (t->inp_flags & INP_TIMEWAIT)) { in in_pcbbind_setup()
682 inp->inp_flags |= INP_ANONPORT; in in_pcbconnect_mbuf()
1245 inp->inp_flags |= INP_DROPPED; in in_pcbdrop()
[all …]
HDtcp_usrreq.c173 if (inp->inp_flags & INP_TIMEWAIT) { in tcp_detach()
201 if (inp->inp_flags & INP_DROPPED) { in tcp_detach()
220 if (inp->inp_flags & INP_DROPPED || in tcp_detach()
281 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp_usr_bind()
322 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp6_usr_bind()
332 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in tcp6_usr_bind()
372 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp_usr_listen()
413 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp6_usr_listen()
424 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) in tcp6_usr_listen()
478 if (inp->inp_flags & INP_TIMEWAIT) { in tcp_usr_connect()
[all …]
HDip_output.c1017 inp->inp_flags |= bit; \ in ip_ctloutput()
1019 inp->inp_flags &= ~bit; \ in ip_ctloutput()
1096 inp->inp_flags &= ~(INP_LOWPORT); in ip_ctloutput()
1097 inp->inp_flags &= ~(INP_HIGHPORT); in ip_ctloutput()
1101 inp->inp_flags &= ~(INP_LOWPORT); in ip_ctloutput()
1102 inp->inp_flags |= INP_HIGHPORT; in ip_ctloutput()
1106 inp->inp_flags &= ~(INP_HIGHPORT); in ip_ctloutput()
1107 inp->inp_flags |= INP_LOWPORT; in ip_ctloutput()
1183 #define OPTBIT(bit) (inp->inp_flags & bit ? 1 : 0) in ip_ctloutput()
1206 if (inp->inp_flags & INP_HIGHPORT) in ip_ctloutput()
[all …]
HDtcp_timewait.c337 inp->inp_flags |= INP_TIMEWAIT; in tcp_twstart()
344 if (inp->inp_flags & INP_SOCKREF) { in tcp_twstart()
347 inp->inp_flags &= ~INP_SOCKREF; in tcp_twstart()
501 KASSERT((inp->inp_flags & INP_TIMEWAIT), ("tcp_twclose: !timewait")); in tcp_twclose()
518 if (inp->inp_flags & INP_SOCKREF) { in tcp_twclose()
519 inp->inp_flags &= ~INP_SOCKREF; in tcp_twclose()
HDraw_ip.c250 if ((last->inp_flags & INP_CONTROLOPTS) || in rip_append()
437 if ((inp->inp_flags & INP_HDRINCL) == 0) { in rip_output()
449 if (inp->inp_flags & INP_DONTFRAG) in rip_output()
519 if (inp->inp_flags & INP_ONESBCAST) in rip_output()
572 optval = inp->inp_flags & INP_HDRINCL; in rip_ctloutput()
630 inp->inp_flags |= INP_HDRINCL; in rip_ctloutput()
632 inp->inp_flags &= ~INP_HDRINCL; in rip_ctloutput()
924 (inp->inp_flags & INP_BINDANY) == 0 && in rip_bind()
HDtcp_subr.c859 if (!(inp->inp_flags & INP_TIMEWAIT) && in tcp_ccalgounload()
1110 if (inp->inp_flags & INP_SOCKREF) { in tcp_close()
1113 inp->inp_flags &= ~INP_SOCKREF; in tcp_close()
1148 if (inpb->inp_flags & INP_TIMEWAIT) in tcp_drain()
1179 if ((inp->inp_flags & INP_TIMEWAIT) || in tcp_notify()
1180 (inp->inp_flags & INP_DROPPED)) in tcp_notify()
1278 if (inp->inp_flags & INP_TIMEWAIT) { in tcp_pcblist()
1311 else if (inp->inp_flags & INP_TIMEWAIT) { in tcp_pcblist()
1517 if (!(inp->inp_flags & INP_TIMEWAIT) && in tcp_ctlinput()
1518 !(inp->inp_flags & INP_DROPPED) && in tcp_ctlinput()
[all …]
HDtcp_timer.c233 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_delack()
274 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_2msl()
345 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_keep()
443 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_persist()
524 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_rexmt()
553 if (inp->inp_flags & INP_DROPPED) { in tcp_timer_rexmt()
HDtoecore.c195 if (inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) in toe_listen_start()
371 if ((inp->inp_flags & INP_TIMEWAIT) && th != NULL) { in toe_4tuple_check()
555 if (!(inp->inp_flags & INP_DROPPED)) { in toe_connect_failed()
HDin_pcbgroup.c374 !(inp->inp_flags & INP_DROPPED)) { in in_pcbgroup_update()
405 !(inp->inp_flags & INP_DROPPED)) { in in_pcbgroup_update_mbuf()
HDip_input.c1599 if (inp->inp_flags & INP_RECVDSTADDR) { in ip_savecontrol()
1605 if (inp->inp_flags & INP_RECVTTL) { in ip_savecontrol()
1617 if (inp->inp_flags & INP_RECVOPTS) { in ip_savecontrol()
1624 if (inp->inp_flags & INP_RECVRETOPTS) { in ip_savecontrol()
1631 if (inp->inp_flags & INP_RECVIF) { in ip_savecontrol()
1664 if (inp->inp_flags & INP_RECVTOS) { in ip_savecontrol()
HDudp_usrreq.c336 if (inp->inp_flags & INP_CONTROLOPTS || in udp_append()
1298 inp->inp_flags |= INP_ANONPORT; in udp_output()
1362 if (inp->inp_flags & INP_DONTFRAG) { in udp_output()
1374 if (inp->inp_flags & INP_ONESBCAST) in udp_output()
1386 if (inp->inp_flags & INP_ONESBCAST) in udp_output()
1396 if (inp->inp_flags & INP_ONESBCAST) in udp_output()
HDtcp_syncache.c776 inp->inp_flags |= oinp->inp_flags & INP_CONTROLOPTS; in syncache_socket()
1141 (inp->inp_flags & IN6P_AUTOFLOWLABEL)) in syncache_add()
1856 if (sotoinpcb(lso)->inp_flags & IN6P_AUTOFLOWLABEL) in syncookie_lookup()
HDsctp_os_bsd.h389 #define SCTP_IPV6_V6ONLY(inp) (((struct inpcb *)inp)->inp_flags & IN6P_IPV6_V6ONLY)
HDsiftr.c895 if (tp == NULL || inp->inp_flags & INP_TIMEWAIT) { in siftr_chkpkt()
1071 if (tp == NULL || inp->inp_flags & INP_TIMEWAIT) { in siftr_chkpkt6()
/trueos/sys/netinet6/
HDin6_pcb.c131 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0) in in6_pcbbind()
147 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0) in in6_pcbbind()
167 (inp->inp_flags & INP_BINDANY) == 0) { in in6_pcbbind()
203 ((t->inp_flags & INP_TIMEWAIT) == 0) && in in6_pcbbind()
213 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0 && in in6_pcbbind()
222 ((t->inp_flags & in in6_pcbbind()
235 if (t && (t->inp_flags & INP_TIMEWAIT)) { in in6_pcbbind()
250 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0 && in in6_pcbbind()
257 if (t && t->inp_flags & INP_TIMEWAIT) { in in6_pcbbind()
414 if (inp->inp_flags & IN6P_AUTOFLOWLABEL) in in6_pcbconnect_mbuf()
[all …]
HDip6_input.c1319 #define IS2292(inp, x, y) (((inp)->inp_flags & IN6P_RFC2292) ? (x) : (y)) in ip6_savecontrol_v4()
1321 if ((inp->inp_flags & IN6P_PKTINFO) != 0) { in ip6_savecontrol_v4()
1351 if ((inp->inp_flags & IN6P_HOPLIMIT) != 0) { in ip6_savecontrol_v4()
1374 if ((inp->inp_flags & IN6P_TCLASS) != 0) { in ip6_savecontrol_v4()
1428 if ((in6p->inp_flags & IN6P_HOPOPTS) != 0) { in ip6_savecontrol()
1480 if ((in6p->inp_flags & (IN6P_RTHDR | IN6P_DSTOPTS)) != 0) { in ip6_savecontrol()
1541 if (!(in6p->inp_flags & IN6P_DSTOPTS)) in ip6_savecontrol()
1552 if (!(in6p->inp_flags & IN6P_RTHDR)) in ip6_savecontrol()
1611 if ((inp->inp_flags & IN6P_MTU) == 0 || ( in ip6_notify_pmtu()
HDudp6_usrreq.c170 if (inp->inp_flags & INP_CONTROLOPTS || in udp6_append()
700 if ((inp->inp_flags & IN6P_IPV6_V6ONLY)) { in udp6_output()
759 if ((inp->inp_flags & IN6P_IPV6_V6ONLY)) { in udp6_output()
920 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) in udp6_attach()
959 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in udp6_bind()
1040 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0) { in udp6_connect()
1168 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in udp6_send()
HDip6_output.c1415 in6p->inp_flags |= (bit); \ in ip6_ctloutput()
1417 in6p->inp_flags &= ~(bit); \ in ip6_ctloutput()
1423 in6p->inp_flags |= IN6P_RFC2292; \ in ip6_ctloutput()
1425 in6p->inp_flags |= (bit); \ in ip6_ctloutput()
1427 in6p->inp_flags &= ~(bit); \ in ip6_ctloutput()
1430 #define OPTBIT(bit) (in6p->inp_flags & (bit) ? 1 : 0) in ip6_ctloutput()
1685 in6p->inp_flags &= ~(INP_LOWPORT); in ip6_ctloutput()
1686 in6p->inp_flags &= ~(INP_HIGHPORT); in ip6_ctloutput()
1690 in6p->inp_flags &= ~(INP_LOWPORT); in ip6_ctloutput()
1691 in6p->inp_flags |= INP_HIGHPORT; in ip6_ctloutput()
[all …]
HDin6_src.c249 (inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0) in in6_selectsrc()
274 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0) in in6_selectsrc()
519 (inp->inp_flags & IN6P_IPV6_V6ONLY) != 0)) != 0) { in in6_selectsrc()
928 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0)); in in6_pcbsetport()
936 inp->inp_flags |= INP_ANONPORT; in in6_pcbsetport()
HDraw_ip6.c277 if (last->inp_flags & INP_CONTROLOPTS || in rip6_input()
311 if (last->inp_flags & INP_CONTROLOPTS || in rip6_input()
/trueos/sys/dev/cxgbe/tom/
HDt4_cpl_io.c189 inp->inp_flags & INP_DROPPED ? "inp dropped" : in send_reset()
191 toep->flags, inp->inp_flags, in send_reset()
211 if (inp->inp_flags & INP_DROPPED) in send_reset()
222 if ((inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) == 0) { in send_reset()
987 KASSERT((inp->inp_flags & INP_DROPPED) == 0, in t4_tod_output()
1006 KASSERT((inp->inp_flags & INP_DROPPED) == 0, in t4_send_fin()
1031 KASSERT((inp->inp_flags & INP_DROPPED) == 0, in t4_send_rst()
1392 inp->inp_flags, cpl->status); in do_abort_req()
1405 if ((inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) == 0) { in do_abort_req()
1503 if (inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) { in do_rx_data()
[all …]
HDt4_listen.c744 if (inp->inp_flags & INP_DROPPED) { in do_pass_open_rpl()
750 if (inp->inp_flags & INP_DROPPED && status != CPL_ERR_NONE) { in do_pass_open_rpl()
761 if (inp->inp_flags & INP_DROPPED) { in do_pass_open_rpl()
1327 if (__predict_false(inp->inp_flags & INP_DROPPED)) { in do_pass_accept_req()
1424 if (__predict_false(inp->inp_flags & INP_DROPPED)) { in do_pass_accept_req()
1521 __func__, stid, tid, synqe, synqe->flags, inp->inp_flags); in do_pass_establish()
1523 if (__predict_false(inp->inp_flags & INP_DROPPED)) { in do_pass_establish()
HDt4_tom.c319 inp->inp_flags); in t4_pcb_detach()
324 inp->inp_flags); in t4_pcb_detach()
375 __func__, toep->tid, toep, toep->flags, inp, inp->inp_flags); in final_cpl_received()
/trueos/sys/dev/cxgb/ulp/tom/
HDcxgb_listen.c342 if (inp->inp_flags & INP_DROPPED) { in do_pass_open_rpl()
348 if (inp->inp_flags & INP_DROPPED && rpl->status != CPL_ERR_NONE) { in do_pass_open_rpl()
359 if (inp->inp_flags & INP_DROPPED) { in do_pass_open_rpl()
566 if (__predict_false(inp->inp_flags & INP_DROPPED)) { in do_pass_accept_req()
613 if (__predict_false(inp->inp_flags & INP_DROPPED)) { in do_pass_accept_req()
710 __func__, stid, tid, lctx, inp->inp_flags); in do_pass_establish()
718 if (__predict_false(inp->inp_flags & INP_DROPPED)) { in do_pass_establish()
/trueos/sys/security/mac_portacl/
HDmac_portacl.c480 if ((inp->inp_flags & INP_LOWPORT) == 0) in socket_check_bind()

12