/net/ipv4/ |
D | tcp_illinois.c | 138 static u32 alpha(struct illinois *ca, u32 da, u32 dm) in alpha() argument 142 if (da <= d1) { in alpha() 177 da -= d1; in alpha() 179 (dm + (da * (ALPHA_MAX - ALPHA_MIN)) / ALPHA_MIN); in alpha() 190 static u32 beta(u32 da, u32 dm) in beta() argument 195 if (da <= d2) in beta() 199 if (da >= d3 || d3 <= d2) in beta() 215 return (BETA_MIN * d3 - BETA_MAX * d2 + (BETA_MAX - BETA_MIN) * da) in beta() 230 u32 da = avg_delay(ca); in update_params() local 232 ca->alpha = alpha(ca, da, dm); in update_params() [all …]
|
/net/openvswitch/ |
D | actions.c | 97 struct deferred_action *da; in add_deferred_actions() local 100 da = action_fifo_put(fifo); in add_deferred_actions() 101 if (da) { in add_deferred_actions() 102 da->skb = skb; in add_deferred_actions() 103 da->actions = attr; in add_deferred_actions() 104 da->pkt_key = *key; in add_deferred_actions() 107 return da; in add_deferred_actions() 635 struct deferred_action *da; in execute_recirc() local 655 da = add_deferred_actions(skb, key, NULL); in execute_recirc() 656 if (da) { in execute_recirc() [all …]
|
/net/ieee802154/ |
D | 6lowpan_rtnl.c | 163 struct ieee802154_addr_sa sa, da; in process_data() local 178 ieee802154_addr_to_sa(&da, &hdr->dest); in process_data() 185 if (da.addr_type == IEEE802154_ADDR_SHORT) in process_data() 186 dap = &da.short_addr; in process_data() 188 dap = &da.hwaddr; in process_data() 191 IEEE802154_ADDR_LEN, dap, da.addr_type, in process_data() 333 struct ieee802154_addr sa, da; in lowpan_header() local 354 da.pan_id = sa.pan_id; in lowpan_header() 360 da.mode = IEEE802154_ADDR_SHORT; in lowpan_header() 361 da.short_addr = cpu_to_le16(IEEE802154_ADDR_BROADCAST); in lowpan_header() [all …]
|
/net/mac80211/ |
D | michael.c | 33 u8 *da, *sa, tid; in michael_mic_hdr() local 35 da = ieee80211_get_DA(hdr); in michael_mic_hdr() 49 michael_block(mctx, get_unaligned_le32(da)); in michael_mic_hdr() 50 michael_block(mctx, get_unaligned_le16(&da[4]) | in michael_mic_hdr()
|
D | ht.c | 361 const u8 *da, u16 tid, in ieee80211_send_delba() argument 376 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_delba() 427 enum ieee80211_smps_mode smps, const u8 *da, in ieee80211_send_smps_action() argument 441 memcpy(action_frame->da, da, ETH_ALEN); in ieee80211_send_smps_action()
|
D | mesh_hwmp.c | 107 u32 target_sn, const u8 *da, in mesh_path_sel_frame_tx() argument 130 memcpy(mgmt->da, da, ETH_ALEN); in mesh_path_sel_frame_tx() 267 memcpy(mgmt->da, ra, ETH_ALEN); in mesh_path_error_tx() 518 const u8 *da; in hwmp_preq_frame_process() local 616 da = (mpath && mpath->is_root) ? in hwmp_preq_frame_process() 627 target_sn, da, hopcount, ttl, lifetime, in hwmp_preq_frame_process() 629 if (!is_multicast_ether_addr(da)) in hwmp_preq_frame_process() 982 const u8 *da; in mesh_path_start_discovery() local 1045 da = (mpath->is_root) ? mpath->rann_snd_addr : broadcast_addr; in mesh_path_start_discovery() 1047 target_flags, mpath->dst, mpath->sn, da, 0, in mesh_path_start_discovery()
|
D | spectmgmt.c | 191 const u8 *da, const u8 *bssid, in ieee80211_send_refuse_measurement_request() argument 206 memcpy(msr_report->da, da, ETH_ALEN); in ieee80211_send_refuse_measurement_request()
|
D | agg-rx.c | 185 static void ieee80211_send_addba_resp(struct ieee80211_sub_if_data *sdata, u8 *da, u16 tid, in ieee80211_send_addba_resp() argument 201 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_addba_resp()
|
D | mesh_plink.c | 58 u8 *da, u16 llid, u16 plid, u16 reason); 260 u8 *da, u16 llid, u16 plid, u16 reason) in mesh_plink_frame_tx() argument 293 memcpy(mgmt->da, da, ETH_ALEN); in mesh_plink_frame_tx() 1109 if (is_multicast_ether_addr(mgmt->da)) { in mesh_rx_plink_frame()
|
D | mesh.c | 659 eth_broadcast_addr(mgmt->da); in ieee80211_mesh_build_beacon() 965 if ((!ether_addr_equal(mgmt->da, sdata->vif.addr) && in ieee80211_mesh_rx_probe_req() 966 !is_broadcast_ether_addr(mgmt->da)) || in ieee80211_mesh_rx_probe_req() 992 memcpy(hdr->da, mgmt->sa, ETH_ALEN); in ieee80211_mesh_rx_probe_req() 1015 !ether_addr_equal(mgmt->da, sdata->vif.addr)) in ieee80211_mesh_rx_bcn_presp() 1132 eth_broadcast_addr(mgmt_fwd->da); in mesh_fwd_csa_frame()
|
D | ibss.c | 78 eth_broadcast_addr(mgmt->da); in ieee80211_ibss_build_presp() 948 mgmt->sa, mgmt->da, mgmt->bssid, reason); in ieee80211_rx_mgmt_deauth_ibss() 968 mgmt->sa, mgmt->da, mgmt->bssid, auth_transaction); in ieee80211_rx_mgmt_auth_ibss() 1419 mgmt->sa, mgmt->da, mgmt->bssid, tx_last_beacon); in ieee80211_rx_mgmt_probe_req() 1421 if (!tx_last_beacon && is_multicast_ether_addr(mgmt->da)) in ieee80211_rx_mgmt_probe_req() 1451 memcpy(((struct ieee80211_mgmt *) skb->data)->da, mgmt->sa, ETH_ALEN); in ieee80211_rx_mgmt_probe_req()
|
D | agg-tx.c | 63 const u8 *da, u16 tid, in ieee80211_send_addba_request() argument 80 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_addba_request()
|
D | mesh.h | 209 const u8 *da, const u8 *sa);
|
D | rx.c | 594 if (skb->len < 24 + sizeof(*mmie) || !is_multicast_ether_addr(hdr->da)) in ieee80211_get_mmie_keyidx() 2360 if (!ether_addr_equal(mgmt->da, sdata->vif.addr)) { in ieee80211_process_sa_query_req() 2383 memcpy(resp->da, mgmt->sa, ETH_ALEN); in ieee80211_process_sa_query_req() 2793 if (is_multicast_ether_addr(mgmt->da)) in ieee80211_rx_h_action_return() 2806 memcpy(nmgmt->da, nmgmt->sa, ETH_ALEN); in ieee80211_rx_h_action_return() 2853 if (is_multicast_ether_addr(mgmt->da) && in ieee80211_rx_h_mgmt() 2854 !is_broadcast_ether_addr(mgmt->da)) in ieee80211_rx_h_mgmt()
|
D | util.c | 1169 const u8 *extra, size_t extra_len, const u8 *da, in ieee80211_send_auth() argument 1190 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_auth() 1222 memcpy(mgmt->da, bssid, ETH_ALEN); in ieee80211_send_deauth_disassoc() 1489 memcpy(mgmt->da, dst, ETH_ALEN); in ieee80211_build_probe_req() 2662 eth_broadcast_addr(mgmt->da); in ieee80211_send_action_csa()
|
D | tdls.c | 410 memcpy(tf->da, peer, ETH_ALEN); in ieee80211_prep_tdls_encap_data() 479 memcpy(mgmt->da, peer, ETH_ALEN); in ieee80211_prep_tdls_direct()
|
D | ieee80211_i.h | 1589 const u8 *da, u16 tid, 1592 enum ieee80211_smps_mode smps, const u8 *da, 1815 const u8 *da, const u8 *key, u8 key_len, u8 key_idx,
|
D | scan.c | 188 if ((!sdata1 || !ether_addr_equal(mgmt->da, sdata1->vif.addr)) && in ieee80211_scan_rx() 189 (!sdata2 || !ether_addr_equal(mgmt->da, sdata2->vif.addr))) in ieee80211_scan_rx()
|
D | cfg.c | 880 u8 da[ETH_ALEN]; /* broadcast */ member 905 eth_broadcast_addr(msg->da); in ieee80211_send_layer2_update() 3193 sta = sta_info_get(sdata, mgmt->da); in ieee80211_mgmt_tx()
|
D | mlme.c | 682 memcpy(mgmt->da, assoc_data->bss->bssid, ETH_ALEN); in ieee80211_send_assoc() 2940 if (!ether_addr_equal(mgmt->da, sdata->vif.addr)) in ieee80211_rx_mgmt_probe_resp()
|
/net/llc/ |
D | llc_output.c | 33 const unsigned char *sa, const unsigned char *da) in llc_mac_hdr_init() argument 40 rc = dev_hard_header(skb, skb->dev, ETH_P_802_2, da, sa, in llc_mac_hdr_init()
|
/net/appletalk/ |
D | aarp.c | 726 struct atalk_addr sa, *ma, da; in aarp_rcv() local 768 da.s_node = ea->pa_dst_node; in aarp_rcv() 769 da.s_net = ea->pa_dst_net; in aarp_rcv() 772 a = __aarp_find_entry(proxies[hash], dev, &da); in aarp_rcv() 824 da.s_node = sa.s_node; in aarp_rcv() 825 da.s_net = sa.s_net; in aarp_rcv() 826 ma = &da; in aarp_rcv()
|
/net/wireless/ |
D | mlme.c | 564 mgmt->da)) { in cfg80211_mlme_mgmt_tx()
|
/net/netfilter/ |
D | nf_tables_api.c | 2538 struct nlattr *da[NFTA_SET_DESC_MAX + 1]; in nf_tables_set_desc_parse() local 2541 err = nla_parse_nested(da, NFTA_SET_DESC_MAX, nla, nft_set_desc_policy); in nf_tables_set_desc_parse() 2545 if (da[NFTA_SET_DESC_SIZE] != NULL) in nf_tables_set_desc_parse() 2546 desc->size = ntohl(nla_get_be32(da[NFTA_SET_DESC_SIZE])); in nf_tables_set_desc_parse()
|