Home
last modified time | relevance | path

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

12

/freebsd-11-stable/sys/netinet/
HDin_pcb.c315 inp->inp_flags |= IN6P_IPV6_V6ONLY; in in_pcballoc()
325 inp->inp_flags |= IN6P_AUTOFLOWLABEL; in in_pcballoc()
368 inp->inp_flags |= INP_ANONPORT; in in_pcbbind()
399 if (inp->inp_flags & INP_HIGHPORT) { in in_pcb_lport()
403 } else if (inp->inp_flags & INP_LOWPORT) { in in_pcb_lport()
621 if ((inp->inp_flags & INP_BINDANY) == 0 && in in_pcbbind_setup()
647 ((t->inp_flags & INP_TIMEWAIT) == 0) && in in_pcbbind_setup()
668 if (t && (t->inp_flags & INP_TIMEWAIT)) { in in_pcbbind_setup()
753 inp->inp_flags |= INP_ANONPORT; in in_pcbconnect_mbuf()
1345 inp->inp_flags |= INP_DROPPED; in in_pcbdrop()
[all …]
HDtcp_usrreq.c187 if (inp->inp_flags & INP_TIMEWAIT) { in tcp_detach()
215 if (inp->inp_flags & INP_DROPPED) { in tcp_detach()
250 if (inp->inp_flags & INP_DROPPED || in tcp_detach()
316 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp_usr_bind()
360 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp6_usr_bind()
370 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in tcp6_usr_bind()
413 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp_usr_listen()
460 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp6_usr_listen()
472 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) in tcp6_usr_listen()
534 if (inp->inp_flags & INP_TIMEWAIT) { in tcp_usr_connect()
[all …]
HDtcp_timewait.c240 KASSERT((inp->inp_flags & INP_DROPPED) == 0, ("tcp_twstart: " in tcp_twstart()
352 inp->inp_flags |= INP_TIMEWAIT; in tcp_twstart()
360 if (inp->inp_flags & INP_SOCKREF) { in tcp_twstart()
363 inp->inp_flags &= ~INP_SOCKREF; in tcp_twstart()
502 KASSERT((inp->inp_flags & INP_TIMEWAIT), ("tcp_twclose: !timewait")); in tcp_twclose()
519 if (inp->inp_flags & INP_SOCKREF) { in tcp_twclose()
520 inp->inp_flags &= ~INP_SOCKREF; in tcp_twclose()
HDip_output.c1062 inp->inp_flags |= bit; \ in ip_ctloutput()
1064 inp->inp_flags &= ~bit; \ in ip_ctloutput()
1167 inp->inp_flags &= ~(INP_LOWPORT); in ip_ctloutput()
1168 inp->inp_flags &= ~(INP_HIGHPORT); in ip_ctloutput()
1172 inp->inp_flags &= ~(INP_LOWPORT); in ip_ctloutput()
1173 inp->inp_flags |= INP_HIGHPORT; in ip_ctloutput()
1177 inp->inp_flags &= ~(INP_HIGHPORT); in ip_ctloutput()
1178 inp->inp_flags |= INP_LOWPORT; in ip_ctloutput()
1251 #define OPTBIT(bit) (inp->inp_flags & bit ? 1 : 0) in ip_ctloutput()
1275 if (inp->inp_flags & INP_HIGHPORT) in ip_ctloutput()
[all …]
HDraw_ip.c256 if ((last->inp_flags & INP_CONTROLOPTS) || in rip_append()
453 if ((inp->inp_flags & INP_HDRINCL) == 0) { in rip_output()
465 if (inp->inp_flags & INP_DONTFRAG) in rip_output()
567 if (inp->inp_flags & INP_ONESBCAST) in rip_output()
620 optval = inp->inp_flags & INP_HDRINCL; in rip_ctloutput()
678 inp->inp_flags |= INP_HDRINCL; in rip_ctloutput()
680 inp->inp_flags &= ~INP_HDRINCL; in rip_ctloutput()
969 (inp->inp_flags & INP_BINDANY) == 0 && in rip_bind()
HDtcp_subr.c1310 if (!(inp->inp_flags & INP_TIMEWAIT) && in tcp_ccalgounload()
1565 if (inp->inp_flags & INP_SOCKREF) { in tcp_close()
1568 inp->inp_flags &= ~INP_SOCKREF; in tcp_close()
1603 if (inpb->inp_flags & INP_TIMEWAIT) in tcp_drain()
1641 if ((inp->inp_flags & INP_TIMEWAIT) || in tcp_notify()
1642 (inp->inp_flags & INP_DROPPED)) in tcp_notify()
1744 if (inp->inp_flags & INP_TIMEWAIT) { in tcp_pcblist()
1777 else if (inp->inp_flags & INP_TIMEWAIT) { in tcp_pcblist()
1984 if (!(inp->inp_flags & INP_TIMEWAIT) && in tcp_ctlinput()
1985 !(inp->inp_flags & INP_DROPPED) && in tcp_ctlinput()
[all …]
HDtcp_timer.c293 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_delack()
334 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_2msl()
357 if ((inp->inp_flags & INP_TIMEWAIT) != 0) { in tcp_timer_2msl()
415 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_keep()
516 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_persist()
598 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_rexmt()
HDtoecore.c196 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()
482 if (!(inp->inp_flags & INP_DROPPED)) { in toe_connect_failed()
HDip_input.c1192 if (inp->inp_flags & INP_RECVDSTADDR) { in ip_savecontrol()
1198 if (inp->inp_flags & INP_RECVTTL) { in ip_savecontrol()
1210 if (inp->inp_flags & INP_RECVOPTS) { in ip_savecontrol()
1217 if (inp->inp_flags & INP_RECVRETOPTS) { in ip_savecontrol()
1224 if (inp->inp_flags & INP_RECVIF) { in ip_savecontrol()
1257 if (inp->inp_flags & INP_RECVTOS) { in ip_savecontrol()
HDin_pcbgroup.c481 !(inp->inp_flags & INP_DROPPED)) { in in_pcbgroup_update()
512 !(inp->inp_flags & INP_DROPPED)) { in in_pcbgroup_update_mbuf()
HDudp_usrreq.c343 if (inp->inp_flags & INP_CONTROLOPTS || in udp_append()
1350 inp->inp_flags |= INP_ANONPORT; in udp_output()
1414 if (inp->inp_flags & INP_DONTFRAG) { in udp_output()
1426 if (inp->inp_flags & INP_ONESBCAST) in udp_output()
1438 if (inp->inp_flags & INP_ONESBCAST) in udp_output()
1448 if (inp->inp_flags & INP_ONESBCAST) in udp_output()
/freebsd-11-stable/sys/netinet6/
HDin6_pcb.c137 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0) in in6_pcbbind()
153 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0) in in6_pcbbind()
173 (inp->inp_flags & INP_BINDANY) == 0) { in in6_pcbbind()
210 ((t->inp_flags & INP_TIMEWAIT) == 0) && in in6_pcbbind()
230 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0 && in in6_pcbbind()
240 ((t->inp_flags & in in6_pcbbind()
256 if (t && (t->inp_flags & INP_TIMEWAIT)) { in in6_pcbbind()
271 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0 && in in6_pcbbind()
278 if (t && t->inp_flags & INP_TIMEWAIT) { in in6_pcbbind()
429 if (inp->inp_flags & IN6P_AUTOFLOWLABEL) in in6_pcbconnect_mbuf()
HDip6_input.c1263 #define IS2292(inp, x, y) (((inp)->inp_flags & IN6P_RFC2292) ? (x) : (y)) in ip6_savecontrol_v4()
1265 if ((inp->inp_flags & IN6P_PKTINFO) != 0) { in ip6_savecontrol_v4()
1295 if ((inp->inp_flags & IN6P_HOPLIMIT) != 0) { in ip6_savecontrol_v4()
1318 if ((inp->inp_flags & IN6P_TCLASS) != 0) { in ip6_savecontrol_v4()
1372 if ((in6p->inp_flags & IN6P_HOPOPTS) != 0) { in ip6_savecontrol()
1424 if ((in6p->inp_flags & (IN6P_RTHDR | IN6P_DSTOPTS)) != 0) { in ip6_savecontrol()
1485 if (!(in6p->inp_flags & IN6P_DSTOPTS)) in ip6_savecontrol()
1496 if (!(in6p->inp_flags & IN6P_RTHDR)) in ip6_savecontrol()
1593 if ((inp->inp_flags & IN6P_MTU) == 0 || ( in ip6_notify_pmtu()
HDin6_src.c249 &tmp, (inp->inp_flags & IN6P_IPV6_V6ONLY) != 0)) != 0) in in6_selectsrc()
257 if ((inp->inp_flags & INP_BINDANY) == 0) { in in6_selectsrc()
281 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0) in in6_selectsrc()
526 (inp->inp_flags & IN6P_IPV6_V6ONLY) != 0)) != 0) { in in6_selectsrc()
976 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0)); in in6_pcbsetport()
984 inp->inp_flags |= INP_ANONPORT; in in6_pcbsetport()
HDudp6_usrreq.c171 if (inp->inp_flags & INP_CONTROLOPTS || in udp6_append()
721 if ((inp->inp_flags & IN6P_IPV6_V6ONLY)) { in udp6_output()
775 if ((inp->inp_flags & IN6P_IPV6_V6ONLY)) { in udp6_output()
976 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) in udp6_attach()
1017 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in udp6_bind()
1105 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0) { in udp6_connect()
1263 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in udp6_send()
HDip6_output.c1599 in6p->inp_flags |= (bit); \ in ip6_ctloutput()
1601 in6p->inp_flags &= ~(bit); \ in ip6_ctloutput()
1607 in6p->inp_flags |= IN6P_RFC2292; \ in ip6_ctloutput()
1609 in6p->inp_flags |= (bit); \ in ip6_ctloutput()
1611 in6p->inp_flags &= ~(bit); \ in ip6_ctloutput()
1614 #define OPTBIT(bit) (in6p->inp_flags & (bit) ? 1 : 0) in ip6_ctloutput()
1900 in6p->inp_flags &= ~(INP_LOWPORT); in ip6_ctloutput()
1901 in6p->inp_flags &= ~(INP_HIGHPORT); in ip6_ctloutput()
1905 in6p->inp_flags &= ~(INP_LOWPORT); in ip6_ctloutput()
1906 in6p->inp_flags |= INP_HIGHPORT; in ip6_ctloutput()
[all …]
HDraw_ip6.c273 if (last->inp_flags & INP_CONTROLOPTS || in rip6_input()
307 if (last->inp_flags & INP_CONTROLOPTS || in rip6_input()
/freebsd-11-stable/sys/dev/cxgbe/tom/
HDt4_cpl_io.c292 inp->inp_flags & INP_DROPPED ? "inp dropped" : in send_reset()
294 toep->flags, inp->inp_flags, in send_reset()
314 if (inp->inp_flags & INP_DROPPED) in send_reset()
325 if ((inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) == 0) { in send_reset()
1152 KASSERT((inp->inp_flags & INP_DROPPED) == 0, in t4_tod_output()
1176 KASSERT((inp->inp_flags & INP_DROPPED) == 0, in t4_send_fin()
1203 KASSERT((inp->inp_flags & INP_DROPPED) == 0, in t4_send_rst()
1465 inp->inp_flags, cpl->status); in do_abort_req()
1478 if ((inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) == 0) { in do_abort_req()
1567 if (inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) { in do_rx_data()
[all …]
HDt4_listen.c756 if (inp->inp_flags & INP_DROPPED) { in do_pass_open_rpl()
762 if (inp->inp_flags & INP_DROPPED && status != CPL_ERR_NONE) { in do_pass_open_rpl()
773 if (inp->inp_flags & INP_DROPPED) { in do_pass_open_rpl()
1364 if (__predict_false(inp->inp_flags & INP_DROPPED)) { in do_pass_accept_req()
1519 __func__, stid, tid, synqe, synqe->flags, inp->inp_flags); in do_pass_establish()
1526 if (__predict_false(inp->inp_flags & INP_DROPPED)) { in do_pass_establish()
HDt4_tls.c788 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in t4_ctloutput_tls()
1425 if (inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) { in do_tls_data()
1427 __func__, tid, len, inp->inp_flags); in do_tls_data()
1488 if (inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) { in do_rx_tls_cmp()
1490 __func__, tid, len, inp->inp_flags); in do_rx_tls_cmp()
HDt4_tom.c342 inp->inp_flags); in t4_pcb_detach()
347 inp->inp_flags); in t4_pcb_detach()
479 __func__, toep->tid, toep, toep->flags, inp, inp->inp_flags); in final_cpl_received()
/freebsd-11-stable/sys/dev/cxgb/ulp/tom/
HDcxgb_listen.c344 if (inp->inp_flags & INP_DROPPED) { in do_pass_open_rpl()
350 if (inp->inp_flags & INP_DROPPED && rpl->status != CPL_ERR_NONE) { in do_pass_open_rpl()
361 if (inp->inp_flags & INP_DROPPED) { in do_pass_open_rpl()
549 if (__predict_false(inp->inp_flags & INP_DROPPED)) { in do_pass_accept_req()
596 if (__predict_false(inp->inp_flags & INP_DROPPED)) { in do_pass_accept_req()
693 __func__, stid, tid, lctx, inp->inp_flags); in do_pass_establish()
701 if (__predict_false(inp->inp_flags & INP_DROPPED)) { in do_pass_establish()
/freebsd-11-stable/sys/dev/cxgbe/cxgbei/
HDicl_cxgbei.c397 if (__predict_false(inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) || in icl_cxgbei_conn_pdu_queue()
537 if ((inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) == 0) { in find_offload_adapter()
672 if (inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) in icl_cxgbei_conn_handoff()
/freebsd-11-stable/sys/netipsec/
HDxform_tcp.c104 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp_ipsec_pcbctl()
/freebsd-11-stable/sys/security/mac_portacl/
HDmac_portacl.c474 if ((inp->inp_flags & INP_LOWPORT) == 0) in socket_check_bind()

12