Home
last modified time | relevance | path

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

12

/net/ipv4/
Dtcp_lp.c77 u32 flag; member
99 lp->flag = 0; in tcp_lp_init()
122 if (!(lp->flag & LP_WITHIN_INF)) in tcp_lp_cong_avoid()
165 lp->flag |= LP_VALID_RHZ; in tcp_lp_remote_hz_estimator()
167 lp->flag &= ~LP_VALID_RHZ; in tcp_lp_remote_hz_estimator()
194 if (lp->flag & LP_VALID_RHZ) { in tcp_lp_owd_calculator()
203 lp->flag |= LP_VALID_OWD; in tcp_lp_owd_calculator()
205 lp->flag &= ~LP_VALID_OWD; in tcp_lp_owd_calculator()
226 if (!(lp->flag & LP_VALID_RHZ) || !(lp->flag & LP_VALID_OWD)) in tcp_lp_rtt_sample()
279 lp->flag |= LP_WITHIN_INF; in tcp_lp_pkts_acked()
[all …]
Dtcp_input.c1105 int flag; member
1209 state->flag |= FLAG_ORIG_SACK_ACKED; in tcp_sacktag_one()
1222 state->flag |= FLAG_DATA_SACKED; in tcp_sacktag_one()
1633 state->flag = 0; in tcp_sacktag_write_queue()
1645 state->flag |= FLAG_DSACKING_ACK; in tcp_sacktag_write_queue()
1818 return state->flag; in tcp_sacktag_write_queue()
1982 static bool tcp_check_sack_reneging(struct sock *sk, int flag) in tcp_check_sack_reneging() argument
1984 if (flag & FLAG_SACK_RENEGING) { in tcp_check_sack_reneging()
2021 static bool tcp_pause_early_retransmit(struct sock *sk, int flag) in tcp_pause_early_retransmit() argument
2031 (flag & FLAG_ECE) || !tp->srtt_us) in tcp_pause_early_retransmit()
[all …]
/net/mac80211/
Dsta_info.h540 enum ieee80211_sta_info_flags flag) in set_sta_flag() argument
542 WARN_ON(flag == WLAN_STA_AUTH || in set_sta_flag()
543 flag == WLAN_STA_ASSOC || in set_sta_flag()
544 flag == WLAN_STA_AUTHORIZED); in set_sta_flag()
545 set_bit(flag, &sta->_flags); in set_sta_flag()
549 enum ieee80211_sta_info_flags flag) in clear_sta_flag() argument
551 WARN_ON(flag == WLAN_STA_AUTH || in clear_sta_flag()
552 flag == WLAN_STA_ASSOC || in clear_sta_flag()
553 flag == WLAN_STA_AUTHORIZED); in clear_sta_flag()
554 clear_bit(flag, &sta->_flags); in clear_sta_flag()
[all …]
Drx.c124 if (status->flag & (RX_FLAG_FAILED_FCS_CRC | in should_drop_frame()
153 if (status->flag & RX_FLAG_RADIOTAP_VENDOR_DATA) in ieee80211_rx_radiotap_hdrlen()
170 if (status->flag & RX_FLAG_HT) /* HT info */ in ieee80211_rx_radiotap_hdrlen()
173 if (status->flag & RX_FLAG_AMPDU_DETAILS) { in ieee80211_rx_radiotap_hdrlen()
178 if (status->flag & RX_FLAG_VHT) { in ieee80211_rx_radiotap_hdrlen()
188 if (status->flag & RX_FLAG_RADIOTAP_VENDOR_DATA) { in ieee80211_rx_radiotap_hdrlen()
226 if (status->flag & RX_FLAG_RADIOTAP_VENDOR_DATA) { in ieee80211_add_rx_radiotap_header()
259 if (status->flag & RX_FLAG_RADIOTAP_VENDOR_DATA) { in ieee80211_add_rx_radiotap_header()
289 if (status->flag & (RX_FLAG_FAILED_FCS_CRC | RX_FLAG_FAILED_PLCP_CRC)) in ieee80211_add_rx_radiotap_header()
291 if (status->flag & RX_FLAG_SHORTPRE) in ieee80211_add_rx_radiotap_header()
[all …]
Dwpa.c111 if (status->flag & (RX_FLAG_MMIC_STRIPPED | RX_FLAG_IV_STRIPPED)) { in ieee80211_rx_h_michael_mic_verify()
112 if (status->flag & RX_FLAG_MMIC_ERROR) in ieee80211_rx_h_michael_mic_verify()
115 if (!(status->flag & RX_FLAG_IV_STRIPPED) && rx->key && in ieee80211_rx_h_michael_mic_verify()
128 !(status->flag & RX_FLAG_DECRYPTED)) in ieee80211_rx_h_michael_mic_verify()
141 if (status->flag & RX_FLAG_MMIC_ERROR) in ieee80211_rx_h_michael_mic_verify()
288 if (status->flag & RX_FLAG_DECRYPTED) in ieee80211_crypto_tkip_decrypt()
301 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()
529 if (!(status->flag & RX_FLAG_PN_VALIDATED)) { in ieee80211_crypto_ccmp_decrypt()
[all …]
Dht.c25 u16 flag) in __check_htcap_disable() argument
27 __le16 le_flag = cpu_to_le16(flag); in __check_htcap_disable()
30 ht_cap->cap &= ~flag; in __check_htcap_disable()
37 u16 flag) in __check_htcap_enable() argument
39 __le16 le_flag = cpu_to_le16(flag); in __check_htcap_enable()
43 ht_cap->cap |= flag; in __check_htcap_enable()
Dwep.c285 if (!(status->flag & RX_FLAG_DECRYPTED)) { in ieee80211_crypto_wep_decrypt()
290 } else if (!(status->flag & RX_FLAG_IV_STRIPPED)) { in ieee80211_crypto_wep_decrypt()
296 if (!(status->flag & RX_FLAG_ICV_STRIPPED) && in ieee80211_crypto_wep_decrypt()
Dvht.c18 u32 flag) in __check_vhtcap_disable() argument
20 __le32 le_flag = cpu_to_le32(flag); in __check_vhtcap_disable()
24 vht_cap->cap &= ~flag; in __check_vhtcap_disable()
Dscan.c78 if (rx_status->flag & RX_FLAG_5MHZ) in ieee80211_bss_info_update()
80 if (rx_status->flag & RX_FLAG_10MHZ) in ieee80211_bss_info_update()
92 rx_status->flag |= RX_FLAG_NO_SIGNAL_VAL; in ieee80211_bss_info_update()
159 if (!(rx_status->flag & RX_FLAG_HT) && in ieee80211_bss_info_update()
160 !(rx_status->flag & RX_FLAG_VHT)) in ieee80211_bss_info_update()
Dutil.c2628 if (status->flag & RX_FLAG_HT) { in ieee80211_calculate_rx_timestamp()
2631 if (status->flag & RX_FLAG_40MHZ) in ieee80211_calculate_rx_timestamp()
2635 if (status->flag & RX_FLAG_SHORT_GI) in ieee80211_calculate_rx_timestamp()
2637 } else if (status->flag & RX_FLAG_VHT) { in ieee80211_calculate_rx_timestamp()
2641 if (status->flag & RX_FLAG_40MHZ) in ieee80211_calculate_rx_timestamp()
2649 if (status->flag & RX_FLAG_SHORT_GI) in ieee80211_calculate_rx_timestamp()
2656 if (status->flag & RX_FLAG_10MHZ) { in ieee80211_calculate_rx_timestamp()
2659 } else if (status->flag & RX_FLAG_5MHZ) { in ieee80211_calculate_rx_timestamp()
2674 (unsigned long long)status->flag, status->rate_idx, in ieee80211_calculate_rx_timestamp()
2679 if (status->flag & RX_FLAG_MACTIME_END) in ieee80211_calculate_rx_timestamp()
Dieee80211_i.h1457 WARN_ON_ONCE(status->flag & RX_FLAG_MACTIME_START && in ieee80211_have_rx_timestamp()
1458 status->flag & RX_FLAG_MACTIME_END); in ieee80211_have_rx_timestamp()
1459 return status->flag & (RX_FLAG_MACTIME_START | RX_FLAG_MACTIME_END); in ieee80211_have_rx_timestamp()
1825 if (status->flag & RX_FLAG_AMSDU_MORE) in ieee80211_rx_reorder_ready()
/net/netfilter/
Dxt_HMARK.c170 int flag = IP6_FH_F_AUTH; in hmark_pkt_set_htuple_ipv6() local
176 nexthdr = ipv6_find_hdr(skb, &nhoff, -1, &fragoff, &flag); in hmark_pkt_set_htuple_ipv6()
180 if ((flag & IP6_FH_F_FRAG) || (nexthdr != IPPROTO_ICMPV6)) in hmark_pkt_set_htuple_ipv6()
188 flag = IP6_FH_F_AUTH; in hmark_pkt_set_htuple_ipv6()
189 nexthdr = ipv6_find_hdr(skb, &nhoff, -1, &fragoff, &flag); in hmark_pkt_set_htuple_ipv6()
204 if (flag & IP6_FH_F_FRAG) in hmark_pkt_set_htuple_ipv6()
Dxt_sctp.c20 #define SCCHECK(cond, option, flag, invflag) (!((flag) & (option)) \ argument
33 return (chunkflags & flag_info[i].flag_mask) == flag_info[i].flag; in match_flags()
Dxt_dccp.c30 #define DCCHECK(cond, option, flag, invflag) (!((flag) & (option)) \ argument
Dnf_conntrack_proto_sctp.c217 int flag; in do_basic_checks() local
219 flag = 0; in do_basic_checks()
227 flag = 1; in do_basic_checks()
236 flag) && in do_basic_checks()
/net/rds/
Dib_rdma.c294 unsigned long *flag; in rds_ib_reuse_fmr() local
297 flag = this_cpu_ptr(&clean_list_grace); in rds_ib_reuse_fmr()
298 set_bit(CLEAN_LIST_BUSY_BIT, flag); in rds_ib_reuse_fmr()
303 clear_bit(CLEAN_LIST_BUSY_BIT, flag); in rds_ib_reuse_fmr()
311 unsigned long *flag; in wait_clean_list_grace() local
314 flag = &per_cpu(clean_list_grace, cpu); in wait_clean_list_grace()
315 while (test_bit(CLEAN_LIST_BUSY_BIT, flag)) in wait_clean_list_grace()
/net/ax25/
Dax25_addr.c219 const ax25_address *dest, const ax25_digi *d, int flag, int modulus) in ax25_addr_build() argument
228 if (flag == AX25_COMMAND) buf[6] |= AX25_CBIT; in ax25_addr_build()
242 if (flag == AX25_RESPONSE) buf[6] |= AX25_CBIT; in ax25_addr_build()
/net/bluetooth/
Dmgmt_util.c31 void *data, u16 data_len, int flag, struct sock *skip_sk) in mgmt_send_event() argument
54 hci_send_to_channel(channel, skb, flag, skip_sk); in mgmt_send_event()
Dmgmt_util.h35 void *data, u16 data_len, int flag, struct sock *skip_sk);
D6lowpan.c1183 bool flag; member
1191 if (!set_enable->flag || enable_6lowpan != set_enable->flag) in do_enable_set()
1197 enable_6lowpan = set_enable->flag; in do_enable_set()
1219 set_enable->flag = !!val; in lowpan_enable_set()
/net/netfilter/ipvs/
Dip_vs_app.c344 unsigned int flag, __u32 seq, int diff) in vs_seq_update() argument
348 if (!(cp->flags & flag) || after(seq, vseq->init_seq)) { in vs_seq_update()
352 cp->flags |= flag; in vs_seq_update()
/net/8021q/
Dvlan.h104 int vlan_dev_change_flags(const struct net_device *dev, u32 flag, u32 mask);
Dvlan.c562 args.vlan_qos ? args.u.flag : 0, in vlan_ioctl_handler()
563 args.u.flag); in vlan_ioctl_handler()
/net/atm/
Dlec.c151 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()
/net/wireless/
Dibss.c107 u32 flag = params->chandef.chan->band == IEEE80211_BAND_5GHZ ? in __cfg80211_join_ibss() local
112 if (sband->bitrates[j].flags & flag) in __cfg80211_join_ibss()

12