Home
last modified time | relevance | path

Searched refs:dsap (Results 1 – 18 of 18) sorted by relevance

/net/llc/
Dllc_station.c35 !pdu->dsap ? 0 : 1; /* NULL DSAP value */ in llc_stat_ev_rx_null_dsap_xid_c()
45 !pdu->dsap ? 0 : 1; /* NULL DSAP */ in llc_stat_ev_rx_null_dsap_test_c()
50 u8 mac_da[ETH_ALEN], dsap; in llc_station_ac_send_xid_r() local
59 llc_pdu_decode_ssap(skb, &dsap); in llc_station_ac_send_xid_r()
60 llc_pdu_header_init(nskb, LLC_PDU_TYPE_U, 0, dsap, LLC_PDU_RSP); in llc_station_ac_send_xid_r()
75 u8 mac_da[ETH_ALEN], dsap; in llc_station_ac_send_test_r() local
88 llc_pdu_decode_ssap(skb, &dsap); in llc_station_ac_send_test_r()
89 llc_pdu_header_init(nskb, LLC_PDU_TYPE_U, 0, dsap, LLC_PDU_RSP); in llc_station_ac_send_test_r()
Dllc_s_ac.c99 u8 mac_da[ETH_ALEN], mac_sa[ETH_ALEN], dsap; in llc_sap_action_send_xid_r() local
105 llc_pdu_decode_ssap(skb, &dsap); in llc_sap_action_send_xid_r()
110 llc_pdu_header_init(nskb, LLC_PDU_TYPE_U, sap->laddr.lsap, dsap, in llc_sap_action_send_xid_r()
145 u8 mac_da[ETH_ALEN], mac_sa[ETH_ALEN], dsap; in llc_sap_action_send_test_r() local
152 llc_pdu_decode_ssap(skb, &dsap); in llc_sap_action_send_test_r()
159 llc_pdu_header_init(nskb, LLC_PDU_TYPE_U, sap->laddr.lsap, dsap, in llc_sap_action_send_test_r()
Dllc_output.c66 unsigned char *dmac, unsigned char dsap) in llc_build_and_send_ui_pkt() argument
70 dsap, LLC_PDU_CMD); in llc_build_and_send_ui_pkt()
Dllc_input.c182 if (unlikely(!pdu->dsap)) /* NULL DSAP, refer to station */ in llc_rcv()
184 sap = llc_sap_find(pdu->dsap); in llc_rcv()
187 pdu->dsap); in llc_rcv()
Dllc_sap.c238 struct sk_buff *skb, u8 *dmac, u8 dsap) in llc_build_and_send_test_pkt() argument
243 ev->daddr.lsap = dsap; in llc_build_and_send_test_pkt()
264 u8 *dmac, u8 dsap) in llc_build_and_send_xid_pkt() argument
269 ev->daddr.lsap = dsap; in llc_build_and_send_xid_pkt()
Dllc_if.c79 int llc_establish_connection(struct sock *sk, u8 *lmac, u8 *dmac, u8 dsap) in llc_establish_connection() argument
88 daddr.lsap = dsap; in llc_establish_connection()
/net/nfc/
Dllcp_core.c200 u8 ssap, u8 dsap) in nfc_llcp_sock_get() argument
205 pr_debug("ssap dsap %d %d\n", ssap, dsap); in nfc_llcp_sock_get()
207 if (ssap == 0 && dsap == 0) in nfc_llcp_sock_get()
217 if (tmp_sock->ssap == ssap && tmp_sock->dsap == dsap) { in nfc_llcp_sock_get()
830 u8 dsap, ssap; in nfc_llcp_recv_ui() local
832 dsap = nfc_llcp_dsap(skb); in nfc_llcp_recv_ui()
836 ui_cb->dsap = dsap; in nfc_llcp_recv_ui()
839 pr_debug("%d %d\n", dsap, ssap); in nfc_llcp_recv_ui()
842 llcp_sock = nfc_llcp_sock_get(local, dsap, LLCP_SAP_SDP); in nfc_llcp_recv_ui()
866 u8 dsap, ssap, reason; in nfc_llcp_recv_connect() local
[all …]
Dllcp_sock.c91 if (llcp_addr.dsap != 0) in llcp_sock_bind()
509 llcp_sock->dsap, llcp_sock->ssap); in llcp_sock_getname()
518 llcp_addr->dsap = llcp_sock->dsap; in llcp_sock_getname()
657 if (addr->service_name_len == 0 && addr->dsap == 0) in llcp_sock_connect()
708 llcp_sock->dsap = addr->dsap; in llcp_sock_connect()
710 llcp_sock->dsap = LLCP_SAP_SDP; in llcp_sock_connect()
776 return nfc_llcp_send_ui_frame(llcp_sock, addr->dsap, addr->ssap, in llcp_sock_sendmsg()
846 pr_debug("Datagram socket %d %d\n", ui_cb->dsap, ui_cb->ssap); in llcp_sock_recvmsg()
851 sockaddr->dsap = ui_cb->dsap; in llcp_sock_recvmsg()
959 llcp_sock->dsap = LLCP_SAP_SDP; in nfc_llcp_sock_alloc()
Dllcp.h124 u8 dsap; member
155 __u8 dsap; member
257 int nfc_llcp_send_dm(struct nfc_llcp_local *local, u8 ssap, u8 dsap, u8 reason);
261 int nfc_llcp_send_ui_frame(struct nfc_llcp_sock *sock, u8 ssap, u8 dsap,
Dllcp_commands.c292 u8 dsap, u8 ssap, u8 ptype) in llcp_add_header() argument
296 pr_debug("ptype 0x%x dsap 0x%x ssap 0x%x\n", ptype, dsap, ssap); in llcp_add_header()
298 header[0] = (u8)((dsap << 2) | (ptype >> 2)); in llcp_add_header()
337 skb = llcp_add_header(skb, sock->dsap, sock->ssap, cmd); in llcp_allocate_pdu()
600 int nfc_llcp_send_dm(struct nfc_llcp_local *local, u8 ssap, u8 dsap, u8 reason) in nfc_llcp_send_dm() argument
624 skb = llcp_add_header(skb, dsap, ssap, LLCP_PDU_DM); in nfc_llcp_send_dm()
734 int nfc_llcp_send_ui_frame(struct nfc_llcp_sock *sock, u8 ssap, u8 dsap, in nfc_llcp_send_ui_frame() argument
778 pdu = llcp_add_header(pdu, dsap, ssap, LLCP_PDU_UI); in nfc_llcp_send_ui_frame()
/net/bridge/netfilter/
Debt_802_3.c25 if (FWINV(info->sap != hdr->llc.ui.dsap, 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()
Debt_stp.c20 uint8_t dsap; member
/net/802/
Dfddi.c65 fddi->hdr.llc_snap.dsap = FDDI_EXTENDED_SAP; in fddi_header()
135 if(fddi->hdr.llc_8022_1.dsap==0xe0) in fddi_type_trans()
Dstp.c41 pdu->dsap != LLC_SAP_BSPAN || in stp_pdu_rcv()
Dfc.c54 fcllc->dsap = fcllc->ssap = EXTENDED_SAP; in fc_header()
Dhippi.c74 hip->snap.dsap = HIPPI_EXTENDED_SAP; in hippi_header()
/net/openvswitch/
Dflow.c457 u8 dsap; /* Always 0xAA */ in parse_ethertype() member
479 if (llc->dsap != LLC_SAP_SNAP || in parse_ethertype()
/net/mac80211/
Dcfg.c1083 u8 dsap; /* 0 */ member
1108 msg->dsap = 0; in ieee80211_send_layer2_update()