Home
last modified time | relevance | path

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

12

/freebsd-14.2/sys/netinet/
H A Din_pcb.c414 inp->inp_flags |= INP_INLBGROUP; in in_pcbinslbgrouphash()
1753 inp->inp_flags |= INP_FREED; in in_pcbfree()
1825 inp->inp_flags |= INP_DROPPED; in in_pcbdrop()
2956 xi->inp_flags = inp->inp_flags; in in_pcbtoxinpcb()
3109 if (inp_flags & INP_HDRINCL) { in db_print_inpflags()
3117 if (inp_flags & INP_LOWPORT) { in db_print_inpflags()
3125 if (inp_flags & INP_RECVIF) { in db_print_inpflags()
3129 if (inp_flags & INP_MTUDISC) { in db_print_inpflags()
3133 if (inp_flags & INP_RECVTTL) { in db_print_inpflags()
3165 if (inp_flags & IN6P_RTHDR) { in db_print_inpflags()
[all …]
H A Dtcp_usrreq.c235 if (inp->inp_flags & INP_DROPPED) { in tcp_usr_bind()
291 if (inp->inp_flags & INP_DROPPED) { in tcp6_usr_bind()
367 if (inp->inp_flags & INP_DROPPED) { in tcp_usr_listen()
419 if (inp->inp_flags & INP_DROPPED) { in tcp6_usr_listen()
487 if (inp->inp_flags & INP_DROPPED) { in tcp_usr_connect()
557 if (inp->inp_flags & INP_DROPPED) { in tcp6_usr_connect()
696 if (inp->inp_flags & INP_DROPPED) { in tcp_usr_disconnect()
731 if (inp->inp_flags & INP_DROPPED) { in tcp_usr_accept()
776 if (inp->inp_flags & INP_DROPPED) { in tcp6_usr_accept()
1279 inp->inp_flags |= INP_SOCKREF; in tcp_usr_abort()
[all …]
H A Draw_ip.c228 if ((inp->inp_flags & INP_CONTROLOPTS) || in rip_append()
454 if ((inp->inp_flags & INP_HDRINCL) == 0) { in rip_send()
466 if (inp->inp_flags & INP_DONTFRAG) in rip_send()
598 if (inp->inp_flags & INP_ONESBCAST) in rip_send()
653 optval = inp->inp_flags & INP_HDRINCL; in rip_ctloutput()
713 inp->inp_flags |= INP_HDRINCL; in rip_ctloutput()
715 inp->inp_flags &= ~INP_HDRINCL; in rip_ctloutput()
945 (inp->inp_flags & INP_BINDANY) == 0 && in rip_bind()
H A Dip_output.c1188 inp->inp_flags |= bit; \ in ip_ctloutput()
1190 inp->inp_flags &= ~bit; \ in ip_ctloutput()
1307 inp->inp_flags &= ~(INP_LOWPORT); in ip_ctloutput()
1308 inp->inp_flags &= ~(INP_HIGHPORT); in ip_ctloutput()
1312 inp->inp_flags &= ~(INP_LOWPORT); in ip_ctloutput()
1313 inp->inp_flags |= INP_HIGHPORT; in ip_ctloutput()
1317 inp->inp_flags &= ~(INP_HIGHPORT); in ip_ctloutput()
1318 inp->inp_flags |= INP_LOWPORT; in ip_ctloutput()
1402 #define OPTBIT(bit) (inp->inp_flags & bit ? 1 : 0) in ip_ctloutput()
1430 if (inp->inp_flags & INP_HIGHPORT) in ip_ctloutput()
[all …]
H A Dip_input.c1202 if (inp->inp_flags & INP_RECVDSTADDR) { in ip_savecontrol()
1208 if (inp->inp_flags & INP_RECVTTL) { in ip_savecontrol()
1220 if (inp->inp_flags & INP_RECVOPTS) { in ip_savecontrol()
1227 if (inp->inp_flags & INP_RECVRETOPTS) { in ip_savecontrol()
1234 if (inp->inp_flags & INP_RECVIF) { in ip_savecontrol()
1266 if (inp->inp_flags & INP_RECVTOS) { in ip_savecontrol()
H A Dudp_usrreq.c282 if (inp->inp_flags & INP_CONTROLOPTS || in udp_append()
1305 inp->inp_flags |= INP_ANONPORT; in udp_send()
1375 if (inp->inp_flags & INP_ONESBCAST) in udp_send()
1387 if (inp->inp_flags & INP_ONESBCAST) in udp_send()
1397 if (inp->inp_flags & INP_ONESBCAST) in udp_send()
1411 if (inp->inp_flags & INP_DONTFRAG) in udp_send()
H A Dtoecore.c222 if (inp->inp_flags & INP_DROPPED) in toe_listen_start()
518 if (!(inp->inp_flags & INP_DROPPED)) { in toe_connect_failed()
H A Dtcp_timewait.c120 KASSERT((inp->inp_flags & INP_DROPPED) == 0, ("tcp_twstart: " in tcp_twstart()
H A Din_pcb.h179 int inp_flags; /* (i) generic IP/datagram flags */ member
276 int32_t inp_flags; /* (s,p) */ member
H A Dtcp_log_buf.c510 if (inp->inp_flags & INP_DROPPED) { \
2247 if ((inp->inp_flags & INP_DROPPED) == 0) { in tcp_log_getlogbuf()
2420 if (inp->inp_flags & INP_DROPPED) { in tcp_log_dump_tp_logbuf()
2863 if ((inp->inp_flags & INP_DROPPED) || in tcp_log_sendfile()
2870 if (inp->inp_flags & INP_DROPPED) in tcp_log_sendfile()
H A Dtcp_syncache.c869 inp->inp_flags |= oinp->inp_flags & INP_CONTROLOPTS; in syncache_socket()
1407 if (inp->inp_flags & IN6P_AUTOFLOWLABEL) { in syncache_add()
2314 if (sotoinpcb(lso)->inp_flags & IN6P_AUTOFLOWLABEL) in syncookie_lookup()
/freebsd-14.2/sys/netinet6/
H A Dip6_output.c1764 inp->inp_flags |= (bit); \ in ip6_ctloutput()
1766 inp->inp_flags &= ~(bit); \ in ip6_ctloutput()
1772 inp->inp_flags |= IN6P_RFC2292; \ in ip6_ctloutput()
1774 inp->inp_flags |= (bit); \ in ip6_ctloutput()
1776 inp->inp_flags &= ~(bit); \ in ip6_ctloutput()
1800 inp->inp_flags |= (bit); \ in ip6_ctloutput()
1802 inp->inp_flags &= ~(bit); \ in ip6_ctloutput()
2079 inp->inp_flags &= ~(INP_LOWPORT); in ip6_ctloutput()
2085 inp->inp_flags |= INP_HIGHPORT; in ip6_ctloutput()
2090 inp->inp_flags |= INP_LOWPORT; in ip6_ctloutput()
[all …]
H A Din6_pcb.c141 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0)); in in6_pcbsetport()
149 inp->inp_flags |= INP_ANONPORT; in in6_pcbsetport()
189 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0) in in6_pcbbind()
201 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0) in in6_pcbbind()
230 (inp->inp_flags & INP_BINDANY) == 0) { in in6_pcbbind()
274 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0 && in in6_pcbbind()
299 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0 && in in6_pcbbind()
484 if (inp->inp_flags & IN6P_AUTOFLOWLABEL) in in6_pcbconnect()
488 if ((inp->inp_flags & INP_INHASHLIST) != 0) { in in6_pcbconnect()
H A Dip6_input.c1286 #define IS2292(inp, x, y) (((inp)->inp_flags & IN6P_RFC2292) ? (x) : (y)) in ip6_savecontrol_v4()
1288 if ((inp->inp_flags & IN6P_PKTINFO) != 0) { in ip6_savecontrol_v4()
1318 if ((inp->inp_flags & IN6P_HOPLIMIT) != 0) { in ip6_savecontrol_v4()
1341 if ((inp->inp_flags & IN6P_TCLASS) != 0) { in ip6_savecontrol_v4()
1396 if ((inp->inp_flags & IN6P_HOPOPTS) != 0) { in ip6_savecontrol()
1426 if ((inp->inp_flags & (IN6P_RTHDR | IN6P_DSTOPTS)) != 0) { in ip6_savecontrol()
1466 if (!(inp->inp_flags & IN6P_DSTOPTS)) in ip6_savecontrol()
1476 if (!(inp->inp_flags & IN6P_RTHDR)) in ip6_savecontrol()
1565 if ((inp->inp_flags & IN6P_MTU) == 0 || ( in ip6_notify_pmtu()
H A Din6_src.c245 &tmp, (inp->inp_flags & IN6P_IPV6_V6ONLY) != 0)) != 0) in in6_selectsrc()
253 if ((inp->inp_flags & INP_BINDANY) == 0) { in in6_selectsrc()
273 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0) in in6_selectsrc()
517 (inp->inp_flags & IN6P_IPV6_V6ONLY) != 0)) != 0) { in in6_selectsrc()
H A Dudp6_usrreq.c179 if (inp->inp_flags & INP_CONTROLOPTS || in udp6_append()
736 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in udp6_send()
1043 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in udp6_bind()
1125 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0) { in udp6_connect()
/freebsd-14.2/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c250 toep->flags, inp->inp_flags, in send_reset()
270 if (inp->inp_flags & INP_DROPPED) in send_reset()
281 if ((inp->inp_flags & INP_DROPPED) == 0) { in send_reset()
1253 KASSERT((inp->inp_flags & INP_DROPPED) == 0, in t4_tod_output()
1272 KASSERT((inp->inp_flags & INP_DROPPED) == 0, in t4_send_fin()
1572 inp->inp_flags, cpl->status); in do_abort_req()
1585 if ((inp->inp_flags & INP_DROPPED) == 0) { in do_abort_req()
1675 if (inp->inp_flags & INP_DROPPED) { in do_rx_data()
1677 __func__, tid, len, inp->inp_flags); in do_rx_data()
2271 if (inp->inp_flags & INP_DROPPED) { in t4_aiotx_process_job()
[all …]
H A Dt4_listen.c881 if (inp->inp_flags & INP_DROPPED) { in do_pass_open_rpl()
887 if (inp->inp_flags & INP_DROPPED && status != CPL_ERR_NONE) { in do_pass_open_rpl()
898 if (inp->inp_flags & INP_DROPPED) { in do_pass_open_rpl()
1450 if (__predict_false(inp->inp_flags & INP_DROPPED)) { in do_pass_accept_req()
1614 __func__, stid, tid, synqe, synqe->flags, inp->inp_flags); in do_pass_establish()
1621 if (__predict_false(inp->inp_flags & INP_DROPPED)) { in do_pass_establish()
H A Dt4_tls.c748 if (inp->inp_flags & INP_DROPPED) { in do_tls_data()
750 __func__, tid, len, inp->inp_flags); in do_tls_data()
818 if (inp->inp_flags & INP_DROPPED) { in do_rx_tls_cmp()
820 __func__, tid, len, inp->inp_flags); in do_rx_tls_cmp()
/freebsd-14.2/sys/netipsec/
H A Dxform_tcp.c88 if (inp->inp_flags & INP_DROPPED) { in tcp_ipsec_pcbctl()
106 if (inp->inp_flags & INP_DROPPED) { in tcp_ipsec_pcbctl()
/freebsd-14.2/sys/dev/cxgbe/cxgbei/
H A Dcxgbei.c503 if (__predict_false(inp->inp_flags & INP_DROPPED)) { in do_rx_iscsi_ddp()
505 __func__, tid, pdu_len, inp->inp_flags); in do_rx_iscsi_ddp()
656 if (__predict_false(inp->inp_flags & INP_DROPPED)) { in do_rx_iscsi_cmp()
658 __func__, tid, pdu_len, inp->inp_flags); in do_rx_iscsi_cmp()
H A Dicl_cxgbei.c479 if (__predict_false(inp->inp_flags & INP_DROPPED) || in icl_cxgbei_tx_main()
1007 if ((inp->inp_flags & INP_DROPPED) == 0) { in find_offload_adapter()
1164 if (inp->inp_flags & INP_DROPPED) { in icl_cxgbei_conn_handoff()
1506 if ((inp->inp_flags & INP_DROPPED) != 0) { in icl_cxgbei_conn_task_setup()
1683 if ((inp->inp_flags & INP_DROPPED) != 0) { in icl_cxgbei_conn_transfer_setup()
/freebsd-14.2/sys/kern/
H A Duipc_ktls.c800 if (inp->inp_flags & INP_DROPPED) { in ktls_try_toe()
851 if (inp->inp_flags & INP_DROPPED) { in ktls_alloc_snd_tag()
951 if (inp->inp_flags & INP_DROPPED) { in ktls_alloc_rcv_tag()
1428 if (inp->inp_flags & INP_DROPPED) { in ktls_get_rx_sequence()
1610 if (inp->inp_flags & INP_DROPPED) { in ktls_reset_receive_tag()
1731 if (!(inp->inp_flags & INP_DROPPED)) { in ktls_reset_send_tag()
2386 if (inp->inp_flags & INP_DROPPED) { in ktls_resync_ifnet()
2417 if (!(inp->inp_flags & INP_DROPPED)) { in ktls_drop()
3282 if (inp->inp_flags & INP_DROPPED) { in ktls_disable_ifnet_help()
3293 if ((inp->inp_flags & INP_DROPPED) == 0 && in ktls_disable_ifnet_help()
/freebsd-14.2/sys/security/mac_portacl/
H A Dmac_portacl.c475 if ((inp->inp_flags & INP_LOWPORT) == 0) in socket_check_bind()
/freebsd-14.2/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fs_tcp.c141 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0 && in mlx5e_accel_fs_add_inpcb()

12