Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 51) sorted by relevance

123

/net/ipv4/
Dtcp_lp.c78 u32 flag; member
100 lp->flag = 0; in tcp_lp_init()
123 if (!(lp->flag & LP_WITHIN_INF)) in tcp_lp_cong_avoid()
166 lp->flag |= LP_VALID_RHZ; in tcp_lp_remote_hz_estimator()
168 lp->flag &= ~LP_VALID_RHZ; in tcp_lp_remote_hz_estimator()
195 if (lp->flag & LP_VALID_RHZ) { in tcp_lp_owd_calculator()
204 lp->flag |= LP_VALID_OWD; in tcp_lp_owd_calculator()
206 lp->flag &= ~LP_VALID_OWD; in tcp_lp_owd_calculator()
227 if (!(lp->flag & LP_VALID_RHZ) || !(lp->flag & LP_VALID_OWD)) in tcp_lp_rtt_sample()
281 lp->flag |= LP_WITHIN_INF; in tcp_lp_pkts_acked()
[all …]
Dtcp_input.c1137 int flag; member
1244 state->flag |= FLAG_ORIG_SACK_ACKED; in tcp_sacktag_one()
1257 state->flag |= FLAG_DATA_SACKED; in tcp_sacktag_one()
1675 state->flag = 0; in tcp_sacktag_write_queue()
1684 state->flag |= FLAG_DSACKING_ACK; in tcp_sacktag_write_queue()
1855 return state->flag; in tcp_sacktag_write_queue()
2042 static bool tcp_check_sack_reneging(struct sock *sk, int flag) in tcp_check_sack_reneging() argument
2044 if (flag & FLAG_SACK_RENEGING) { in tcp_check_sack_reneging()
2169 static bool tcp_time_to_recover(struct sock *sk, int flag) in tcp_time_to_recover() argument
2478 void tcp_cwnd_reduction(struct sock *sk, int newly_acked_sacked, int flag) in tcp_cwnd_reduction() argument
[all …]
Dtcp_fastopen.c327 int flag) in tcp_fastopen_no_cookie() argument
329 return (sock_net(sk)->ipv4.sysctl_tcp_fastopen & flag) || in tcp_fastopen_no_cookie()
/net/mac80211/
Dsta_info.h638 enum ieee80211_sta_info_flags flag) in set_sta_flag() argument
640 WARN_ON(flag == WLAN_STA_AUTH || in set_sta_flag()
641 flag == WLAN_STA_ASSOC || in set_sta_flag()
642 flag == WLAN_STA_AUTHORIZED); in set_sta_flag()
643 set_bit(flag, &sta->_flags); in set_sta_flag()
647 enum ieee80211_sta_info_flags flag) in clear_sta_flag() argument
649 WARN_ON(flag == WLAN_STA_AUTH || in clear_sta_flag()
650 flag == WLAN_STA_ASSOC || in clear_sta_flag()
651 flag == WLAN_STA_AUTHORIZED); in clear_sta_flag()
652 clear_bit(flag, &sta->_flags); in clear_sta_flag()
[all …]
Drx.c113 if (status->flag & (RX_FLAG_FAILED_FCS_CRC | in should_drop_frame()
144 if (status->flag & RX_FLAG_RADIOTAP_VENDOR_DATA) in ieee80211_rx_radiotap_hdrlen()
164 if (status->flag & RX_FLAG_AMPDU_DETAILS) { in ieee80211_rx_radiotap_hdrlen()
180 status->flag & RX_FLAG_RADIOTAP_HE) { in ieee80211_rx_radiotap_hdrlen()
187 status->flag & RX_FLAG_RADIOTAP_HE_MU) { in ieee80211_rx_radiotap_hdrlen()
193 if (status->flag & RX_FLAG_NO_PSDU) in ieee80211_rx_radiotap_hdrlen()
196 if (status->flag & RX_FLAG_RADIOTAP_LSIG) { in ieee80211_rx_radiotap_hdrlen()
207 if (status->flag & RX_FLAG_RADIOTAP_VENDOR_DATA) { in ieee80211_rx_radiotap_hdrlen()
215 if (status->flag & RX_FLAG_RADIOTAP_HE) in ieee80211_rx_radiotap_hdrlen()
218 if (status->flag & RX_FLAG_RADIOTAP_HE_MU) in ieee80211_rx_radiotap_hdrlen()
[all …]
Dwpa.c117 if (status->flag & (RX_FLAG_MMIC_STRIPPED | RX_FLAG_IV_STRIPPED)) { in ieee80211_rx_h_michael_mic_verify()
118 if (status->flag & RX_FLAG_MMIC_ERROR) in ieee80211_rx_h_michael_mic_verify()
121 if (!(status->flag & RX_FLAG_IV_STRIPPED) && rx->key && in ieee80211_rx_h_michael_mic_verify()
134 !(status->flag & RX_FLAG_DECRYPTED)) in ieee80211_rx_h_michael_mic_verify()
147 if (status->flag & RX_FLAG_MMIC_ERROR) in ieee80211_rx_h_michael_mic_verify()
290 if (status->flag & RX_FLAG_DECRYPTED) in ieee80211_crypto_tkip_decrypt()
303 if (!(status->flag & RX_FLAG_ICV_STRIPPED)) in ieee80211_crypto_tkip_decrypt()
512 if (status->flag & RX_FLAG_DECRYPTED) { in ieee80211_crypto_ccmp_decrypt()
515 if (status->flag & RX_FLAG_MIC_STRIPPED) in ieee80211_crypto_ccmp_decrypt()
526 if (!(status->flag & RX_FLAG_PN_VALIDATED)) { in ieee80211_crypto_ccmp_decrypt()
[all …]
Dht.c23 u16 flag) in __check_htcap_disable() argument
25 __le16 le_flag = cpu_to_le16(flag); in __check_htcap_disable()
28 ht_cap->cap &= ~flag; in __check_htcap_disable()
35 u16 flag) in __check_htcap_enable() argument
37 __le16 le_flag = cpu_to_le16(flag); in __check_htcap_enable()
41 ht_cap->cap |= flag; in __check_htcap_enable()
Dwep.c253 if (!(status->flag & RX_FLAG_DECRYPTED)) { in ieee80211_crypto_wep_decrypt()
258 } else if (!(status->flag & RX_FLAG_IV_STRIPPED)) { in ieee80211_crypto_wep_decrypt()
264 if (!(status->flag & RX_FLAG_ICV_STRIPPED) && in ieee80211_crypto_wep_decrypt()
Dvht.c19 u32 flag) in __check_vhtcap_disable() argument
21 __le32 le_flag = cpu_to_le32(flag); in __check_vhtcap_disable()
25 vht_cap->cap &= ~flag; in __check_vhtcap_disable()
/net/netfilter/
Dxt_HMARK.c169 int flag = IP6_FH_F_AUTH; in hmark_pkt_set_htuple_ipv6() local
175 nexthdr = ipv6_find_hdr(skb, &nhoff, -1, &fragoff, &flag); in hmark_pkt_set_htuple_ipv6()
179 if ((flag & IP6_FH_F_FRAG) || (nexthdr != IPPROTO_ICMPV6)) in hmark_pkt_set_htuple_ipv6()
187 flag = IP6_FH_F_AUTH; in hmark_pkt_set_htuple_ipv6()
188 nexthdr = ipv6_find_hdr(skb, &nhoff, -1, &fragoff, &flag); in hmark_pkt_set_htuple_ipv6()
203 if (flag & IP6_FH_F_FRAG) in hmark_pkt_set_htuple_ipv6()
Dxt_sctp.c21 #define SCCHECK(cond, option, flag, invflag) (!((flag) & (option)) \ argument
34 return (chunkflags & flag_info[i].flag_mask) == flag_info[i].flag; in match_flags()
Dxt_dccp.c27 #define DCCHECK(cond, option, flag, invflag) (!((flag) & (option)) \ argument
Dnf_conntrack_proto_sctp.c168 int flag; in do_basic_checks() local
170 flag = 0; in do_basic_checks()
178 flag = 1; in do_basic_checks()
187 flag) && in do_basic_checks()
/net/ax25/
Dax25_addr.c216 const ax25_address *dest, const ax25_digi *d, int flag, int modulus) in ax25_addr_build() argument
225 if (flag == AX25_COMMAND) buf[6] |= AX25_CBIT; in ax25_addr_build()
239 if (flag == AX25_RESPONSE) buf[6] |= AX25_CBIT; in ax25_addr_build()
/net/bluetooth/
Dmgmt_util.c60 void *data, u16 data_len, int flag, struct sock *skip_sk) in mgmt_send_event() argument
83 hci_send_to_channel(channel, skb, flag, skip_sk); in mgmt_send_event()
87 skb_get_ktime(skb), flag, skip_sk); in mgmt_send_event()
Dmgmt_util.h35 void *data, u16 data_len, int flag, struct sock *skip_sk);
D6lowpan.c1057 bool flag; member
1065 if (!set_enable->flag || enable_6lowpan != set_enable->flag) in do_enable_set()
1071 enable_6lowpan = set_enable->flag; in do_enable_set()
1091 set_enable->flag = !!val; in lowpan_enable_set()
Dhci_sock.c255 int flag, struct sock *skip_sk) in __hci_send_to_channel() argument
265 if (!hci_sock_test_flag(sk, flag)) in __hci_send_to_channel()
289 int flag, struct sock *skip_sk) in hci_send_to_channel() argument
292 __hci_send_to_channel(channel, skb, flag, skip_sk); in hci_send_to_channel()
352 int flag, struct sock *skip_sk) in hci_send_monitor_ctrl_event() argument
372 if (!hci_sock_test_flag(sk, flag)) in hci_send_monitor_ctrl_event()
/net/smc/
Dsmc_clc.h60 flag : 1, member
66 flag : 1, member
Dsmc_clc.c350 if (((struct smc_clc_msg_decline *)buf)->hdr.flag) { in smc_clc_wait_msg()
374 dclc.hdr.flag = (peer_diag_info == SMC_CLC_DECL_SYNCERR) ? 1 : 0; in smc_clc_send_decline()
551 aclc.hdr.flag = 1; in smc_clc_send_accept()
/net/wireless/
Dibss.c109 u32 flag; in __cfg80211_join_ibss() local
115 flag = IEEE80211_RATE_MANDATORY_A; in __cfg80211_join_ibss()
117 flag = IEEE80211_RATE_MANDATORY_B; in __cfg80211_join_ibss()
121 if (sband->bitrates[j].flags & flag) in __cfg80211_join_ibss()
/net/netfilter/ipvs/
Dip_vs_app.c347 unsigned int flag, __u32 seq, int diff) in vs_seq_update() argument
351 if (!(cp->flags & flag) || after(seq, vseq->init_seq)) { in vs_seq_update()
355 cp->flags |= flag; in vs_seq_update()
/net/ipv6/netfilter/
Dip6t_srh.c21 #define NF_SRH_INVF(ptr, flag, boolean) \ argument
22 ((boolean) ^ !!((ptr)->mt_invflags & (flag)))
/net/core/
Dpktgen.c201 #define pf(flag) flag##_SHIFT, argument
208 #define pf(flag) static const __u32 F_##flag = (1<<flag##_SHIFT); argument
212 #define pf(flag) __stringify(flag), argument
1214 __u32 flag; in pktgen_if_write() local
1227 flag = pktgen_read_flag(f, &disable); in pktgen_if_write()
1229 if (flag) { in pktgen_if_write()
1231 pkt_dev->flags &= ~flag; in pktgen_if_write()
1233 pkt_dev->flags |= flag; in pktgen_if_write()
/net/atm/
Dlec.c152 mesg->content.normal.flag = *buff & 0x01; in lec_handle_bridge()
367 mesg->content.normal.flag); in lec_atm_send()
370 priv->topology_change = mesg->content.normal.flag; in lec_atm_send()
373 lec_flush_complete(priv, mesg->content.normal.flag); in lec_atm_send()
387 mesg->content.normal.flag, in lec_atm_send()
425 mesg->content.normal.flag); in lec_atm_send()
429 (unsigned short)(0xffff & mesg->content.normal.flag); in lec_atm_send()

123