Home
last modified time | relevance | path

Searched refs:new_state (Results 1 – 22 of 22) sorted by relevance

/net/netfilter/
Dnf_conntrack_proto_sctp.c264 enum sctp_conntrack new_state; in sctp_new() local
270 new_state = SCTP_CONNTRACK_MAX; in sctp_new()
272 new_state = sctp_new_state(IP_CT_DIR_ORIGINAL, in sctp_new()
276 if (new_state == SCTP_CONNTRACK_NONE || in sctp_new()
277 new_state == SCTP_CONNTRACK_MAX) { in sctp_new()
354 enum sctp_conntrack new_state, old_state; in nf_conntrack_sctp_packet() local
399 old_state = new_state = SCTP_CONNTRACK_NONE; in nf_conntrack_sctp_packet()
466 new_state = sctp_new_state(dir, old_state, sch->type); in nf_conntrack_sctp_packet()
469 if (new_state == SCTP_CONNTRACK_MAX) { in nf_conntrack_sctp_packet()
493 if (new_state == SCTP_CONNTRACK_CLOSED && in nf_conntrack_sctp_packet()
[all …]
Dnf_conntrack_proto_tcp.c789 enum tcp_conntrack new_state; in tcp_new() local
796 new_state = tcp_conntracks[0][get_conntrack_index(th)][TCP_CONNTRACK_NONE]; in tcp_new()
799 if (new_state >= TCP_CONNTRACK_MAX) { in tcp_new()
804 if (new_state == TCP_CONNTRACK_SYN_SENT) { in tcp_new()
928 enum tcp_conntrack new_state, old_state; in nf_conntrack_tcp_packet() local
949 new_state = tcp_conntracks[dir][index][old_state]; in nf_conntrack_tcp_packet()
952 switch (new_state) { in nf_conntrack_tcp_packet()
1011 new_state = TCP_CONNTRACK_SYN_RECV; in nf_conntrack_tcp_packet()
1118 new_state = TCP_CONNTRACK_ESTABLISHED; in nf_conntrack_tcp_packet()
1170 new_state = old_state; in nf_conntrack_tcp_packet()
[all …]
Dnf_conntrack_proto_dccp.c519 u_int8_t type, old_state, new_state; in nf_conntrack_dccp_packet() local
551 new_state = dccp_state_table[role][type][old_state]; in nf_conntrack_dccp_packet()
553 switch (new_state) { in nf_conntrack_dccp_packet()
585 new_state = CT_DCCP_RESPOND; in nf_conntrack_dccp_packet()
602 ct->proto.dccp.state = new_state; in nf_conntrack_dccp_packet()
605 if (new_state != old_state) in nf_conntrack_dccp_packet()
611 nf_ct_refresh_acct(ct, ctinfo, skb, timeouts[new_state]); in nf_conntrack_dccp_packet()
/net/ipv4/
Dip_tunnel_core.c658 struct lwtunnel_state *new_state; in ip_tun_build_state() local
671 new_state = lwtunnel_state_alloc(sizeof(*tun_info) + opt_len); in ip_tun_build_state()
672 if (!new_state) in ip_tun_build_state()
675 new_state->type = LWTUNNEL_ENCAP_IP; in ip_tun_build_state()
677 tun_info = lwt_tun_info(new_state); in ip_tun_build_state()
681 lwtstate_free(new_state); in ip_tun_build_state()
688 lwtstate_free(new_state); in ip_tun_build_state()
716 *ts = new_state; in ip_tun_build_state()
945 struct lwtunnel_state *new_state; in ip6_tun_build_state() local
958 new_state = lwtunnel_state_alloc(sizeof(*tun_info) + opt_len); in ip6_tun_build_state()
[all …]
Dtcp_nv.c216 static void tcpnv_state(struct sock *sk, u8 new_state) in tcpnv_state() argument
220 if (new_state == TCP_CA_Open && ca->nv_reset) { in tcpnv_state()
222 } else if (new_state == TCP_CA_Loss || new_state == TCP_CA_CWR || in tcpnv_state()
223 new_state == TCP_CA_Recovery) { in tcpnv_state()
226 if (new_state == TCP_CA_Loss) { in tcpnv_state()
Dtcp_dctcp.c153 static void dctcp_state(struct sock *sk, u8 new_state) in dctcp_state() argument
155 if (new_state == TCP_CA_Recovery && in dctcp_state()
156 new_state != inet_csk(sk)->icsk_ca_state) in dctcp_state()
Dtcp_bic.c181 static void bictcp_state(struct sock *sk, u8 new_state) in bictcp_state() argument
183 if (new_state == TCP_CA_Loss) in bictcp_state()
Dtcp_illinois.c244 static void tcp_illinois_state(struct sock *sk, u8 new_state) in tcp_illinois_state() argument
248 if (new_state == TCP_CA_Loss) { in tcp_illinois_state()
Dtcp_htcp.c268 static void htcp_state(struct sock *sk, u8 new_state) in htcp_state() argument
270 switch (new_state) { in htcp_state()
Dtcp_cubic.c356 static void cubictcp_state(struct sock *sk, u8 new_state) in cubictcp_state() argument
358 if (new_state == TCP_CA_Loss) { in cubictcp_state()
Dtcp_bbr.c1126 static void bbr_set_state(struct sock *sk, u8 new_state) in bbr_set_state() argument
1130 if (new_state == TCP_CA_Loss) { in bbr_set_state()
Dtcp.c2656 static const unsigned char new_state[16] = { variable
2675 int next = (int)new_state[sk->sk_state]; in tcp_close_state()
/net/netfilter/ipvs/
Dip_vs_proto_tcp.c516 int new_state = IP_VS_TCP_S_CLOSE; in set_tcp_state() local
535 new_state = in set_tcp_state()
539 if (new_state != cp->state) { in set_tcp_state()
558 tcp_state_name(new_state), in set_tcp_state()
563 !tcp_state_active(new_state)) { in set_tcp_state()
568 tcp_state_active(new_state)) { in set_tcp_state()
574 if (new_state == IP_VS_TCP_S_ESTABLISHED) in set_tcp_state()
579 cp->timeout = pd->timeout_table[cp->state = new_state]; in set_tcp_state()
581 cp->timeout = tcp_timeouts[cp->state = new_state]; in set_tcp_state()
/net/mac80211/
Ddriver-ops.c111 enum ieee80211_sta_state new_state) in drv_sta_state() argument
121 trace_drv_sta_state(local, sdata, &sta->sta, old_state, new_state); in drv_sta_state()
124 old_state, new_state); in drv_sta_state()
126 new_state == IEEE80211_STA_ASSOC) { in drv_sta_state()
134 new_state == IEEE80211_STA_AUTH) { in drv_sta_state()
Dsta_info.h771 enum ieee80211_sta_state new_state);
774 enum ieee80211_sta_state new_state) in sta_info_pre_move_state() argument
780 ret = sta_info_move_state(sta, new_state); in sta_info_pre_move_state()
Dsta_info.c1998 enum ieee80211_sta_state new_state) in sta_info_move_state() argument
2002 if (sta->sta_state == new_state) in sta_info_move_state()
2007 switch (new_state) { in sta_info_move_state()
2027 WARN(1, "invalid state %d", new_state); in sta_info_move_state()
2032 sta->sta.addr, new_state); in sta_info_move_state()
2040 sta->sta_state, new_state); in sta_info_move_state()
2047 switch (new_state) { in sta_info_move_state()
2092 sta->sta_state = new_state; in sta_info_move_state()
Dtrace.h817 enum ieee80211_sta_state new_state),
819 TP_ARGS(local, sdata, sta, old_state, new_state),
826 __field(u32, new_state)
834 __entry->new_state = new_state;
840 __entry->old_state, __entry->new_state
Ddriver-ops.h529 enum ieee80211_sta_state new_state);
/net/batman-adv/
Dmulticast.c731 struct batadv_mcast_querier_state *new_state) in batadv_mcast_querier_log() argument
733 if (!old_state->exists && new_state->exists) in batadv_mcast_querier_log()
736 else if (old_state->exists && !new_state->exists) in batadv_mcast_querier_log()
740 else if (!bat_priv->mcast.mla_flags.bridged && !new_state->exists) in batadv_mcast_querier_log()
745 if (new_state->exists) { in batadv_mcast_querier_log()
746 if ((!old_state->shadowing && new_state->shadowing) || in batadv_mcast_querier_log()
747 (!old_state->exists && new_state->shadowing)) in batadv_mcast_querier_log()
751 else if (old_state->shadowing && !new_state->shadowing) in batadv_mcast_querier_log()
/net/rds/
Dib_frmr.c38 enum rds_ib_fr_state new_state) in rds_transition_frwr_state() argument
41 old_state, new_state) == old_state && in rds_transition_frwr_state()
/net/ceph/
Dosdmap.c1831 void *new_state; in decode_new_up_state_weight() local
1851 new_state = *p; in decode_new_up_state_weight()
1885 *p = new_state; in decode_new_up_state_weight()
/net/mptcp/
Dprotocol.c2642 static const unsigned char new_state[16] = { variable
2661 int next = (int)new_state[sk->sk_state]; in mptcp_close_state()