/net/wireless/ |
D | sme.c | 273 struct cfg80211_connect_resp_params cr; in cfg80211_conn_work() local 275 memset(&cr, 0, sizeof(cr)); in cfg80211_conn_work() 276 cr.status = -1; in cfg80211_conn_work() 277 cr.links[0].bssid = bssid; in cfg80211_conn_work() 278 cr.timeout_reason = treason; in cfg80211_conn_work() 279 __cfg80211_connect_result(wdev->netdev, &cr, false); in cfg80211_conn_work() 388 struct cfg80211_connect_resp_params cr; in cfg80211_sme_rx_auth() local 390 memset(&cr, 0, sizeof(cr)); in cfg80211_sme_rx_auth() 391 cr.status = status_code; in cfg80211_sme_rx_auth() 392 cr.links[0].bssid = mgmt->bssid; in cfg80211_sme_rx_auth() [all …]
|
D | mlme.c | 31 struct cfg80211_connect_resp_params cr = { in cfg80211_rx_assoc_resp() local 45 cr.links[link_id].status = data->links[link_id].status; in cfg80211_rx_assoc_resp() 46 WARN_ON_ONCE(cr.links[link_id].status != WLAN_STATUS_SUCCESS && in cfg80211_rx_assoc_resp() 47 (!cr.ap_mld_addr || !cr.links[link_id].bss)); in cfg80211_rx_assoc_resp() 49 cr.links[link_id].bss = data->links[link_id].bss; in cfg80211_rx_assoc_resp() 50 if (!cr.links[link_id].bss) in cfg80211_rx_assoc_resp() 52 cr.links[link_id].bssid = data->links[link_id].bss->bssid; in cfg80211_rx_assoc_resp() 53 cr.links[link_id].addr = data->links[link_id].addr; in cfg80211_rx_assoc_resp() 55 WARN_ON(cr.ap_mld_addr && !cr.links[link_id].addr); in cfg80211_rx_assoc_resp() 57 if (cr.links[link_id].bss->channel->band == NL80211_BAND_S1GHZ) { in cfg80211_rx_assoc_resp() [all …]
|
D | nl80211.c | 17811 struct cfg80211_connect_resp_params *cr, in nl80211_send_connect_result() argument 17818 const u8 *connected_addr = cr->valid_links ? in nl80211_send_connect_result() 17819 cr->ap_mld_addr : cr->links[0].bssid; in nl80211_send_connect_result() 17821 if (cr->valid_links) { in nl80211_send_connect_result() 17822 for_each_valid_link(cr, link) { in nl80211_send_connect_result() 17827 link_info_size += cr->links[link].addr ? in nl80211_send_connect_result() 17829 link_info_size += (cr->links[link].bssid || in nl80211_send_connect_result() 17830 cr->links[link].bss) ? in nl80211_send_connect_result() 17836 msg = nlmsg_new(100 + cr->req_ie_len + cr->resp_ie_len + in nl80211_send_connect_result() 17837 cr->fils.kek_len + cr->fils.pmk_len + in nl80211_send_connect_result() [all …]
|
D | core.h | 260 struct cfg80211_connect_resp_params cr; member
|
D | util.c | 969 &ev->cr, in cfg80211_process_wdev_events() 970 ev->cr.status == WLAN_STATUS_SUCCESS); in cfg80211_process_wdev_events()
|
D | reg.c | 2176 const struct ieee80211_regdomain *cr = get_cfg80211_regdom(); in reg_is_world_roaming() local 2180 if (is_world_regdom(cr->alpha2) || (wr && is_world_regdom(wr->alpha2))) in reg_is_world_roaming()
|
/net/bluetooth/rfcomm/ |
D | core.c | 57 static int rfcomm_send_nsc(struct rfcomm_session *s, int cr, u8 type); 58 static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d); 59 static int rfcomm_send_msc(struct rfcomm_session *s, int cr, u8 dlci, u8 v24_sig); 60 static int rfcomm_send_test(struct rfcomm_session *s, int cr, u8 *pattern, int len); 83 #define __addr(cr, dlci) (((dlci & 0x3f) << 2) | (cr << 1) | 0x01) argument 92 #define __mcc_type(cr, type) (((type << 2) | (cr << 1) | 0x01)) argument 925 static int rfcomm_send_nsc(struct rfcomm_session *s, int cr, u8 type) in rfcomm_send_nsc() argument 931 BT_DBG("%p cr %d type %d", s, cr, type); in rfcomm_send_nsc() 943 *ptr = __mcc_type(cr, type); ptr++; in rfcomm_send_nsc() 950 static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d) in rfcomm_send_pn() argument [all …]
|
/net/lapb/ |
D | lapb_subr.c | 122 frame->cr = LAPB_COMMAND; in lapb_decode() 124 frame->cr = LAPB_RESPONSE; in lapb_decode() 127 frame->cr = LAPB_COMMAND; in lapb_decode() 129 frame->cr = LAPB_RESPONSE; in lapb_decode() 134 frame->cr = LAPB_COMMAND; in lapb_decode() 136 frame->cr = LAPB_RESPONSE; in lapb_decode() 139 frame->cr = LAPB_COMMAND; in lapb_decode() 141 frame->cr = LAPB_RESPONSE; in lapb_decode() 275 if (lapb->frmr_data.cr == LAPB_RESPONSE) in lapb_transmit_frmr() 289 if (lapb->frmr_data.cr == LAPB_RESPONSE) in lapb_transmit_frmr()
|
D | lapb_in.c | 325 lapb_check_need_response(lapb, frame->cr, frame->pf); in lapb_state3_machine() 344 lapb_check_need_response(lapb, frame->cr, frame->pf); in lapb_state3_machine() 363 lapb_check_need_response(lapb, frame->cr, frame->pf); in lapb_state3_machine()
|
/net/sunrpc/ |
D | cache.c | 996 struct cache_request *cr = in cache_ioctl() local 998 len = cr->len - rp->offset; in cache_ioctl() 1071 struct cache_request *cr; in cache_dequeue() local 1078 cr = container_of(cq, struct cache_request, q); in cache_dequeue() 1079 if (cr->item != ch) in cache_dequeue() 1084 if (cr->readers != 0) in cache_dequeue() 1086 list_move(&cr->q.list, &dequeued); in cache_dequeue() 1090 cr = list_entry(dequeued.next, struct cache_request, q.list); in cache_dequeue() 1091 list_del(&cr->q.list); in cache_dequeue() 1092 cache_put(cr->item, detail); in cache_dequeue() [all …]
|
/net/xdp/ |
D | xsk.h | 24 struct xdp_ring_offset_v1 cr; member
|
D | xsk.c | 1241 &off.cr); in xsk_getsockopt() 1248 off.cr.flags = offsetof(struct xdp_umem_ring, in xsk_getsockopt() 1257 xsk_enter_umem_offsets(&off_v1.cr); in xsk_getsockopt()
|
/net/ipv4/ |
D | Kconfig | 283 about SYN cookies, check out <https://cr.yp.to/syncookies.html>.
|