Home
last modified time | relevance | path

Searched refs:da (Results 1 – 24 of 24) sorted by relevance

/net/ipv4/
Dtcp_illinois.c138 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/
Dactions.c97 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/
D6lowpan_rtnl.c163 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/
Dmichael.c33 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()
Dht.c361 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()
Dmesh_hwmp.c107 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()
Dspectmgmt.c191 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()
Dagg-rx.c185 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()
Dmesh_plink.c58 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()
Dmesh.c659 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()
Dibss.c78 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()
Dagg-tx.c63 const u8 *da, u16 tid, in ieee80211_send_addba_request() argument
80 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_addba_request()
Dmesh.h209 const u8 *da, const u8 *sa);
Drx.c594 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()
Dutil.c1169 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()
Dtdls.c410 memcpy(tf->da, peer, ETH_ALEN); in ieee80211_prep_tdls_encap_data()
479 memcpy(mgmt->da, peer, ETH_ALEN); in ieee80211_prep_tdls_direct()
Dieee80211_i.h1589 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,
Dscan.c188 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()
Dcfg.c880 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()
Dmlme.c682 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/
Dllc_output.c33 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/
Daarp.c726 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/
Dmlme.c564 mgmt->da)) { in cfg80211_mlme_mgmt_tx()
/net/netfilter/
Dnf_tables_api.c2538 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()