/net/netfilter/ |
D | nf_conntrack_proto_sctp.c | 264 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 …]
|
D | nf_conntrack_proto_tcp.c | 789 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 …]
|
D | nf_conntrack_proto_dccp.c | 519 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/ |
D | ip_tunnel_core.c | 658 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 …]
|
D | tcp_nv.c | 216 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()
|
D | tcp_dctcp.c | 153 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()
|
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()
|
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()
|
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()
|
D | tcp_cubic.c | 356 static void cubictcp_state(struct sock *sk, u8 new_state) in cubictcp_state() argument 358 if (new_state == TCP_CA_Loss) { in cubictcp_state()
|
D | tcp_bbr.c | 1126 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()
|
D | tcp.c | 2656 static const unsigned char new_state[16] = { variable 2675 int next = (int)new_state[sk->sk_state]; in tcp_close_state()
|
/net/netfilter/ipvs/ |
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/ |
D | driver-ops.c | 111 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()
|
D | sta_info.h | 771 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()
|
D | sta_info.c | 1998 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()
|
D | trace.h | 817 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
|
D | driver-ops.h | 529 enum ieee80211_sta_state new_state);
|
/net/batman-adv/ |
D | multicast.c | 731 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/ |
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/ceph/ |
D | osdmap.c | 1831 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/ |
D | protocol.c | 2642 static const unsigned char new_state[16] = { variable 2661 int next = (int)new_state[sk->sk_state]; in mptcp_close_state()
|