/linux-3.4.99/net/nfc/llcp/ |
D | llcp.c | 183 int ssap = nfc_llcp_wks_sap(sock->service_name, in nfc_llcp_get_sdp_ssap() local 186 if (ssap > 0) { in nfc_llcp_get_sdp_ssap() 187 pr_debug("WKS %d\n", ssap); in nfc_llcp_get_sdp_ssap() 190 if (local->local_wks & BIT(ssap)) { in nfc_llcp_get_sdp_ssap() 196 set_bit(ssap, &local->local_wks); in nfc_llcp_get_sdp_ssap() 199 return ssap; in nfc_llcp_get_sdp_ssap() 206 ssap = find_first_zero_bit(&local->local_sdp, LLCP_SDP_NUM_SAP); in nfc_llcp_get_sdp_ssap() 207 if (ssap == LLCP_SDP_NUM_SAP) { in nfc_llcp_get_sdp_ssap() 213 pr_debug("SDP ssap %d\n", LLCP_WKS_NUM_SAP + ssap); in nfc_llcp_get_sdp_ssap() 215 set_bit(ssap, &local->local_sdp); in nfc_llcp_get_sdp_ssap() [all …]
|
D | sock.c | 87 llcp_sock->ssap = nfc_llcp_get_sdp_ssap(local, llcp_sock); in llcp_sock_bind() 88 if (llcp_sock->ssap == LLCP_MAX_SAP) in llcp_sock_bind() 91 local->sockets[llcp_sock->ssap] = llcp_sock; in llcp_sock_bind() 93 pr_debug("Socket bound to SAP %d\n", llcp_sock->ssap); in llcp_sock_bind() 264 llcp_addr->ssap = llcp_sock->ssap; in llcp_sock_getname() 335 if (llcp_sock == local->sockets[llcp_sock->ssap]) in llcp_sock_release() 336 local->sockets[llcp_sock->ssap] = NULL; in llcp_sock_release() 368 && llcp_sock->ssap > LLCP_LOCAL_SAP_OFFSET) || in llcp_sock_release() 370 nfc_llcp_put_ssap(llcp_sock->local, llcp_sock->ssap); in llcp_sock_release() 442 llcp_sock->ssap = nfc_llcp_get_local_ssap(local); in llcp_sock_connect() [all …]
|
D | commands.c | 175 u8 dsap, u8 ssap, u8 ptype) in llcp_add_header() argument 179 pr_debug("ptype 0x%x dsap 0x%x ssap 0x%x\n", ptype, dsap, ssap); in llcp_add_header() 182 header[1] = (u8)((ptype << 6) | ssap); in llcp_add_header() 210 if (sock->ssap == 0) in llcp_allocate_pdu() 220 skb = llcp_add_header(skb, sock->dsap, sock->ssap, cmd); in llcp_allocate_pdu() 251 skb = llcp_add_header(skb, sock->ssap, sock->dsap, LLCP_PDU_DISC); in nfc_llcp_disconnect() 395 int nfc_llcp_send_dm(struct nfc_llcp_local *local, u8 ssap, u8 dsap, u8 reason) in nfc_llcp_send_dm() argument 419 skb = llcp_add_header(skb, ssap, dsap, LLCP_PDU_DM); in nfc_llcp_send_dm()
|
D | llcp.h | 94 u8 ssap; member 171 void nfc_llcp_put_ssap(struct nfc_llcp_local *local, u8 ssap); 193 int nfc_llcp_send_dm(struct nfc_llcp_local *local, u8 ssap, u8 dsap, u8 reason);
|
/linux-3.4.99/include/net/ |
D | llc_pdu.h | 45 #define LLC_PDU_IS_CMD(pdu) ((pdu->ssap & LLC_PDU_RSP) ? 0 : 1) 46 #define LLC_PDU_IS_RSP(pdu) ((pdu->ssap & LLC_PDU_RSP) ? 1 : 0) 199 u8 ssap; member 212 u8 ssap; member 232 u8 ssap, u8 dsap, u8 cr) in llc_pdu_header_init() argument 241 pdu->ssap = ssap; in llc_pdu_header_init() 242 pdu->ssap |= cr; in llc_pdu_header_init() 285 static inline void llc_pdu_decode_ssap(struct sk_buff *skb, u8 *ssap) in llc_pdu_decode_ssap() argument 287 *ssap = llc_pdu_un_hdr(skb)->ssap & 0xFE; in llc_pdu_decode_ssap()
|
/linux-3.4.99/include/linux/netfilter_bridge/ |
D | ebt_802_3.h | 30 __u8 ssap; member 38 __u8 ssap; member
|
/linux-3.4.99/include/linux/ |
D | if_fddi.h | 68 __u8 ssap; /* source service access point */ member 75 __u8 ssap; /* source service access point */ member 84 __u8 ssap; /* always 0xAA */ member
|
D | if_fc.h | 45 __u8 ssap; /* source SAP */ member
|
D | if_tr.h | 58 __u8 ssap; /* source SAP */ member
|
D | nfc.h | 159 __u8 ssap; /* Source SAP to be bound to */ member
|
D | atmmpc.h | 66 __u8 ssap; /* Source Service Access Point (0xAA) */ member
|
D | if_hippi.h | 141 __u8 ssap; /* always 0xAA */ member
|
/linux-3.4.99/net/bridge/netfilter/ |
D | ebt_802_3.c | 23 if (FWINV(info->sap != hdr->llc.ui.ssap, EBT_802_3_SAP)) in ebt_802_3_mt() 30 if (!(hdr->llc.ui.dsap == CHECK_TYPE && hdr->llc.ui.ssap == CHECK_TYPE)) in ebt_802_3_mt()
|
D | ebt_stp.c | 21 uint8_t ssap; member
|
/linux-3.4.99/drivers/staging/wlan-ng/ |
D | p80211conv.c | 168 e_llc->ssap = 0xAA; in skb_ether_to_p80211() 361 (e_llc->dsap != 0xaa || e_llc->ssap != 0xaa) && in skb_p80211_to_ether() 383 && (e_llc->ssap == 0xaa) in skb_p80211_to_ether() 419 && (e_llc->ssap == 0xaa) in skb_p80211_to_ether()
|
D | p80211conv.h | 142 u8 ssap; member
|
/linux-3.4.99/drivers/net/wireless/ath/ath6kl/ |
D | common.h | 64 u8 ssap; member
|
/linux-3.4.99/net/802/ |
D | stp.c | 40 if (pdu->ssap != LLC_SAP_BSPAN || in stp_pdu_rcv()
|
D | fc.c | 54 fcllc->dsap = fcllc->ssap = EXTENDED_SAP; in fc_header()
|
D | hippi.c | 75 hip->snap.ssap = HIPPI_EXTENDED_SAP; in hippi_header()
|
D | fddi.c | 66 fddi->hdr.llc_snap.ssap = FDDI_EXTENDED_SAP; in fddi_header()
|
/linux-3.4.99/net/llc/ |
D | llc_pdu.c | 23 llc_pdu_un_hdr(skb)->ssap |= pdu_type; in llc_pdu_set_cmd_rsp()
|
/linux-3.4.99/drivers/net/wireless/ipw2x00/ |
D | libipw_tx.c | 136 snap->ssap = 0xaa; in libipw_copy_snap()
|
/linux-3.4.99/drivers/staging/rtl8187se/ieee80211/ |
D | ieee80211_tx.c | 165 snap->ssap = 0xaa; in ieee80211_put_snap()
|
/linux-3.4.99/drivers/staging/rtl8712/ |
D | ieee80211.h | 286 u8 ssap; /* always 0xAA */ member
|