| /f-stack/freebsd/netinet/ |
| H A D | in_pcb.c | 1855 inp->inp_flags |= INP_DROPPED; in in_pcbdrop() 3076 xi->inp_flags = inp->inp_flags; in in_pcbtoxinpcb() 3150 if (inp_flags & INP_HDRINCL) { in db_print_inpflags() 3158 if (inp_flags & INP_LOWPORT) { in db_print_inpflags() 3166 if (inp_flags & INP_RECVIF) { in db_print_inpflags() 3170 if (inp_flags & INP_MTUDISC) { in db_print_inpflags() 3174 if (inp_flags & INP_RECVTTL) { in db_print_inpflags() 3182 if (inp_flags & INP_RECVTOS) { in db_print_inpflags() 3206 if (inp_flags & IN6P_RTHDR) { in db_print_inpflags() 3214 if (inp_flags & IN6P_TCLASS) { in db_print_inpflags() [all …]
|
| H A D | tcp_usrreq.c | 235 if (inp->inp_flags & INP_TIMEWAIT) { in tcp_usr_detach() 266 if (inp->inp_flags & INP_DROPPED) { in tcp_usr_detach() 301 if (inp->inp_flags & INP_DROPPED || in tcp_usr_detach() 607 if (inp->inp_flags & INP_DROPPED) { in tcp_usr_connect() 667 if (inp->inp_flags & INP_DROPPED) { in tcp6_usr_connect() 784 if (inp->inp_flags & INP_TIMEWAIT) in tcp_usr_disconnect() 786 if (inp->inp_flags & INP_DROPPED) { in tcp_usr_disconnect() 1415 inp->inp_flags |= INP_SOCKREF; in tcp_usr_abort() 1457 inp->inp_flags |= INP_SOCKREF; in tcp_usr_close() 1679 inp->inp_flags |= INP_ANONPORT; in tcp_connect() [all …]
|
| H A D | tcp_timer.c | 287 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_delack() 331 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_2msl() 351 if ((inp->inp_flags & INP_TIMEWAIT) != 0) { in tcp_timer_2msl() 360 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp_timer_2msl() 422 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_keep() 501 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp_timer_keep() 542 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_persist() 565 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp_timer_persist() 582 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in tcp_timer_persist() 633 if ((inp->inp_flags & INP_DROPPED) != 0) { in tcp_timer_rexmt() [all …]
|
| H A D | tcp_timewait.c | 244 KASSERT((inp->inp_flags & INP_DROPPED) == 0, ("tcp_twstart: " in tcp_twstart() 345 inp->inp_flags |= INP_TIMEWAIT; in tcp_twstart() 362 if (inp->inp_flags & INP_SOCKREF) { in tcp_twstart() 365 inp->inp_flags &= ~INP_SOCKREF; in tcp_twstart() 504 KASSERT((inp->inp_flags & INP_TIMEWAIT), ("tcp_twclose: !timewait")); in tcp_twclose() 521 if (inp->inp_flags & INP_SOCKREF) { in tcp_twclose() 522 inp->inp_flags &= ~INP_SOCKREF; in tcp_twclose()
|
| H A D | ip_output.c | 1247 inp->inp_flags |= bit; \ in ip_ctloutput() 1249 inp->inp_flags &= ~bit; \ in ip_ctloutput() 1378 inp->inp_flags &= ~(INP_LOWPORT); in ip_ctloutput() 1379 inp->inp_flags &= ~(INP_HIGHPORT); in ip_ctloutput() 1383 inp->inp_flags &= ~(INP_LOWPORT); in ip_ctloutput() 1384 inp->inp_flags |= INP_HIGHPORT; in ip_ctloutput() 1388 inp->inp_flags &= ~(INP_HIGHPORT); in ip_ctloutput() 1389 inp->inp_flags |= INP_LOWPORT; in ip_ctloutput() 1474 #define OPTBIT(bit) (inp->inp_flags & bit ? 1 : 0) in ip_ctloutput() 1502 if (inp->inp_flags & INP_HIGHPORT) in ip_ctloutput() [all …]
|
| H A D | raw_ip.c | 260 if ((last->inp_flags & INP_CONTROLOPTS) || in rip_append() 470 if ((inp->inp_flags & INP_HDRINCL) == 0) { in rip_output() 482 if (inp->inp_flags & INP_DONTFRAG) in rip_output() 607 if (inp->inp_flags & INP_ONESBCAST) in rip_output() 662 optval = inp->inp_flags & INP_HDRINCL; in rip_ctloutput() 720 inp->inp_flags |= INP_HDRINCL; in rip_ctloutput() 722 inp->inp_flags &= ~INP_HDRINCL; in rip_ctloutput() 1012 (inp->inp_flags & INP_BINDANY) == 0 && in rip_bind()
|
| H A D | tcp_subr.c | 1051 if (inp->inp_flags & INP_TIMEWAIT) { in deregister_tcp_functions() 2128 if (inp->inp_flags & INP_SOCKREF) { in tcp_close() 2131 inp->inp_flags &= ~INP_SOCKREF; in tcp_close() 2208 if ((inp->inp_flags & INP_TIMEWAIT) || in tcp_notify() 2209 (inp->inp_flags & INP_DROPPED)) in tcp_notify() 2299 if (inp->inp_flags & INP_TIMEWAIT) { in tcp_pcblist() 2869 if ((inp->inp_flags & INP_TIMEWAIT) || in tcp_drop_syn_sent() 2870 (inp->inp_flags & INP_DROPPED)) in tcp_drop_syn_sent() 2909 (inp->inp_flags & INP_DROPPED)) in tcp_mtudisc() 3151 if (inp->inp_flags & INP_TIMEWAIT) { in sysctl_drop() [all …]
|
| H A D | toecore.c | 215 if (inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) in toe_listen_start() 392 if ((inp->inp_flags & INP_TIMEWAIT) && th != NULL) { in toe_4tuple_check() 507 if (!(inp->inp_flags & INP_DROPPED)) { in toe_connect_failed()
|
| H A D | ip_input.c | 1231 if (inp->inp_flags & INP_RECVDSTADDR) { in ip_savecontrol() 1237 if (inp->inp_flags & INP_RECVTTL) { in ip_savecontrol() 1249 if (inp->inp_flags & INP_RECVOPTS) { in ip_savecontrol() 1256 if (inp->inp_flags & INP_RECVRETOPTS) { in ip_savecontrol() 1263 if (inp->inp_flags & INP_RECVIF) { in ip_savecontrol() 1296 if (inp->inp_flags & INP_RECVTOS) { in ip_savecontrol()
|
| H A 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()
|
| H A D | udp_usrreq.c | 347 if (inp->inp_flags & INP_CONTROLOPTS || in udp_append() 1369 inp->inp_flags |= INP_ANONPORT; in udp_output() 1433 if (inp->inp_flags & INP_DONTFRAG) { in udp_output() 1444 if (inp->inp_flags & INP_ONESBCAST) in udp_output() 1456 if (inp->inp_flags & INP_ONESBCAST) in udp_output() 1466 if (inp->inp_flags & INP_ONESBCAST) in udp_output()
|
| H A D | in_pcb.h | 262 int inp_flags; /* (i) generic IP/datagram flags */ member 373 int32_t inp_flags; /* (s,p) */ member
|
| H A D | sctp_os_bsd.h | 369 #define SCTP_IPV6_V6ONLY(sctp_inpcb) ((sctp_inpcb)->ip_inp.inp.inp_flags & IN6P_IPV6_V6ONLY)
|
| H A D | tcp_syncache.c | 938 inp->inp_flags |= oinp->inp_flags & INP_CONTROLOPTS; in syncache_socket() 1487 if (inp->inp_flags & IN6P_AUTOFLOWLABEL) { in syncache_add() 2342 if (sotoinpcb(lso)->inp_flags & IN6P_AUTOFLOWLABEL) in syncookie_lookup()
|
| H A D | siftr.c | 902 if (tp == NULL || inp->inp_flags & INP_TIMEWAIT) { in siftr_chkpkt() 1086 if (tp == NULL || inp->inp_flags & INP_TIMEWAIT) { in siftr_chkpkt6()
|
| /f-stack/freebsd/netinet6/ |
| H A D | in6_pcb.c | 145 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0) in in6_pcbbind() 161 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0) in in6_pcbbind() 190 (inp->inp_flags & INP_BINDANY) == 0) { in in6_pcbbind() 225 ((t->inp_flags & INP_TIMEWAIT) == 0) && in in6_pcbbind() 246 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0 && in in6_pcbbind() 256 ((t->inp_flags & in in6_pcbbind() 272 if (t && (t->inp_flags & INP_TIMEWAIT)) { in in6_pcbbind() 289 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0 && in in6_pcbbind() 296 if (t && t->inp_flags & INP_TIMEWAIT) { in in6_pcbbind() 478 if (inp->inp_flags & IN6P_AUTOFLOWLABEL) in in6_pcbconnect_mbuf()
|
| H A D | ip6_output.c | 1795 inp->inp_flags |= (bit); \ in ip6_ctloutput() 1797 inp->inp_flags &= ~(bit); \ in ip6_ctloutput() 1803 inp->inp_flags |= IN6P_RFC2292; \ in ip6_ctloutput() 1805 inp->inp_flags |= (bit); \ in ip6_ctloutput() 1807 inp->inp_flags &= ~(bit); \ in ip6_ctloutput() 1831 inp->inp_flags |= (bit); \ in ip6_ctloutput() 1833 inp->inp_flags &= ~(bit); \ in ip6_ctloutput() 2127 inp->inp_flags &= ~(INP_LOWPORT); in ip6_ctloutput() 2133 inp->inp_flags |= INP_HIGHPORT; in ip6_ctloutput() 2138 inp->inp_flags |= INP_LOWPORT; in ip6_ctloutput() [all …]
|
| H A D | ip6_input.c | 1283 #define IS2292(inp, x, y) (((inp)->inp_flags & IN6P_RFC2292) ? (x) : (y)) in ip6_savecontrol_v4() 1285 if ((inp->inp_flags & IN6P_PKTINFO) != 0) { in ip6_savecontrol_v4() 1315 if ((inp->inp_flags & IN6P_HOPLIMIT) != 0) { in ip6_savecontrol_v4() 1338 if ((inp->inp_flags & IN6P_TCLASS) != 0) { in ip6_savecontrol_v4() 1393 if ((inp->inp_flags & IN6P_HOPOPTS) != 0) { in ip6_savecontrol() 1423 if ((inp->inp_flags & (IN6P_RTHDR | IN6P_DSTOPTS)) != 0) { in ip6_savecontrol() 1463 if (!(inp->inp_flags & IN6P_DSTOPTS)) in ip6_savecontrol() 1474 if (!(inp->inp_flags & IN6P_RTHDR)) in ip6_savecontrol() 1563 if ((inp->inp_flags & IN6P_MTU) == 0 || ( in ip6_notify_pmtu()
|
| H A D | in6_src.c | 245 &tmp, (inp->inp_flags & IN6P_IPV6_V6ONLY) != 0)) != 0) in in6_selectsrc() 253 if ((inp->inp_flags & INP_BINDANY) == 0) { in in6_selectsrc() 277 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0) in in6_selectsrc() 521 (inp->inp_flags & IN6P_IPV6_V6ONLY) != 0)) != 0) { in in6_selectsrc() 950 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0)); in in6_pcbsetport() 958 inp->inp_flags |= INP_ANONPORT; in in6_pcbsetport()
|
| H A D | udp6_usrreq.c | 180 if (inp->inp_flags & INP_CONTROLOPTS || in udp6_append() 772 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in udp6_output() 1058 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) in udp6_attach() 1099 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0) { in udp6_bind() 1190 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0) { in udp6_connect()
|
| H A D | raw_ip6.c | 209 if (last->inp_flags & INP_CONTROLOPTS || in rip6_input() 321 if (last->inp_flags & INP_CONTROLOPTS || in rip6_input()
|
| /f-stack/freebsd/netipsec/ |
| H A 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()
|
| /f-stack/tools/compat/include/netinet/ |
| H A D | in_pcb.h | 262 int inp_flags; /* (i) generic IP/datagram flags */ member 373 int32_t inp_flags; /* (s,p) */ member
|
| /f-stack/freebsd/security/mac_portacl/ |
| H A D | mac_portacl.c | 477 if ((inp->inp_flags & INP_LOWPORT) == 0) in socket_check_bind()
|
| /f-stack/freebsd/kern/ |
| H A D | uipc_ktls.c | 762 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in ktls_try_toe() 814 if (inp->inp_flags & (INP_TIMEWAIT | INP_DROPPED)) { in ktls_alloc_snd_tag() 1359 if (!(inp->inp_flags & INP_TIMEWAIT) && in ktls_reset_send_tag() 1360 !(inp->inp_flags & INP_DROPPED)) { in ktls_reset_send_tag()
|