| /freebsd-12-stable/sys/netinet/ |
| D | in_pcb.c | 536 inp->inp_flags |= IN6P_IPV6_V6ONLY; in in_pcballoc() 546 inp->inp_flags |= IN6P_AUTOFLOWLABEL; in in_pcballoc() 589 inp->inp_flags |= INP_ANONPORT; in in_pcbbind() 626 if (inp->inp_flags & INP_HIGHPORT) { in in_pcb_lport_dest() 630 } else if (inp->inp_flags & INP_LOWPORT) { in in_pcb_lport_dest() 903 if ((inp->inp_flags & INP_BINDANY) == 0 && in in_pcbbind_setup() 929 ((t->inp_flags & INP_TIMEWAIT) == 0) && in in_pcbbind_setup() 951 if (t && (t->inp_flags & INP_TIMEWAIT)) { in in_pcbbind_setup() 1046 inp->inp_flags |= INP_ANONPORT; in in_pcbconnect_mbuf() 1735 inp->inp_flags |= INP_DROPPED; in in_pcbdrop() [all …]
|
| D | tcp_usrreq.c | 196 if (inp->inp_flags & INP_TIMEWAIT) { in tcp_detach() 227 if (inp->inp_flags & INP_DROPPED) { in tcp_detach() 262 if (inp->inp_flags & INP_DROPPED || in tcp_detach() 329 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp_usr_bind() 373 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp6_usr_bind() 383 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in tcp6_usr_bind() 431 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp_usr_listen() 477 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp6_usr_listen() 489 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) in tcp6_usr_listen() 553 if (inp->inp_flags & INP_TIMEWAIT) { in tcp_usr_connect() [all …]
|
| D | tcp_timer.c | 268 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_delack() 310 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_2msl() 330 if ((inp->inp_flags & INP_TIMEWAIT) != 0) { in tcp_timer_2msl() 339 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp_timer_2msl() 353 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp_timer_2msl() 401 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_keep() 478 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp_timer_keep() 519 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_persist() 542 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp_timer_persist() 559 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp_timer_persist() [all …]
|
| D | tcp_timewait.c | 243 KASSERT((inp->inp_flags & INP_DROPPED) == 0, ("tcp_twstart: " in tcp_twstart() 344 inp->inp_flags |= INP_TIMEWAIT; in tcp_twstart() 361 if (inp->inp_flags & INP_SOCKREF) { in tcp_twstart() 364 inp->inp_flags &= ~INP_SOCKREF; in tcp_twstart() 503 KASSERT((inp->inp_flags & INP_TIMEWAIT), ("tcp_twclose: !timewait")); in tcp_twclose() 520 if (inp->inp_flags & INP_SOCKREF) { in tcp_twclose() 521 inp->inp_flags &= ~INP_SOCKREF; in tcp_twclose()
|
| D | ip_output.c | 1129 inp->inp_flags |= bit; \ in ip_ctloutput() 1131 inp->inp_flags &= ~bit; \ in ip_ctloutput() 1260 inp->inp_flags &= ~(INP_LOWPORT); in ip_ctloutput() 1261 inp->inp_flags &= ~(INP_HIGHPORT); in ip_ctloutput() 1265 inp->inp_flags &= ~(INP_LOWPORT); in ip_ctloutput() 1266 inp->inp_flags |= INP_HIGHPORT; in ip_ctloutput() 1270 inp->inp_flags &= ~(INP_HIGHPORT); in ip_ctloutput() 1271 inp->inp_flags |= INP_LOWPORT; in ip_ctloutput() 1357 #define OPTBIT(bit) (inp->inp_flags & bit ? 1 : 0) in ip_ctloutput() 1385 if (inp->inp_flags & INP_HIGHPORT) in ip_ctloutput() [all …]
|
| D | raw_ip.c | 258 if ((last->inp_flags & INP_CONTROLOPTS) || in rip_append() 467 if ((inp->inp_flags & INP_HDRINCL) == 0) { in rip_output() 479 if (inp->inp_flags & INP_DONTFRAG) in rip_output() 588 if (inp->inp_flags & INP_ONESBCAST) in rip_output() 641 optval = inp->inp_flags & INP_HDRINCL; in rip_ctloutput() 699 inp->inp_flags |= INP_HDRINCL; in rip_ctloutput() 701 inp->inp_flags &= ~INP_HDRINCL; in rip_ctloutput() 990 (inp->inp_flags & INP_BINDANY) == 0 && in rip_bind()
|
| D | tcp_subr.c | 976 if (inp->inp_flags & INP_TIMEWAIT) { in deregister_tcp_functions() 1747 if (!(inp->inp_flags & INP_TIMEWAIT) && in tcp_ccalgounload() 2018 if (inp->inp_flags & INP_SOCKREF) { in tcp_close() 2021 inp->inp_flags &= ~INP_SOCKREF; in tcp_close() 2056 if (inpb->inp_flags & INP_TIMEWAIT) { in tcp_drain() 2098 if ((inp->inp_flags & INP_TIMEWAIT) || in tcp_notify() 2099 (inp->inp_flags & INP_DROPPED)) in tcp_notify() 2202 if (inp->inp_flags & INP_TIMEWAIT) { in tcp_pcblist() 2421 if (!(inp->inp_flags & INP_TIMEWAIT) && in tcp_ctlinput() 2422 !(inp->inp_flags & INP_DROPPED) && in tcp_ctlinput() [all …]
|
| D | toecore.c | 206 if (inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) in toe_listen_start() 382 if ((inp->inp_flags & INP_TIMEWAIT) && th != NULL) { in toe_4tuple_check() 500 if (!(inp->inp_flags & INP_DROPPED)) { in toe_connect_failed()
|
| D | ip_input.c | 1245 if (inp->inp_flags & INP_RECVDSTADDR) { in ip_savecontrol() 1251 if (inp->inp_flags & INP_RECVTTL) { in ip_savecontrol() 1263 if (inp->inp_flags & INP_RECVOPTS) { in ip_savecontrol() 1270 if (inp->inp_flags & INP_RECVRETOPTS) { in ip_savecontrol() 1277 if (inp->inp_flags & INP_RECVIF) { in ip_savecontrol() 1310 if (inp->inp_flags & INP_RECVTOS) { in ip_savecontrol()
|
| D | in_pcbgroup.c | 483 !(inp->inp_flags & INP_DROPPED)) { in in_pcbgroup_update() 514 !(inp->inp_flags & INP_DROPPED)) { in in_pcbgroup_update_mbuf()
|
| D | udp_usrreq.c | 344 if (inp->inp_flags & INP_CONTROLOPTS || in udp_append() 1463 inp->inp_flags |= INP_ANONPORT; in udp_output() 1527 if (inp->inp_flags & INP_DONTFRAG) { in udp_output() 1539 if (inp->inp_flags & INP_ONESBCAST) in udp_output() 1551 if (inp->inp_flags & INP_ONESBCAST) in udp_output() 1561 if (inp->inp_flags & INP_ONESBCAST) in udp_output()
|
| D | in_pcb.h | 267 int inp_flags; /* (i) generic IP/datagram flags */ member 379 int32_t inp_flags; /* (s,p) */ member
|
| /freebsd-12-stable/sys/netinet6/ |
| D | in6_pcb.c | 140 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0) in in6_pcbbind() 156 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0) in in6_pcbbind() 184 (inp->inp_flags & INP_BINDANY) == 0) { in in6_pcbbind() 221 ((t->inp_flags & INP_TIMEWAIT) == 0) && in in6_pcbbind() 242 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0 && in in6_pcbbind() 252 ((t->inp_flags & in in6_pcbbind() 268 if (t && (t->inp_flags & INP_TIMEWAIT)) { in in6_pcbbind() 285 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0 && in in6_pcbbind() 292 if (t && t->inp_flags & INP_TIMEWAIT) { in in6_pcbbind() 454 if (inp->inp_flags & IN6P_AUTOFLOWLABEL) in in6_pcbconnect_mbuf()
|
| D | ip6_output.c | 1646 inp->inp_flags |= (bit); \ in ip6_ctloutput() 1648 inp->inp_flags &= ~(bit); \ in ip6_ctloutput() 1654 inp->inp_flags |= IN6P_RFC2292; \ in ip6_ctloutput() 1656 inp->inp_flags |= (bit); \ in ip6_ctloutput() 1658 inp->inp_flags &= ~(bit); \ in ip6_ctloutput() 1661 #define OPTBIT(bit) (inp->inp_flags & (bit) ? 1 : 0) in ip6_ctloutput() 1682 inp->inp_flags |= (bit); \ in ip6_ctloutput() 1684 inp->inp_flags &= ~(bit); \ in ip6_ctloutput() 1703 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in ip6_ctloutput() 1846 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in ip6_ctloutput() [all …]
|
| D | ip6_input.c | 1284 #define IS2292(inp, x, y) (((inp)->inp_flags & IN6P_RFC2292) ? (x) : (y)) in ip6_savecontrol_v4() 1286 if ((inp->inp_flags & IN6P_PKTINFO) != 0) { in ip6_savecontrol_v4() 1316 if ((inp->inp_flags & IN6P_HOPLIMIT) != 0) { in ip6_savecontrol_v4() 1339 if ((inp->inp_flags & IN6P_TCLASS) != 0) { in ip6_savecontrol_v4() 1394 if ((inp->inp_flags & IN6P_HOPOPTS) != 0) { in ip6_savecontrol() 1424 if ((inp->inp_flags & (IN6P_RTHDR | IN6P_DSTOPTS)) != 0) { in ip6_savecontrol() 1464 if (!(inp->inp_flags & IN6P_DSTOPTS)) in ip6_savecontrol() 1475 if (!(inp->inp_flags & IN6P_RTHDR)) in ip6_savecontrol() 1565 if ((inp->inp_flags & IN6P_MTU) == 0 || ( in ip6_notify_pmtu()
|
| D | in6_src.c | 249 &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() 525 (inp->inp_flags & IN6P_IPV6_V6ONLY) != 0)) != 0) { in in6_selectsrc() 975 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0)); in in6_pcbsetport() 983 inp->inp_flags |= INP_ANONPORT; in in6_pcbsetport()
|
| D | udp6_usrreq.c | 173 if (inp->inp_flags & INP_CONTROLOPTS || in udp6_append() 780 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in udp6_output() 1124 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) in udp6_attach() 1165 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in udp6_bind() 1253 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0) { in udp6_connect()
|
| D | raw_ip6.c | 207 if (last->inp_flags & INP_CONTROLOPTS || in rip6_input() 321 if (last->inp_flags & INP_CONTROLOPTS || in rip6_input()
|
| /freebsd-12-stable/sys/dev/cxgbe/tom/ |
| D | t4_cpl_io.c | 276 inp->inp_flags & INP_DROPPED ? "inp dropped" : in send_reset() 278 toep->flags, inp->inp_flags, in send_reset() 298 if (inp->inp_flags & INP_DROPPED) in send_reset() 309 if ((inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) == 0) { in send_reset() 1125 KASSERT((inp->inp_flags & INP_DROPPED) == 0, in t4_tod_output() 1149 KASSERT((inp->inp_flags & INP_DROPPED) == 0, in t4_send_fin() 1176 KASSERT((inp->inp_flags & INP_DROPPED) == 0, in t4_send_rst() 1443 inp->inp_flags, cpl->status); in do_abort_req() 1456 if ((inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) == 0) { in do_abort_req() 1546 if (inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) { in do_rx_data() [all …]
|
| D | t4_listen.c | 770 if (inp->inp_flags & INP_DROPPED) { in do_pass_open_rpl() 776 if (inp->inp_flags & INP_DROPPED && status != CPL_ERR_NONE) { in do_pass_open_rpl() 787 if (inp->inp_flags & INP_DROPPED) { in do_pass_open_rpl() 1287 if (__predict_false(inp->inp_flags & INP_DROPPED)) { in do_pass_accept_req() 1436 __func__, stid, tid, synqe, synqe->flags, inp->inp_flags); in do_pass_establish() 1443 if (__predict_false(inp->inp_flags & INP_DROPPED)) { in do_pass_establish()
|
| D | t4_tls.c | 778 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in t4_ctloutput_tls() 1415 if (inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) { in do_tls_data() 1417 __func__, tid, len, inp->inp_flags); in do_tls_data() 1478 if (inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) { in do_rx_tls_cmp() 1480 __func__, tid, len, inp->inp_flags); in do_rx_tls_cmp()
|
| /freebsd-12-stable/sys/netipsec/ |
| D | xform_tcp.c | 89 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp_ipsec_pcbctl() 107 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp_ipsec_pcbctl()
|
| /freebsd-12-stable/sys/dev/cxgbe/cxgbei/ |
| D | icl_cxgbei.c | 403 if (__predict_false(inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) || in icl_cxgbei_conn_pdu_queue() 531 if ((inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) == 0) { in find_offload_adapter() 664 if (inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) in icl_cxgbei_conn_handoff()
|
| D | cxgbei.c | 381 if (__predict_false(inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT))) { in do_rx_iscsi_ddp() 383 __func__, tid, pdu_len, inp->inp_flags); in do_rx_iscsi_ddp()
|
| /freebsd-12-stable/sys/security/mac_portacl/ |
| D | mac_portacl.c | 474 if ((inp->inp_flags & INP_LOWPORT) == 0) in socket_check_bind()
|