/net/ipv4/ |
D | tcp_lp.c | 78 u32 flag; member 101 lp->flag = 0; in tcp_lp_init() 125 if (!(lp->flag & LP_WITHIN_INF)) in tcp_lp_cong_avoid() 169 lp->flag |= LP_VALID_RHZ; in tcp_lp_remote_hz_estimator() 171 lp->flag &= ~LP_VALID_RHZ; in tcp_lp_remote_hz_estimator() 199 if (lp->flag & LP_VALID_RHZ) { in tcp_lp_owd_calculator() 208 lp->flag |= LP_VALID_OWD; in tcp_lp_owd_calculator() 210 lp->flag &= ~LP_VALID_OWD; in tcp_lp_owd_calculator() 233 if (!(lp->flag & LP_VALID_RHZ) || !(lp->flag & LP_VALID_OWD)) in tcp_lp_rtt_sample() 288 lp->flag |= LP_WITHIN_INF; in tcp_lp_pkts_acked() [all …]
|
D | tcp_input.c | 1005 int flag; member 1031 state->flag |= FLAG_DSACK_TLP; in tcp_dsack_seen() 1045 if (tp->reord_seen && !(state->flag & FLAG_DSACK_TLP)) in tcp_dsack_seen() 1048 state->flag |= FLAG_DSACKING_ACK; in tcp_dsack_seen() 1418 state->flag |= FLAG_ORIG_SACK_ACKED; in tcp_sacktag_one() 1431 state->flag |= FLAG_DATA_SACKED; in tcp_sacktag_one() 1852 state->flag = 0; in tcp_sacktag_write_queue() 2028 return state->flag; in tcp_sacktag_write_queue() 2358 static bool tcp_time_to_recover(struct sock *sk, int flag) in tcp_time_to_recover() argument 2662 void tcp_cwnd_reduction(struct sock *sk, int newly_acked_sacked, int newly_lost, int flag) in tcp_cwnd_reduction() argument [all …]
|
/net/mac80211/ |
D | sta_info.h | 744 enum ieee80211_sta_info_flags flag) in set_sta_flag() argument 746 WARN_ON(flag == WLAN_STA_AUTH || in set_sta_flag() 747 flag == WLAN_STA_ASSOC || in set_sta_flag() 748 flag == WLAN_STA_AUTHORIZED); in set_sta_flag() 749 set_bit(flag, &sta->_flags); in set_sta_flag() 753 enum ieee80211_sta_info_flags flag) in clear_sta_flag() argument 755 WARN_ON(flag == WLAN_STA_AUTH || in clear_sta_flag() 756 flag == WLAN_STA_ASSOC || in clear_sta_flag() 757 flag == WLAN_STA_AUTHORIZED); in clear_sta_flag() 758 clear_bit(flag, &sta->_flags); in clear_sta_flag() [all …]
|
D | rx.c | 58 status->flag &= ~(RX_FLAG_RADIOTAP_TLV_AT_END | in ieee80211_clean_skb() 99 if (status->flag & (RX_FLAG_FAILED_FCS_CRC | in should_drop_frame() 147 if (status->flag & RX_FLAG_AMPDU_DETAILS) { in ieee80211_rx_radiotap_hdrlen() 163 status->flag & RX_FLAG_RADIOTAP_HE) { in ieee80211_rx_radiotap_hdrlen() 170 status->flag & RX_FLAG_RADIOTAP_HE_MU) { in ieee80211_rx_radiotap_hdrlen() 176 if (status->flag & RX_FLAG_NO_PSDU) in ieee80211_rx_radiotap_hdrlen() 179 if (status->flag & RX_FLAG_RADIOTAP_LSIG) { in ieee80211_rx_radiotap_hdrlen() 190 if (status->flag & RX_FLAG_RADIOTAP_TLV_AT_END) { in ieee80211_rx_radiotap_hdrlen() 197 if (status->flag & RX_FLAG_RADIOTAP_HE) in ieee80211_rx_radiotap_hdrlen() 200 if (status->flag & RX_FLAG_RADIOTAP_HE_MU) in ieee80211_rx_radiotap_hdrlen() [all …]
|
D | wpa.c | 118 if (status->flag & (RX_FLAG_MMIC_STRIPPED | RX_FLAG_IV_STRIPPED)) { in ieee80211_rx_h_michael_mic_verify() 119 if (status->flag & RX_FLAG_MMIC_ERROR) in ieee80211_rx_h_michael_mic_verify() 122 if (!(status->flag & RX_FLAG_IV_STRIPPED) && rx->key && in ieee80211_rx_h_michael_mic_verify() 135 !(status->flag & RX_FLAG_DECRYPTED)) in ieee80211_rx_h_michael_mic_verify() 148 if (status->flag & RX_FLAG_MMIC_ERROR) in ieee80211_rx_h_michael_mic_verify() 291 if (status->flag & RX_FLAG_DECRYPTED) in ieee80211_crypto_tkip_decrypt() 304 if (!(status->flag & RX_FLAG_ICV_STRIPPED)) in ieee80211_crypto_tkip_decrypt() 524 if (status->flag & RX_FLAG_DECRYPTED) { in ieee80211_crypto_ccmp_decrypt() 527 if (status->flag & RX_FLAG_MIC_STRIPPED) in ieee80211_crypto_ccmp_decrypt() 541 if (!(status->flag & RX_FLAG_PN_VALIDATED)) { in ieee80211_crypto_ccmp_decrypt() [all …]
|
D | ht.c | 24 u16 flag) in __check_htcap_disable() argument 26 __le16 le_flag = cpu_to_le16(flag); in __check_htcap_disable() 29 ht_cap->cap &= ~flag; in __check_htcap_disable() 36 u16 flag) in __check_htcap_enable() argument 38 __le16 le_flag = cpu_to_le16(flag); in __check_htcap_enable() 42 ht_cap->cap |= flag; in __check_htcap_enable()
|
D | wep.c | 251 if (!(status->flag & RX_FLAG_DECRYPTED)) { in ieee80211_crypto_wep_decrypt() 256 } else if (!(status->flag & RX_FLAG_IV_STRIPPED)) { in ieee80211_crypto_wep_decrypt() 262 if (!(status->flag & RX_FLAG_ICV_STRIPPED) && in ieee80211_crypto_wep_decrypt()
|
D | vht.c | 19 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/packet/ |
D | internal.h | 149 enum packet_sock_flags flag, in packet_sock_flag_set() argument 153 set_bit(flag, &po->flags); in packet_sock_flag_set() 155 clear_bit(flag, &po->flags); in packet_sock_flag_set() 159 enum packet_sock_flags flag) in packet_sock_flag() argument 161 return test_bit(flag, &po->flags); in packet_sock_flag()
|
/net/netfilter/ |
D | xt_HMARK.c | 169 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()
|
D | xt_sctp.c | 20 #define SCCHECK(cond, option, flag, invflag) (!((flag) & (option)) \ argument 33 return (chunkflags & flag_info[i].flag_mask) == flag_info[i].flag; in match_flags()
|
D | xt_dccp.c | 27 #define DCCHECK(cond, option, flag, invflag) (!((flag) & (option)) \ argument
|
D | nf_conntrack_proto_sctp.c | 161 int flag; in do_basic_checks() local 163 flag = 0; in do_basic_checks() 169 flag = 1; in do_basic_checks() 178 flag) && in do_basic_checks() 182 __func__, count, sch->type, sch->length, flag); in do_basic_checks()
|
/net/bluetooth/ |
D | mgmt_util.c | 75 int mgmt_send_event_skb(unsigned short channel, struct sk_buff *skb, int flag, in mgmt_send_event_skb() argument 95 skb_get_ktime(skb), flag, skip_sk); in mgmt_send_event_skb() 105 hci_send_to_channel(channel, skb, flag, skip_sk); in mgmt_send_event_skb() 112 void *data, u16 data_len, int flag, struct sock *skip_sk) in mgmt_send_event() argument 123 return mgmt_send_event_skb(channel, skb, flag, skip_sk); in mgmt_send_event()
|
D | mgmt_util.h | 47 int mgmt_send_event_skb(unsigned short channel, struct sk_buff *skb, int flag, 50 void *data, u16 data_len, int flag, struct sock *skip_sk);
|
D | 6lowpan.c | 1029 bool flag; member 1037 if (!set_enable->flag || enable_6lowpan != set_enable->flag) in do_enable_set() 1043 enable_6lowpan = set_enable->flag; in do_enable_set() 1065 set_enable->flag = !!val; in lowpan_enable_set()
|
/net/ax25/ |
D | ax25_addr.c | 216 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/wireless/ |
D | ibss.c | 109 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/dsa/ |
D | port.c | 331 int flag, err; in dsa_port_inherit_brport_flags() local 333 for_each_set_bit(flag, &mask, 32) { in dsa_port_inherit_brport_flags() 336 flags.mask = BIT(flag); in dsa_port_inherit_brport_flags() 338 if (br_port_flag_is_set(brport_dev, BIT(flag))) in dsa_port_inherit_brport_flags() 339 flags.val = BIT(flag); in dsa_port_inherit_brport_flags() 354 int flag, err; in dsa_port_clear_brport_flags() local 356 for_each_set_bit(flag, &mask, 32) { in dsa_port_clear_brport_flags() 359 flags.mask = BIT(flag); in dsa_port_clear_brport_flags() 360 flags.val = val & BIT(flag); in dsa_port_clear_brport_flags()
|
/net/smc/ |
D | smc.h | 380 static inline void smc_sock_set_flag(struct sock *sk, enum sock_flags flag) in smc_sock_set_flag() argument 382 set_bit(flag, &sk->sk_flags); in smc_sock_set_flag()
|
/net/netfilter/ipvs/ |
D | ip_vs_app.c | 347 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/ |
D | ip6t_srh.c | 21 #define NF_SRH_INVF(ptr, flag, boolean) \ argument 22 ((boolean) ^ !!((ptr)->mt_invflags & (flag)))
|
/net/netlink/ |
D | af_netlink.c | 939 static inline int netlink_allowed(const struct socket *sock, unsigned int flag) in netlink_allowed() argument 941 return (nl_table[sock->sk->sk_protocol].flags & flag) || in netlink_allowed() 1742 unsigned int flag; in netlink_getsockopt() local 1755 flag = NETLINK_F_RECV_PKTINFO; in netlink_getsockopt() 1758 flag = NETLINK_F_BROADCAST_SEND_ERROR; in netlink_getsockopt() 1761 flag = NETLINK_F_RECV_NO_ENOBUFS; in netlink_getsockopt() 1785 flag = NETLINK_F_CAP_ACK; in netlink_getsockopt() 1788 flag = NETLINK_F_EXT_ACK; in netlink_getsockopt() 1791 flag = NETLINK_F_STRICT_CHK; in netlink_getsockopt() 1801 val = test_bit(flag, &nlk->flags); in netlink_getsockopt()
|
/net/core/ |
D | pktgen.c | 204 #define pf(flag) flag##_SHIFT, argument 211 #define pf(flag) static const __u32 F_##flag = (1<<flag##_SHIFT); argument 215 #define pf(flag) __stringify(flag), argument 1321 __u32 flag; in pktgen_if_write() local 1334 flag = pktgen_read_flag(f, &disable); in pktgen_if_write() 1336 if (flag) { in pktgen_if_write() 1338 pkt_dev->flags &= ~flag; in pktgen_if_write() 1340 pkt_dev->flags |= flag; in pktgen_if_write()
|
/net/mctp/ |
D | device.c | 63 int msg_type, u32 portid, u32 seq, int flag) in mctp_fill_addrinfo() argument 69 msg_type, sizeof(*hdr), flag); in mctp_fill_addrinfo()
|