Home
last modified time | relevance | path

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

12

/net/ipv4/
Dtcp_illinois.c140 static u32 alpha(struct illinois *ca, u32 da, u32 dm) in alpha() argument
144 if (da <= d1) { in alpha()
179 da -= d1; in alpha()
181 (dm + (da * (ALPHA_MAX - ALPHA_MIN)) / ALPHA_MIN); in alpha()
192 static u32 beta(u32 da, u32 dm) in beta() argument
197 if (da <= d2) in beta()
201 if (da >= d3 || d3 <= d2) in beta()
217 return (BETA_MIN * d3 - BETA_MAX * d2 + (BETA_MAX - BETA_MIN) * da) in beta()
232 u32 da = avg_delay(ca); in update_params() local
234 ca->alpha = alpha(ca, da, dm); in update_params()
[all …]
/net/mac80211/
Dmichael.c30 u8 *da, *sa, tid; in michael_mic_hdr() local
32 da = ieee80211_get_DA(hdr); in michael_mic_hdr()
46 michael_block(mctx, get_unaligned_le32(da)); in michael_mic_hdr()
47 michael_block(mctx, get_unaligned_le16(&da[4]) | in michael_mic_hdr()
Dht.c409 const u8 *da, u16 tid, in ieee80211_send_delba() argument
423 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_delba()
489 enum ieee80211_smps_mode smps, const u8 *da, in ieee80211_send_smps_action() argument
503 memcpy(action_frame->da, da, ETH_ALEN); in ieee80211_send_smps_action()
Dmesh_hwmp.c103 u32 target_sn, const u8 *da, in mesh_path_sel_frame_tx() argument
125 memcpy(mgmt->da, da, ETH_ALEN); in mesh_path_sel_frame_tx()
261 memcpy(mgmt->da, ra, ETH_ALEN); in mesh_path_error_tx()
563 const u8 *da; in hwmp_preq_frame_process() local
663 da = (mpath && mpath->is_root) ? in hwmp_preq_frame_process()
673 target_sn, da, hopcount, ttl, lifetime, in hwmp_preq_frame_process()
675 if (!is_multicast_ether_addr(da)) in hwmp_preq_frame_process()
1032 const u8 *da; in mesh_path_start_discovery() local
1099 da = (mpath->is_root) ? mpath->rann_snd_addr : broadcast_addr; in mesh_path_start_discovery()
1101 target_flags, mpath->dst, mpath->sn, da, 0, in mesh_path_start_discovery()
Dspectmgmt.c188 const u8 *da, const u8 *bssid, in ieee80211_send_refuse_measurement_request() argument
202 memcpy(msr_report->da, da, ETH_ALEN); in ieee80211_send_refuse_measurement_request()
Dfils_aead.c247 addr[1] = mgmt->da; in fils_encrypt_assoc_req()
300 addr[1] = mgmt->da; in fils_decrypt_assoc_resp()
Dagg-rx.c214 static void ieee80211_send_addba_resp(struct sta_info *sta, u8 *da, u16 tid, in ieee80211_send_addba_resp() argument
234 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_addba_resp()
Dscan.c223 u32 scan_flags, const u8 *da) in ieee80211_scan_accept_presp() argument
229 is_broadcast_ether_addr(da)) in ieee80211_scan_accept_presp()
233 return ether_addr_equal(da, sdata->vif.addr); in ieee80211_scan_accept_presp()
273 mgmt->da) && in ieee80211_scan_rx()
275 mgmt->da)) in ieee80211_scan_rx()
Dmesh.c788 eth_broadcast_addr(mgmt->da); in ieee80211_mesh_build_beacon()
1176 if ((!ether_addr_equal(mgmt->da, sdata->vif.addr) && in ieee80211_mesh_rx_probe_req()
1177 !is_broadcast_ether_addr(mgmt->da)) || in ieee80211_mesh_rx_probe_req()
1203 memcpy(hdr->da, mgmt->sa, ETH_ALEN); in ieee80211_mesh_rx_probe_req()
1226 !ether_addr_equal(mgmt->da, sdata->vif.addr)) in ieee80211_mesh_rx_bcn_presp()
1348 eth_broadcast_addr(mgmt_fwd->da); in mesh_fwd_csa_frame()
Dmesh_plink.c212 u8 *da, u16 llid, u16 plid, u16 reason) in mesh_plink_frame_tx() argument
250 memcpy(mgmt->da, da, ETH_ALEN); in mesh_plink_frame_tx()
1209 if (is_multicast_ether_addr(mgmt->da)) { in mesh_rx_plink_frame()
Drx.c983 if (skb->len < 24 + sizeof(*mmie) || !is_multicast_ether_addr(hdr->da)) in ieee80211_get_mmie_keyidx()
2968 if (!ether_addr_equal(mgmt->da, sdata->vif.addr)) { in ieee80211_process_sa_query_req()
2990 memcpy(resp->da, mgmt->sa, ETH_ALEN); in ieee80211_process_sa_query_req()
3413 if (is_multicast_ether_addr(mgmt->da)) in ieee80211_rx_h_action_return()
3426 memcpy(nmgmt->da, nmgmt->sa, ETH_ALEN); in ieee80211_rx_h_action_return()
3471 if (is_multicast_ether_addr(mgmt->da) && in ieee80211_rx_h_mgmt()
3472 !is_broadcast_ether_addr(mgmt->da)) in ieee80211_rx_h_mgmt()
3483 if (is_multicast_ether_addr(mgmt->da) && in ieee80211_rx_h_mgmt()
3484 !is_broadcast_ether_addr(mgmt->da)) in ieee80211_rx_h_mgmt()
4149 u8 da[ETH_ALEN]; in ieee80211_invoke_fast_rx() member
[all …]
Dibss.c79 eth_broadcast_addr(mgmt->da); in ieee80211_ibss_build_presp()
948 ibss_dbg(sdata, "RX DeAuth SA=%pM DA=%pM\n", mgmt->sa, mgmt->da); in ieee80211_rx_mgmt_deauth_ibss()
967 ibss_dbg(sdata, "RX Auth SA=%pM DA=%pM\n", mgmt->sa, mgmt->da); in ieee80211_rx_mgmt_auth_ibss()
1547 ibss_dbg(sdata, "RX ProbeReq SA=%pM DA=%pM\n", mgmt->sa, mgmt->da); in ieee80211_rx_mgmt_probe_req()
1551 if (!tx_last_beacon && is_multicast_ether_addr(mgmt->da)) in ieee80211_rx_mgmt_probe_req()
1581 memcpy(((struct ieee80211_mgmt *) skb->data)->da, mgmt->sa, ETH_ALEN); in ieee80211_rx_mgmt_probe_req()
Dagg-tx.c62 const u8 *da, u16 tid, in ieee80211_send_addba_request() argument
78 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_addba_request()
Dieee80211_i.h1793 const u8 *da, u16 tid,
1796 enum ieee80211_smps_mode smps, const u8 *da,
2099 const u8 *da, const u8 *key, u8 key_len, u8 key_idx,
2102 const u8 *da, const u8 *bssid,
Dutil.c1548 const u8 *extra, size_t extra_len, const u8 *da, in ieee80211_send_auth() argument
1568 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_auth()
1589 const u8 *da, const u8 *bssid, in ieee80211_send_deauth_disassoc() argument
1601 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_deauth_disassoc()
1911 memcpy(mgmt->da, dst, ETH_ALEN); in ieee80211_build_probe_req()
3478 eth_broadcast_addr(mgmt->da); in ieee80211_send_action_csa()
Dmesh.h196 const u8 *da, const u8 *sa);
Dtdls.c754 memcpy(tf->da, peer, ETH_ALEN); in ieee80211_prep_tdls_encap_data()
835 memcpy(mgmt->da, peer, ETH_ALEN); in ieee80211_prep_tdls_direct()
1985 !ether_addr_equal(tf->da, sdata->vif.addr)) in ieee80211_tdls_chsw_work()
/net/openvswitch/
Dactions.c129 struct deferred_action *da; in add_deferred_actions() local
132 da = action_fifo_put(fifo); in add_deferred_actions()
133 if (da) { in add_deferred_actions()
134 da->skb = skb; in add_deferred_actions()
135 da->actions = actions; in add_deferred_actions()
136 da->actions_len = actions_len; in add_deferred_actions()
137 da->pkt_key = *key; in add_deferred_actions()
140 return da; in add_deferred_actions()
1373 struct deferred_action *da; in clone_execute() local
1410 da = add_deferred_actions(skb, key, actions, len); in clone_execute()
[all …]
/net/can/j1939/
Dmain.c80 skcb->addr.da = skcb->addr.pgn; in j1939_can_recv()
85 skcb->addr.da = J1939_NO_ADDR; in j1939_can_recv()
93 if (j1939_address_is_unicast(skcb->addr.da) && in j1939_can_recv()
94 priv->ents[skcb->addr.da].nusers) in j1939_can_recv()
335 canid |= skcb->addr.da << 8; in j1939_send_one()
Dtransport.c312 return (!skcb->addr.dst_name && (skcb->addr.da == 0xff)); in j1939_cb_is_broadcast()
346 if (j1939_address_is_unicast(skcb->addr.da) && in j1939_session_skb_queue()
347 priv->ents[skcb->addr.da].nusers) in j1939_session_skb_queue()
456 } else if (se_addr->sa != sk_addr->da) { in j1939_session_match()
463 } else if (se_addr->da != sk_addr->sa) { in j1939_session_match()
477 } else if (se_addr->da != sk_addr->da) { in j1939_session_match()
548 swap(skcb->addr.da, skcb->addr.sa); in j1939_skbcb_swap()
1445 __func__, session, skcb->addr.sa, skcb->addr.da); in j1939_session_new()
1597 __func__, session, skcb->addr.sa, skcb->addr.da, in j1939_xtp_rx_rts_session_active()
1607 session->skcb.addr.da != skcb->addr.da) in j1939_xtp_rx_rts_session_active()
[all …]
Dsocket.c224 if (j1939_address_is_unicast(skcb->addr.da)) { in j1939_sk_match_dst()
225 if (jsk->addr.sa != skcb->addr.da) in j1939_sk_match_dst()
244 if (jsk->addr.da != skcb->addr.sa) in j1939_sk_match_dst()
394 jsk->addr.da = J1939_NO_ADDR; in j1939_sk_init()
540 jsk->addr.da = addr->can_addr.j1939.addr; in j1939_sk_connect()
561 addr->can_addr.j1939.addr = jsk->addr.da; in j1939_sk_sock2sockaddr_can()
803 if (j1939_address_is_valid(skcb->addr.da)) in j1939_sk_recvmsg()
805 sizeof(skcb->addr.da), &skcb->addr.da); in j1939_sk_recvmsg()
874 skcb->addr.da = addr->can_addr.j1939.addr; in j1939_sk_alloc_skb()
1152 if (!jsk->addr.dst_name && jsk->addr.da == J1939_NO_ADDR && in j1939_sk_sendmsg()
Daddress-claim.c72 if (skcb->addr.dst_name || skcb->addr.da != J1939_NO_ADDR) { in j1939_ac_verify_outgoing()
121 skcb->addr.da = addr; in j1939_ac_fixup()
225 ecu = j1939_ecu_get_by_addr(priv, skcb->addr.da); in j1939_ac_recv()
Dj1939-priv.h145 u8 da; member
/net/llc/
Dllc_output.c26 const unsigned char *sa, const unsigned char *da) in llc_mac_hdr_init() argument
33 rc = dev_hard_header(skb, skb->dev, ETH_P_802_2, da, sa, in llc_mac_hdr_init()
/net/appletalk/
Daarp.c720 struct atalk_addr sa, *ma, da; in aarp_rcv() local
762 da.s_node = ea->pa_dst_node; in aarp_rcv()
763 da.s_net = ea->pa_dst_net; in aarp_rcv()
766 a = __aarp_find_entry(proxies[hash], dev, &da); in aarp_rcv()
818 da.s_node = sa.s_node; in aarp_rcv()
819 da.s_net = sa.s_net; in aarp_rcv()
820 ma = &da; in aarp_rcv()

12