| /net/netfilter/ |
| A D | nf_conntrack_proto_sctp.c | 243 enum sctp_conntrack new_state; in sctp_new() local 249 new_state = SCTP_CONNTRACK_MAX; in sctp_new() 251 new_state = sctp_new_state(IP_CT_DIR_ORIGINAL, in sctp_new() 255 if (new_state == SCTP_CONNTRACK_NONE || in sctp_new() 256 new_state == SCTP_CONNTRACK_MAX) { in sctp_new() 333 enum sctp_conntrack new_state, old_state; in nf_conntrack_sctp_packet() local 380 old_state = new_state = SCTP_CONNTRACK_NONE; in nf_conntrack_sctp_packet() 453 if (new_state == SCTP_CONNTRACK_MAX) { in nf_conntrack_sctp_packet() 480 if (new_state == SCTP_CONNTRACK_CLOSED && in nf_conntrack_sctp_packet() 504 ct->proto.sctp.state = new_state; in nf_conntrack_sctp_packet() [all …]
|
| A D | nf_conntrack_proto_tcp.c | 843 enum tcp_conntrack new_state; in tcp_new() local 851 if (new_state >= TCP_CONNTRACK_MAX) { in tcp_new() 971 enum tcp_conntrack new_state, old_state; in nf_conntrack_tcp_packet() local 995 switch (new_state) { in nf_conntrack_tcp_packet() 1054 new_state = TCP_CONNTRACK_SYN_RECV; in nf_conntrack_tcp_packet() 1169 new_state = TCP_CONNTRACK_ESTABLISHED; in nf_conntrack_tcp_packet() 1221 new_state = old_state; in nf_conntrack_tcp_packet() 1271 ct->proto.tcp.state = new_state; in nf_conntrack_tcp_packet() 1272 if (old_state != new_state in nf_conntrack_tcp_packet() 1293 timeout = timeouts[new_state]; in nf_conntrack_tcp_packet() [all …]
|
| /net/ipv4/ |
| A D | ip_tunnel_core.c | 661 struct lwtunnel_state *new_state; in ip_tun_build_state() local 675 if (!new_state) in ip_tun_build_state() 680 tun_info = lwt_tun_info(new_state); in ip_tun_build_state() 684 lwtstate_free(new_state); in ip_tun_build_state() 691 lwtstate_free(new_state); in ip_tun_build_state() 725 *ts = new_state; in ip_tun_build_state() 955 struct lwtunnel_state *new_state; in ip6_tun_build_state() local 969 if (!new_state) in ip6_tun_build_state() 974 tun_info = lwt_tun_info(new_state); in ip6_tun_build_state() 978 lwtstate_free(new_state); in ip6_tun_build_state() [all …]
|
| A D | tcp_nv.c | 215 static void tcpnv_state(struct sock *sk, u8 new_state) in tcpnv_state() argument 219 if (new_state == TCP_CA_Open && ca->nv_reset) { in tcpnv_state() 221 } else if (new_state == TCP_CA_Loss || new_state == TCP_CA_CWR || in tcpnv_state() 222 new_state == TCP_CA_Recovery) { in tcpnv_state() 225 if (new_state == TCP_CA_Loss) { in tcpnv_state()
|
| A D | tcp_dctcp.c | 183 __bpf_kfunc static void dctcp_state(struct sock *sk, u8 new_state) in dctcp_state() argument 185 if (new_state == TCP_CA_Recovery && in dctcp_state() 186 new_state != inet_csk(sk)->icsk_ca_state) in dctcp_state()
|
| A D | tcp_bic.c | 181 static void bictcp_state(struct sock *sk, u8 new_state) in bictcp_state() argument 183 if (new_state == TCP_CA_Loss) in bictcp_state()
|
| A D | tcp_illinois.c | 244 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()
|
| A D | tcp_htcp.c | 268 static void htcp_state(struct sock *sk, u8 new_state) in htcp_state() argument 270 switch (new_state) { in htcp_state()
|
| A D | tcp_cubic.c | 358 __bpf_kfunc static void cubictcp_state(struct sock *sk, u8 new_state) in cubictcp_state() argument 360 if (new_state == TCP_CA_Loss) { in cubictcp_state()
|
| A D | bpf_tcp_ca.c | 267 static void bpf_tcp_ca_set_state(struct sock *sk, u8 new_state) in bpf_tcp_ca_set_state() argument
|
| A D | tcp_bbr.c | 1129 __bpf_kfunc static void bbr_set_state(struct sock *sk, u8 new_state) in bbr_set_state() argument 1133 if (new_state == TCP_CA_Loss) { in bbr_set_state()
|
| A D | tcp.c | 3000 static const unsigned char new_state[16] = { variable 3019 int next = (int)new_state[sk->sk_state]; in tcp_close_state()
|
| /net/netfilter/ipvs/ |
| A D | ip_vs_proto_tcp.c | 516 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/ |
| A D | driver-ops.c | 138 enum ieee80211_sta_state new_state) in drv_sta_state() argument 149 trace_drv_sta_state(local, sdata, &sta->sta, old_state, new_state); in drv_sta_state() 152 old_state, new_state); in drv_sta_state() 154 new_state == IEEE80211_STA_ASSOC) { in drv_sta_state() 162 new_state == IEEE80211_STA_AUTH) { in drv_sta_state()
|
| A D | sta_info.h | 837 enum ieee80211_sta_state new_state); 840 enum ieee80211_sta_state new_state) in sta_info_pre_move_state() argument 846 ret = sta_info_move_state(sta, new_state); in sta_info_pre_move_state()
|
| A D | sta_info.c | 1340 enum ieee80211_sta_state new_state, in _sta_info_move_state() argument 1347 if (sta->sta_state == new_state) in _sta_info_move_state() 1352 switch (new_state) { in _sta_info_move_state() 1377 sta->sta.addr, new_state); in _sta_info_move_state() 1385 if (new_state > sta->sta_state && in _sta_info_move_state() 1388 sta->sta_state, new_state); in _sta_info_move_state() 1395 switch (new_state) { in _sta_info_move_state() 1462 if (new_state < sta->sta_state && in _sta_info_move_state() 1465 sta->sta_state, new_state); in _sta_info_move_state() 1472 sta->sta_state = new_state; in _sta_info_move_state() [all …]
|
| A D | trace.h | 925 enum ieee80211_sta_state new_state), 927 TP_ARGS(local, sdata, sta, old_state, new_state), 934 __field(u32, new_state) 942 __entry->new_state = new_state; 948 __entry->old_state, __entry->new_state
|
| A D | driver-ops.h | 594 enum ieee80211_sta_state new_state);
|
| /net/batman-adv/ |
| A D | multicast.c | 760 struct batadv_mcast_querier_state *new_state) in batadv_mcast_querier_log() argument 762 if (!old_state->exists && new_state->exists) in batadv_mcast_querier_log() 765 else if (old_state->exists && !new_state->exists) in batadv_mcast_querier_log() 769 else if (!bat_priv->mcast.mla_flags.bridged && !new_state->exists) in batadv_mcast_querier_log() 774 if (new_state->exists) { in batadv_mcast_querier_log() 775 if ((!old_state->shadowing && new_state->shadowing) || in batadv_mcast_querier_log() 776 (!old_state->exists && new_state->shadowing)) in batadv_mcast_querier_log() 780 else if (old_state->shadowing && !new_state->shadowing) in batadv_mcast_querier_log()
|
| /net/xfrm/ |
| A D | xfrm_interface_core.c | 79 struct lwtunnel_state *new_state; in xfrmi_build_state() local 92 new_state = lwtunnel_state_alloc(sizeof(*info)); in xfrmi_build_state() 93 if (!new_state) { in xfrmi_build_state() 98 new_state->type = LWTUNNEL_ENCAP_XFRM; in xfrmi_build_state() 100 info = lwt_xfrm_info(new_state); in xfrmi_build_state() 107 *ts = new_state; in xfrmi_build_state()
|
| /net/rds/ |
| A D | ib_frmr.c | 38 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/ipv6/ |
| A D | ndisc.c | 1002 u8 new_state; in ndisc_recv_na() local 1078 new_state = msg->icmph.icmp6_solicited ? NUD_REACHABLE : NUD_STALE; in ndisc_recv_na() 1082 new_state = NUD_STALE; in ndisc_recv_na() 1107 new_state, in ndisc_recv_na()
|
| /net/ceph/ |
| A D | osdmap.c | 1847 void *new_state; in decode_new_up_state_weight() local 1867 new_state = *p; in decode_new_up_state_weight() 1901 *p = new_state; in decode_new_up_state_weight()
|
| /net/mptcp/ |
| A D | protocol.c | 2912 static const unsigned char new_state[16] = { variable 2931 int next = (int)new_state[sk->sk_state]; in mptcp_close_state()
|