Home
last modified time | relevance | path

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

12

/f-stack/freebsd/netinet/
H A Din_pcb.c1855 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 Dtcp_usrreq.c235 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 Dtcp_timer.c287 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 Dtcp_timewait.c244 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 Dip_output.c1247 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 Draw_ip.c260 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 Dtcp_subr.c1051 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 Dtoecore.c215 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 Dip_input.c1231 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 Din_pcbgroup.c483 !(inp->inp_flags & INP_DROPPED)) { in in_pcbgroup_update()
514 !(inp->inp_flags & INP_DROPPED)) { in in_pcbgroup_update_mbuf()
H A Dudp_usrreq.c347 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 Din_pcb.h262 int inp_flags; /* (i) generic IP/datagram flags */ member
373 int32_t inp_flags; /* (s,p) */ member
H A Dsctp_os_bsd.h369 #define SCTP_IPV6_V6ONLY(sctp_inpcb) ((sctp_inpcb)->ip_inp.inp.inp_flags & IN6P_IPV6_V6ONLY)
H A Dtcp_syncache.c938 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 Dsiftr.c902 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 Din6_pcb.c145 ((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 Dip6_output.c1795 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 Dip6_input.c1283 #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 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()
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 Dudp6_usrreq.c180 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 Draw_ip6.c209 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 Dxform_tcp.c89 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 Din_pcb.h262 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 Dmac_portacl.c477 if ((inp->inp_flags & INP_LOWPORT) == 0) in socket_check_bind()
/f-stack/freebsd/kern/
H A Duipc_ktls.c762 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()

12