Searched refs:FIN (Results 1 - 32 of 32) sorted by relevance

/linux-4.4.14/include/uapi/linux/netfilter/
H A Dnf_conntrack_tcp.h33 /* This sender sent FIN first */
/linux-4.4.14/drivers/media/dvb-frontends/
H A Dves1x93.c182 u32 FIN; ves1x93_set_symbolrate() local
194 FIN = (state->config->xin + 6000) >> 4; ves1x93_set_symbolrate()
197 ratio = tmp / FIN; ves1x93_set_symbolrate()
199 tmp = (tmp % FIN) << 8; ves1x93_set_symbolrate()
200 ratio = (ratio << 8) + tmp / FIN; ves1x93_set_symbolrate()
202 tmp = (tmp % FIN) << 8; ves1x93_set_symbolrate()
203 ratio = (ratio << 8) + tmp / FIN; ves1x93_set_symbolrate()
229 BDRI = ( ((FIN << 8) / ((srate << (FNR >> 1)) >> 2)) + 1) >> 1; ves1x93_set_symbolrate()
H A Dtda10021.c57 #define FIN (XIN >> 4) macro
175 ratio = (symbolrate << 4) / FIN; tda10021_set_symbolrate()
176 tmp = ((symbolrate << 4) % FIN) << 8; tda10021_set_symbolrate()
177 ratio = (ratio << 8) + tmp / FIN; tda10021_set_symbolrate()
178 tmp = (tmp % FIN) << 8; tda10021_set_symbolrate()
179 ratio = (ratio << 8) + DIV_ROUND_CLOSEST(tmp, FIN); tda10021_set_symbolrate()
/linux-4.4.14/net/netfilter/
H A Dnf_log_common.c90 /* Max length: 32 "CWR ECE URG ACK PSH RST SYN FIN " */ nf_log_dump_tcp_header()
106 nf_log_buf_add(m, "FIN "); nf_log_dump_tcp_header()
H A Dnf_conntrack_proto_tcp.c101 /* What TCP flags are set from RST/SYN/FIN/ACK. */
130 * FIN_WAIT: FIN packet seen
131 * CLOSE_WAIT: ACK seen (after FIN)
132 * LAST_ACK: FIN seen (after FIN)
182 * sSS -> sIV Client migth not send FIN in this state:
187 * sFW -> sLA FIN seen in both directions, waiting for
189 * Migth be a retransmitted FIN as well...
191 * sLA -> sLA Retransmitted FIN. Remain in the same state.
245 * sSS -> sIV Server might not send FIN in this state.
249 * sFW -> sLA FIN seen in both directions.
251 * sLA -> sLA Retransmitted FIN.
947 * as ACK is intrepretated as ACKing last FIN. tcp_packet()
986 * not believe this ACK is acking last FIN. tcp_packet()
/linux-4.4.14/arch/mips/include/asm/octeon/
H A Dcvmx-wqe.h110 * - 8 = TCP FIN Only: the packet is TCP and only the
111 * FIN flag set.
114 * - 10 = TCP FIN RST: the packet is TCP and both FIN
120 * - 13 = TCP SYN FIN: the packet is TCP and both SYN
121 * and FIN are set.
H A Dcvmx-pip.h62 /* 8 = TCP flags = FIN only */
66 /* 10 = TCP flags = FIN+RST+* */
72 /* 13 = TCP flags = SYN+FIN+* */
/linux-4.4.14/net/ipv4/
H A Dinet_timewait_sock.c228 * RATIONALE: if FIN arrived and we entered TIME-WAIT state, __inet_twsk_schedule()
229 * our ACK acking that FIN can be lost. If N subsequent retransmitted __inet_twsk_schedule()
234 * waited at least for one retransmitted FIN (maximal RTO is 120sec). __inet_twsk_schedule()
H A Dtcp.c62 * Alan Cox : FIN with no memory -> CRASH
70 * Alan Cox : Handle FIN (more) properly (we hope).
569 /* Subtract 1, if FIN was received */ tcp_ioctl()
1860 /* Process the FIN. */ tcp_recvmsg()
1947 * sending our FIN frame. Note that we only send a FIN for some
1948 * states. A shutdown() may have already sent the FIN, or we may be
1986 /* We need to grab some memory, and put together a FIN, tcp_shutdown()
1993 /* If we've already sent a FIN, or it's a closed state, skip this. */ tcp_shutdown()
1997 /* Clear out any half completed packets. FIN if needed. */ tcp_shutdown()
2057 * always doing a FIN, run an older 2.1.x kernel or 2.0.x, start a bulk tcp_close()
2074 /* We FIN if the application ate all the data before tcp_close()
2085 * are legal only when FIN has been sent (i.e. in window), tcp_close()
2089 * if Linux state is FIN-WAIT-1, but FIN is still not sent. tcp_close()
2098 * XXX (TFO) - To start off we don't support SYN+ACK+FIN tcp_close()
H A Dtcp_output.c393 /* Constructs common control bits of non-data skb. If SYN/FIN is present,
1170 /* PSH and FIN should only be set in the second packet. */ tcp_fragment()
1517 * 2. Or it contains FIN. (already checked by caller)
1590 /* Don't be strict about the congestion window for the final FIN. */ tcp_cwnd_test()
1638 /* Don't use the nagle rule for urgent data (or for the final FIN). */ tcp_nagle_test()
1727 /* PSH and FIN should only be set in the second packet. */ tso_fragment()
2473 /* Merge over control information. This moves PSH/FIN etc. over */ tcp_collapse_retrans()
2809 /* We allow to exceed memory limits for FIN packets to expedite
2811 * Otherwise tcp_send_fin() could be tempted to either delay FIN
2812 * or even be forced to close flow without any FIN.
2827 /* Send a FIN. The caller locks the socket for us.
2828 * We should try to send a FIN packet really hard, but eventually give up.
2835 /* Optimization, tack on the FIN if we have one skb in write queue and tcp_send_fin()
2837 * Note: in the latter case, FIN packet will be sent after a timeout, tcp_send_fin()
2847 * Pretend we included the FIN on previous transmit. tcp_send_fin()
2849 * if FIN had been sent. This is because retransmit path tcp_send_fin()
2864 /* FIN eats a sequence byte, write_seq advanced by tcp_queue_skb(). */ tcp_send_fin()
H A Dtcp_fastopen.c188 * there is no data. How about SYN+FIN? tcp_fastopen_create_child()
H A Dtcp_minisocks.c71 * when one of ends sits in LAST-ACK or CLOSING retransmitting FIN
144 /* New data or FIN. If new data arrive after half-duplex close, tcp_timewait_state_process()
154 /* FIN arrived, enter true time-wait state. */ tcp_timewait_state_process()
H A Dtcp_input.c3946 * of data (and SYN, FIN, of course) is checked separately.
3987 * Process the FIN bit. This now behaves as it is supposed to work
3988 * and the FIN takes effect when it is validly part of sequence
3995 * If we are in FINWAIT-1, a received FIN indicates simultaneous
3998 * If we are in FINWAIT-2, a received FIN moves us to TIME-WAIT.
4019 /* Received a retransmission of the FIN, do tcp_fin()
4029 * happens, we must ack the received FIN and tcp_fin()
4036 /* Received a FIN -- send ACK and enter TIME_WAIT. */ tcp_fin()
4049 /* It _is_ possible, that we have something out-of-order _after_ FIN. tcp_fin()
4673 * Segments with FIN/SYN are not collapsed (only because this
4701 * - not SYN/FIN and skb_queue_walk_from_safe()
5939 /* Bad case. We could lose such FIN otherwise. tcp_rcv_state_process()
H A Dinet_connection_sock.c843 /* Following specs, it would be better either to send FIN inet_csk_listen_stop()
844 * (and enter FIN-WAIT-1, it is normal close) inet_csk_listen_stop()
H A Dtcp_timer.c373 * anything else (e.g., data or FIN segments). tcp_retransmit_timer()
/linux-4.4.14/include/uapi/linux/
H A Dtcp.h98 #define TCP_LINGER2 8 /* Life time of orphaned FIN-WAIT-2 state */
H A Dip_vs.h332 IPVS_CMD_ATTR_TIMEOUT_TCP_FIN, /* TCP FIN wait timeout */
/linux-4.4.14/net/iucv/
H A Daf_iucv.c455 /* Send FIN through an IUCV socket for HIPER transport */ iucv_send_ctrl()
2028 * afiucv_hs_callback_fin() - react on received FIN
2170 SYN -> send SYN|ACK in good case, send SYN|FIN in bad case afiucv_hs_rcv()
2171 data -> send FIN afiucv_hs_rcv()
2172 SYN|ACK, SYN|FIN, FIN -> no action? */ afiucv_hs_rcv()
/linux-4.4.14/drivers/regulator/
H A Dpfuze100-regulator.c501 dev_info(pfuze_chip->dev, "FAB: %x, FIN: %x\n", pfuze_identify()
/linux-4.4.14/net/tipc/
H A Dsocket.c442 * (which disconnects locally & sends a 'FIN+' to peer) tipc_release()
1481 (!err)) /* and haven't reached a FIN */ tipc_recv_stream()
2101 /* Disconnect and send a 'FIN+' or 'FIN-' message to peer */ tipc_shutdown()
/linux-4.4.14/drivers/scsi/cxgbi/cxgb3i/
H A Dcxgb3i.c603 * Handle peer FIN.
620 * Process a peer ACK to our FIN.
/linux-4.4.14/include/net/
H A Dtcp.h122 * to combine FIN-WAIT-2 timeout with
740 __u32 end_seq; /* SEQ + FIN + SYN + datalen */
/linux-4.4.14/drivers/scsi/be2iscsi/
H A Dbe_cmds.h1270 * incoming TCP FIN.
/linux-4.4.14/drivers/net/ethernet/sfc/
H A Dtx.c1157 tcp_flags_clear = 0x09; /* mask out FIN and PSH */ tso_start_new_packet()
/linux-4.4.14/drivers/scsi/bnx2i/
H A Dbnx2i_hwi.c2642 * bnx2i_cm_remote_close - process received TCP FIN
2647 * async TCP events such as FIN
H A Dbnx2i_iscsi.c1432 /* Peer disconnect via' FIN or RST */ bnx2i_conn_bind()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
H A Dd3.c585 /* FIN */ iwl_mvm_send_remote_wake_cfg()
/linux-4.4.14/drivers/infiniband/hw/nes/
H A Dnes_cm.c1804 nes_debug(NES_DBG_CM, "Received FIN, cm_node = %p, state = %u. " handle_fin_pkt()
1849 nes_debug(NES_DBG_CM, "Error Rcvd FIN for node-%p state = %d\n", handle_fin_pkt()
H A Dnes_hw.c100 "FIN Wait 1",
103 "FIN Wait 2",
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_type.h1676 #define IXGBE_IMIREXT_CTRL_FIN 0x00040000 /* Check FIN bit in header */
1684 #define IXGBE_IMIR_CTRL_FIN_82599 0x00040000 /* Check FIN bit in header */
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c2031 /* HW ATR eviction will take care of removing filters on FIN i40e_atr()
/linux-4.4.14/tools/perf/
H A Dbuiltin-trace.c737 P_MSG_FLAG(FIN); syscall_arg__scnprintf_msg_flags()

Completed in 1660 milliseconds