llc 382 drivers/net/ethernet/mscc/ocelot_ace.c struct ocelot_ace_frame_llc *llc = &ace->frame.llc; llc 385 drivers/net/ethernet/mscc/ocelot_ace.c VCAP_KEY_BYTES_SET(L2_DMAC, llc->dmac.value, llc->dmac.mask); llc 386 drivers/net/ethernet/mscc/ocelot_ace.c VCAP_KEY_BYTES_SET(L2_SMAC, llc->smac.value, llc->smac.mask); llc 388 drivers/net/ethernet/mscc/ocelot_ace.c payload.value[i] = llc->llc.value[i]; llc 389 drivers/net/ethernet/mscc/ocelot_ace.c payload.mask[i] = llc->llc.mask[i]; llc 107 drivers/net/ethernet/mscc/ocelot_ace.h struct ocelot_vcap_u32 llc; llc 206 drivers/net/ethernet/mscc/ocelot_ace.h struct ocelot_ace_frame_llc llc; llc 842 drivers/net/wireless/cisco/airo.c } llc; llc 176 drivers/nfc/st21nfca/vendor_cmds.c r = nfc_llc_stop(hdev->llc); llc 180 drivers/nfc/st21nfca/vendor_cmds.c return nfc_llc_start(hdev->llc); llc 123 include/net/nfc/hci.h struct nfc_llc *llc; llc 27 include/net/nfc/llc.h void nfc_llc_free(struct nfc_llc *llc); llc 29 include/net/nfc/llc.h int nfc_llc_start(struct nfc_llc *llc); llc 30 include/net/nfc/llc.h int nfc_llc_stop(struct nfc_llc *llc); llc 31 include/net/nfc/llc.h void nfc_llc_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb); llc 32 include/net/nfc/llc.h int nfc_llc_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb); llc 47 include/uapi/linux/if_fc.h __u8 llc; /* LLC control field */ llc 53 include/uapi/linux/netfilter_bridge/ebt_802_3.h } llc; llc 51 net/802/fc.c fcllc->llc = UI_CMD; llc 742 net/atm/clip.c int svc, llc, off; llc 747 net/atm/clip.c llc = ((clip_vcc == SEQ_NO_VCC_TOKEN) || clip_vcc->encap); llc 757 net/atm/clip.c dev->name, svc ? "SVC" : "PVC", llc ? "LLC" : "NULL", exp); llc 27 net/bridge/netfilter/ebt_802_3.c __be16 type = hdr->llc.ui.ctrl & IS_UI ? hdr->llc.ui.type : hdr->llc.ni.type; llc 30 net/bridge/netfilter/ebt_802_3.c if (NF_INVF(info, EBT_802_3_SAP, info->sap != hdr->llc.ui.ssap)) llc 32 net/bridge/netfilter/ebt_802_3.c if (NF_INVF(info, EBT_802_3_SAP, info->sap != hdr->llc.ui.dsap)) llc 37 net/bridge/netfilter/ebt_802_3.c if (!(hdr->llc.ui.dsap == CHECK_TYPE && hdr->llc.ui.ssap == CHECK_TYPE)) llc 121 net/llc/af_llc.c struct llc_sock* llc = llc_sk(sk); llc 123 net/llc/af_llc.c if (unlikely(llc_data_accept_state(llc->state) || llc 124 net/llc/af_llc.c llc->remote_busy_flag || llc 125 net/llc/af_llc.c llc->p_flag)) { llc 195 net/llc/af_llc.c struct llc_sock *llc; llc 201 net/llc/af_llc.c llc = llc_sk(sk); llc 203 net/llc/af_llc.c llc->laddr.lsap, llc->daddr.lsap); llc 207 net/llc/af_llc.c struct llc_sap *sap = llc->sap; llc 213 net/llc/af_llc.c llc_sap_remove_socket(llc->sap, sk); llc 219 net/llc/af_llc.c if (llc->dev) llc 220 net/llc/af_llc.c dev_put(llc->dev); llc 270 net/llc/af_llc.c struct llc_sock *llc = llc_sk(sk); llc 278 net/llc/af_llc.c llc->dev = dev_get_by_index(&init_net, sk->sk_bound_dev_if); llc 279 net/llc/af_llc.c if (llc->dev && addr->sllc_arphrd != llc->dev->type) { llc 280 net/llc/af_llc.c dev_put(llc->dev); llc 281 net/llc/af_llc.c llc->dev = NULL; llc 284 net/llc/af_llc.c llc->dev = dev_getfirstbyhwtype(&init_net, addr->sllc_arphrd); llc 285 net/llc/af_llc.c if (!llc->dev) llc 288 net/llc/af_llc.c llc->laddr.lsap = llc_ui_autoport(); llc 289 net/llc/af_llc.c if (!llc->laddr.lsap) llc 292 net/llc/af_llc.c sap = llc_sap_open(llc->laddr.lsap, NULL); llc 295 net/llc/af_llc.c memcpy(llc->laddr.mac, llc->dev->dev_addr, IFHWADDRLEN); llc 296 net/llc/af_llc.c memcpy(&llc->addr, addr, sizeof(llc->addr)); llc 323 net/llc/af_llc.c struct llc_sock *llc = llc_sk(sk); llc 337 net/llc/af_llc.c llc->dev = dev_get_by_index_rcu(&init_net, sk->sk_bound_dev_if); llc 338 net/llc/af_llc.c if (llc->dev) { llc 340 net/llc/af_llc.c addr->sllc_arphrd = llc->dev->type; llc 342 net/llc/af_llc.c memcpy(addr->sllc_mac, llc->dev->dev_addr, llc 344 net/llc/af_llc.c if (addr->sllc_arphrd != llc->dev->type || llc 346 net/llc/af_llc.c llc->dev->dev_addr)) { llc 348 net/llc/af_llc.c llc->dev = NULL; llc 352 net/llc/af_llc.c llc->dev = dev_getbyhwaddr_rcu(&init_net, addr->sllc_arphrd, llc 354 net/llc/af_llc.c if (llc->dev) llc 355 net/llc/af_llc.c dev_hold(llc->dev); llc 357 net/llc/af_llc.c if (!llc->dev) llc 390 net/llc/af_llc.c llc->laddr.lsap = addr->sllc_sap; llc 391 net/llc/af_llc.c memcpy(llc->laddr.mac, addr->sllc_mac, IFHWADDRLEN); llc 392 net/llc/af_llc.c memcpy(&llc->addr, addr, sizeof(llc->addr)); llc 454 net/llc/af_llc.c struct llc_sock *llc = llc_sk(sk); llc 476 net/llc/af_llc.c llc->daddr.lsap = addr->sllc_sap; llc 477 net/llc/af_llc.c memcpy(llc->daddr.mac, addr->sllc_mac, IFHWADDRLEN); llc 480 net/llc/af_llc.c llc->link = llc_ui_next_link_no(llc->sap->laddr.lsap); llc 481 net/llc/af_llc.c rc = llc_establish_connection(sk, llc->dev->dev_addr, llc 590 net/llc/af_llc.c struct llc_sock *llc = llc_sk(sk); llc 598 net/llc/af_llc.c (!llc_data_accept_state(llc->state) && llc 599 net/llc/af_llc.c !llc->remote_busy_flag && llc 600 net/llc/af_llc.c !llc->p_flag), &wait)) llc 642 net/llc/af_llc.c struct llc_sock *llc = llc_sk(skb->sk); llc 644 net/llc/af_llc.c if (llc->cmsg_flags & LLC_CMSG_PKTINFO) { llc 669 net/llc/af_llc.c struct llc_sock *llc, *newllc; llc 701 net/llc/af_llc.c llc = llc_sk(sk); llc 703 net/llc/af_llc.c memcpy(&newllc->addr, &llc->addr, sizeof(newllc->addr)); llc 735 net/llc/af_llc.c struct llc_sock *llc = llc_sk(sk); llc 750 net/llc/af_llc.c seq = &llc->copied_seq; llc 752 net/llc/af_llc.c peek_seq = llc->copied_seq; llc 827 net/llc/af_llc.c if ((flags & MSG_PEEK) && peek_seq != llc->copied_seq) { llc 831 net/llc/af_llc.c peek_seq = llc->copied_seq; llc 902 net/llc/af_llc.c struct llc_sock *llc = llc_sk(sk); llc 911 net/llc/af_llc.c llc->laddr.lsap, llc->daddr.lsap); llc 917 net/llc/af_llc.c if (llc_ui_addr_null(&llc->addr)) llc 919 net/llc/af_llc.c addr = &llc->addr; llc 928 net/llc/af_llc.c hdrlen = llc->dev->hard_header_len + llc_ui_header_len(sk, addr); llc 930 net/llc/af_llc.c if (size > llc->dev->mtu) llc 931 net/llc/af_llc.c size = llc->dev->mtu; llc 941 net/llc/af_llc.c skb->dev = llc->dev; llc 948 net/llc/af_llc.c llc_build_and_send_ui_pkt(llc->sap, skb, addr->sllc_mac, llc 954 net/llc/af_llc.c llc_build_and_send_test_pkt(llc->sap, skb, addr->sllc_mac, llc 960 net/llc/af_llc.c llc_build_and_send_xid_pkt(llc->sap, skb, addr->sllc_mac, llc 974 net/llc/af_llc.c __func__, llc->laddr.lsap, llc->daddr.lsap, rc); llc 993 net/llc/af_llc.c struct llc_sock *llc = llc_sk(sk); llc 1004 net/llc/af_llc.c if(llc->dev) llc 1005 net/llc/af_llc.c sllc.sllc_arphrd = llc->dev->type; llc 1006 net/llc/af_llc.c sllc.sllc_sap = llc->daddr.lsap; llc 1007 net/llc/af_llc.c memcpy(&sllc.sllc_mac, &llc->daddr.mac, IFHWADDRLEN); llc 1010 net/llc/af_llc.c if (!llc->sap) llc 1012 net/llc/af_llc.c sllc.sllc_sap = llc->sap->laddr.lsap; llc 1014 net/llc/af_llc.c if (llc->dev) { llc 1015 net/llc/af_llc.c sllc.sllc_arphrd = llc->dev->type; llc 1016 net/llc/af_llc.c memcpy(&sllc.sllc_mac, llc->dev->dev_addr, llc 1056 net/llc/af_llc.c struct llc_sock *llc = llc_sk(sk); llc 1071 net/llc/af_llc.c llc->n2 = opt; llc 1076 net/llc/af_llc.c llc->n1 = opt; llc 1081 net/llc/af_llc.c llc->ack_timer.expire = opt * HZ; llc 1086 net/llc/af_llc.c llc->pf_cycle_timer.expire = opt * HZ; llc 1091 net/llc/af_llc.c llc->rej_sent_timer.expire = opt * HZ; llc 1096 net/llc/af_llc.c llc->busy_state_timer.expire = opt * HZ; llc 1101 net/llc/af_llc.c llc->k = opt; llc 1106 net/llc/af_llc.c llc->rw = opt; llc 1110 net/llc/af_llc.c llc->cmsg_flags |= LLC_CMSG_PKTINFO; llc 1112 net/llc/af_llc.c llc->cmsg_flags &= ~LLC_CMSG_PKTINFO; llc 1138 net/llc/af_llc.c struct llc_sock *llc = llc_sk(sk); llc 1152 net/llc/af_llc.c val = llc->n2; break; llc 1154 net/llc/af_llc.c val = llc->n1; break; llc 1156 net/llc/af_llc.c val = llc->ack_timer.expire / HZ; break; llc 1158 net/llc/af_llc.c val = llc->pf_cycle_timer.expire / HZ; break; llc 1160 net/llc/af_llc.c val = llc->rej_sent_timer.expire / HZ; break; llc 1162 net/llc/af_llc.c val = llc->busy_state_timer.expire / HZ; break; llc 1164 net/llc/af_llc.c val = llc->k; break; llc 1166 net/llc/af_llc.c val = llc->rw; break; llc 1168 net/llc/af_llc.c val = (llc->cmsg_flags & LLC_CMSG_PKTINFO) != 0; llc 47 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 49 net/llc/llc_c_ac.c if (llc->remote_busy_flag) { llc 53 net/llc/llc_c_ac.c llc->remote_busy_flag = 0; llc 54 net/llc/llc_c_ac.c del_timer(&llc->busy_state_timer.timer); llc 134 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 154 net/llc/llc_c_ac.c if (llc->retry_count > llc->n2) { llc 191 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 193 net/llc/llc_c_ac.c if (llc->data_flag == 2) llc 194 net/llc/llc_c_ac.c del_timer(&llc->rej_sent_timer.timer); llc 201 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 202 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_U, 0); llc 205 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 208 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_CMD); llc 210 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 226 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 227 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_U, 0); llc 230 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 235 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_RSP); llc 237 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 252 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 253 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_U, 0); llc 256 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 259 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_RSP); llc 261 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 279 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 281 net/llc/llc_c_ac.c llc->rx_pdu_hdr = *((u32 *)pdu); llc 286 net/llc/llc_c_ac.c nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_U, llc 289 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 292 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_RSP); llc 293 net/llc/llc_c_ac.c llc_pdu_init_as_frmr_rsp(nskb, pdu, f_bit, llc->vS, llc 294 net/llc/llc_c_ac.c llc->vR, INCORRECT); llc 295 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 310 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 311 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_U, llc 315 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 316 net/llc/llc_c_ac.c struct llc_pdu_sn *pdu = (struct llc_pdu_sn *)&llc->rx_pdu_hdr; llc 319 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_RSP); llc 320 net/llc/llc_c_ac.c llc_pdu_init_as_frmr_rsp(nskb, pdu, 0, llc->vS, llc 321 net/llc/llc_c_ac.c llc->vR, INCORRECT); llc 322 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 339 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 342 net/llc/llc_c_ac.c nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_U, llc 345 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 349 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_RSP); llc 350 net/llc/llc_c_ac.c llc_pdu_init_as_frmr_rsp(nskb, pdu, f_bit, llc->vS, llc 351 net/llc/llc_c_ac.c llc->vR, INCORRECT); llc 352 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 367 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 368 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 371 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_CMD); llc 372 net/llc/llc_c_ac.c llc_pdu_init_as_i_cmd(skb, 1, llc->vS, llc->vR); llc 373 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(skb, llc->dev->dev_addr, llc->daddr.mac); llc 385 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 386 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 389 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_CMD); llc 390 net/llc/llc_c_ac.c llc_pdu_init_as_i_cmd(skb, 0, llc->vS, llc->vR); llc 391 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(skb, llc->dev->dev_addr, llc->daddr.mac); llc 403 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 404 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 407 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_CMD); llc 408 net/llc/llc_c_ac.c llc_pdu_init_as_i_cmd(skb, 0, llc->vS, llc->vR); llc 409 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(skb, llc->dev->dev_addr, llc->daddr.mac); llc 433 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 434 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_U, 0); llc 437 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 440 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_RSP); llc 441 net/llc/llc_c_ac.c llc_pdu_init_as_rr_rsp(nskb, 0, llc->vR); llc 442 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 468 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 469 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_S, 0); llc 472 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 475 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_CMD); llc 476 net/llc/llc_c_ac.c llc_pdu_init_as_rej_cmd(nskb, 1, llc->vR); llc 477 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 492 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 493 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_S, 0); llc 496 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 499 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_RSP); llc 500 net/llc/llc_c_ac.c llc_pdu_init_as_rej_rsp(nskb, 1, llc->vR); llc 501 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 516 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 517 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_S, 0); llc 520 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 523 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_RSP); llc 524 net/llc/llc_c_ac.c llc_pdu_init_as_rej_rsp(nskb, 0, llc->vR); llc 525 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 540 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 541 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_S, 0); llc 544 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 547 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_CMD); llc 548 net/llc/llc_c_ac.c llc_pdu_init_as_rnr_cmd(nskb, 1, llc->vR); llc 549 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 564 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 565 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_S, 0); llc 568 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 571 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_RSP); llc 572 net/llc/llc_c_ac.c llc_pdu_init_as_rnr_rsp(nskb, 1, llc->vR); llc 573 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 588 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 589 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_S, 0); llc 592 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 595 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_RSP); llc 596 net/llc/llc_c_ac.c llc_pdu_init_as_rnr_rsp(nskb, 0, llc->vR); llc 597 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 611 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 613 net/llc/llc_c_ac.c if (!llc->remote_busy_flag) { llc 614 net/llc/llc_c_ac.c llc->remote_busy_flag = 1; llc 615 net/llc/llc_c_ac.c mod_timer(&llc->busy_state_timer.timer, llc 616 net/llc/llc_c_ac.c jiffies + llc->busy_state_timer.expire); llc 624 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 625 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_S, 0); llc 628 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 631 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_RSP); llc 632 net/llc/llc_c_ac.c llc_pdu_init_as_rnr_rsp(nskb, 0, llc->vR); llc 633 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 648 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 649 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_S, 0); llc 652 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 655 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_CMD); llc 656 net/llc/llc_c_ac.c llc_pdu_init_as_rr_cmd(nskb, 1, llc->vR); llc 657 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 672 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 673 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_S, 0); llc 676 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 680 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_RSP); llc 681 net/llc/llc_c_ac.c llc_pdu_init_as_rr_rsp(nskb, f_bit, llc->vR); llc 682 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 697 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 698 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_S, 0); llc 701 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 704 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_RSP); llc 705 net/llc/llc_c_ac.c llc_pdu_init_as_rr_rsp(nskb, 1, llc->vR); llc 706 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 721 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 722 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_S, 0); llc 725 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 728 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_RSP); llc 729 net/llc/llc_c_ac.c llc_pdu_init_as_rr_rsp(nskb, 0, llc->vR); llc 730 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 745 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 746 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_S, 0); llc 749 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 752 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_RSP); llc 753 net/llc/llc_c_ac.c llc_pdu_init_as_rr_rsp(nskb, 0, llc->vR); llc 754 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 779 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 780 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_U, 0); llc 783 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 784 net/llc/llc_c_ac.c u8 *dmac = llc->daddr.mac; llc 786 net/llc/llc_c_ac.c if (llc->dev->flags & IFF_LOOPBACK) llc 787 net/llc/llc_c_ac.c dmac = llc->dev->dev_addr; llc 789 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_CMD); llc 791 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, dmac); llc 808 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 809 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_U, 0); llc 813 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 815 net/llc/llc_c_ac.c nskb->dev = llc->dev; llc 817 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_RSP); llc 819 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 845 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 848 net/llc/llc_c_ac.c mod_timer(&llc->pf_cycle_timer.timer, llc 849 net/llc/llc_c_ac.c jiffies + llc->pf_cycle_timer.expire); llc 866 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 869 net/llc/llc_c_ac.c llc->ack_pf |= pf_bit & 1; llc 870 net/llc/llc_c_ac.c if (!llc->ack_must_be_send) { llc 871 net/llc/llc_c_ac.c llc->first_pdu_Ns = llc->vR; llc 872 net/llc/llc_c_ac.c llc->ack_must_be_send = 1; llc 873 net/llc/llc_c_ac.c llc->ack_pf = pf_bit & 1; llc 875 net/llc/llc_c_ac.c if (((llc->vR - llc->first_pdu_Ns + 1 + LLC_2_SEQ_NBR_MODULO) llc 876 net/llc/llc_c_ac.c % LLC_2_SEQ_NBR_MODULO) >= llc->npta) { llc 878 net/llc/llc_c_ac.c llc->ack_must_be_send = 0; llc 879 net/llc/llc_c_ac.c llc->ack_pf = 0; llc 914 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 915 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 918 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_RSP); llc 919 net/llc/llc_c_ac.c llc_pdu_init_as_i_cmd(skb, llc->ack_pf, llc->vS, llc->vR); llc 920 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(skb, llc->dev->dev_addr, llc->daddr.mac); llc 941 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 944 net/llc/llc_c_ac.c if (llc->ack_must_be_send) { llc 946 net/llc/llc_c_ac.c llc->ack_must_be_send = 0 ; llc 947 net/llc/llc_c_ac.c llc->ack_pf = 0; llc 969 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 970 net/llc/llc_c_ac.c struct sk_buff *nskb = llc_alloc_frame(sk, llc->dev, LLC_PDU_TYPE_S, 0); llc 973 net/llc/llc_c_ac.c struct llc_sap *sap = llc->sap; llc 976 net/llc/llc_c_ac.c llc->daddr.lsap, LLC_PDU_RSP); llc 977 net/llc/llc_c_ac.c llc_pdu_init_as_rr_rsp(nskb, llc->ack_pf, llc->vR); llc 978 net/llc/llc_c_ac.c rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); llc 1002 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 1004 net/llc/llc_c_ac.c if (!llc->inc_cntr) { llc 1005 net/llc/llc_c_ac.c llc->dec_step = 0; llc 1006 net/llc/llc_c_ac.c llc->dec_cntr = llc->inc_cntr = 2; llc 1007 net/llc/llc_c_ac.c ++llc->npta; llc 1008 net/llc/llc_c_ac.c if (llc->npta > (u8) ~LLC_2_SEQ_NBR_MODULO) llc 1009 net/llc/llc_c_ac.c llc->npta = (u8) ~LLC_2_SEQ_NBR_MODULO; llc 1011 net/llc/llc_c_ac.c --llc->inc_cntr; llc 1025 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 1027 net/llc/llc_c_ac.c if (!llc->connect_step && !llc->remote_busy_flag) { llc 1028 net/llc/llc_c_ac.c if (!llc->dec_step) { llc 1029 net/llc/llc_c_ac.c if (!llc->dec_cntr) { llc 1030 net/llc/llc_c_ac.c llc->inc_cntr = llc->dec_cntr = 2; llc 1031 net/llc/llc_c_ac.c if (llc->npta > 0) llc 1032 net/llc/llc_c_ac.c llc->npta = llc->npta - 1; llc 1034 net/llc/llc_c_ac.c llc->dec_cntr -=1; llc 1037 net/llc/llc_c_ac.c llc->connect_step = 0 ; llc 1051 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 1053 net/llc/llc_c_ac.c if (llc->remote_busy_flag) llc 1054 net/llc/llc_c_ac.c if (!llc->dec_step) { llc 1055 net/llc/llc_c_ac.c if (!llc->dec_cntr) { llc 1056 net/llc/llc_c_ac.c llc->inc_cntr = llc->dec_cntr = 2; llc 1057 net/llc/llc_c_ac.c if (llc->npta > 0) llc 1058 net/llc/llc_c_ac.c --llc->npta; llc 1060 net/llc/llc_c_ac.c --llc->dec_cntr; llc 1076 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 1077 net/llc/llc_c_ac.c u8 unacked_pdu = skb_queue_len(&llc->pdu_unack_q); llc 1079 net/llc/llc_c_ac.c if (llc->k - unacked_pdu < 1) llc 1080 net/llc/llc_c_ac.c llc->k = 1; llc 1082 net/llc/llc_c_ac.c llc->k -= unacked_pdu; llc 1096 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 1098 net/llc/llc_c_ac.c llc->k += 1; llc 1099 net/llc/llc_c_ac.c if (llc->k > (u8) ~LLC_2_SEQ_NBR_MODULO) llc 1100 net/llc/llc_c_ac.c llc->k = (u8) ~LLC_2_SEQ_NBR_MODULO; llc 1112 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 1114 net/llc/llc_c_ac.c del_timer(&llc->rej_sent_timer.timer); llc 1115 net/llc/llc_c_ac.c del_timer(&llc->pf_cycle_timer.timer); llc 1116 net/llc/llc_c_ac.c del_timer(&llc->busy_state_timer.timer); llc 1117 net/llc/llc_c_ac.c llc->ack_must_be_send = 0; llc 1118 net/llc/llc_c_ac.c llc->ack_pf = 0; llc 1124 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 1126 net/llc/llc_c_ac.c mod_timer(&llc->ack_timer.timer, jiffies + llc->ack_timer.expire); llc 1132 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 1134 net/llc/llc_c_ac.c mod_timer(&llc->rej_sent_timer.timer, llc 1135 net/llc/llc_c_ac.c jiffies + llc->rej_sent_timer.expire); llc 1142 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 1144 net/llc/llc_c_ac.c if (!timer_pending(&llc->ack_timer.timer)) llc 1145 net/llc/llc_c_ac.c mod_timer(&llc->ack_timer.timer, llc 1146 net/llc/llc_c_ac.c jiffies + llc->ack_timer.expire); llc 1158 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 1160 net/llc/llc_c_ac.c del_timer(&llc->pf_cycle_timer.timer); llc 1176 net/llc/llc_c_ac.c struct llc_sock *llc = llc_sk(sk); llc 1178 net/llc/llc_c_ac.c llc->last_nr = PDU_SUPV_GET_Nr(pdu); llc 1179 net/llc/llc_c_ac.c acked = llc_conn_remove_acked_pdus(sk, llc->last_nr, &unacked); llc 1181 net/llc/llc_c_ac.c if (acked > 0 || (llc->dev->flags & IFF_LOOPBACK)) { llc 1182 net/llc/llc_c_ac.c llc->retry_count = 0; llc 1183 net/llc/llc_c_ac.c del_timer(&llc->ack_timer.timer); llc 1184 net/llc/llc_c_ac.c if (llc->failed_data_req) { llc 1189 net/llc/llc_c_ac.c llc->failed_data_req = 0; llc 1193 net/llc/llc_c_ac.c mod_timer(&llc->ack_timer.timer, llc 1194 net/llc/llc_c_ac.c jiffies + llc->ack_timer.expire); llc 1195 net/llc/llc_c_ac.c } else if (llc->failed_data_req) { llc 1200 net/llc/llc_c_ac.c llc->failed_data_req = 0; llc 1338 net/llc/llc_c_ac.c struct llc_sock *llc = from_timer(llc, t, pf_cycle_timer.timer); llc 1340 net/llc/llc_c_ac.c llc_conn_tmr_common_cb(&llc->sk, LLC_CONN_EV_TYPE_P_TMR); llc 1345 net/llc/llc_c_ac.c struct llc_sock *llc = from_timer(llc, t, busy_state_timer.timer); llc 1347 net/llc/llc_c_ac.c llc_conn_tmr_common_cb(&llc->sk, LLC_CONN_EV_TYPE_BUSY_TMR); llc 1352 net/llc/llc_c_ac.c struct llc_sock *llc = from_timer(llc, t, ack_timer.timer); llc 1354 net/llc/llc_c_ac.c llc_conn_tmr_common_cb(&llc->sk, LLC_CONN_EV_TYPE_ACK_TMR); llc 1359 net/llc/llc_c_ac.c struct llc_sock *llc = from_timer(llc, t, rej_sent_timer.timer); llc 1361 net/llc/llc_c_ac.c llc_conn_tmr_common_cb(&llc->sk, LLC_CONN_EV_TYPE_REJ_TMR); llc 80 net/llc/llc_c_ev.c struct llc_sock *llc = llc_sk(sk); llc 83 net/llc/llc_c_ev.c if (llc->dev->flags & IFF_LOOPBACK) llc 86 net/llc/llc_c_ev.c if (skb_queue_empty(&llc->pdu_unack_q)) llc 88 net/llc/llc_c_ev.c skb = skb_peek(&llc->pdu_unack_q); llc 91 net/llc/llc_c_ev.c skb = skb_peek_tail(&llc->pdu_unack_q); llc 64 net/llc/llc_conn.c struct llc_sock *llc = llc_sk(skb->sk); llc 131 net/llc/llc_conn.c if (!llc_data_accept_state(llc->state)) llc 134 net/llc/llc_conn.c rc = llc->failed_data_req = 1; llc 215 net/llc/llc_conn.c struct llc_sock *llc; llc 225 net/llc/llc_conn.c llc = llc_sk(sk); llc 227 net/llc/llc_conn.c while ((skb = skb_dequeue(&llc->pdu_unack_q)) != NULL) { llc 233 net/llc/llc_conn.c llc->vS = LLC_I_GET_NS(pdu); llc 237 net/llc/llc_conn.c llc->vS = (llc->vS + 1) % LLC_2_SEQ_NBR_MODULO; llc 257 net/llc/llc_conn.c struct llc_sock *llc = llc_sk(sk); llc 267 net/llc/llc_conn.c while ((skb = skb_dequeue(&llc->pdu_unack_q)) != NULL) { llc 274 net/llc/llc_conn.c llc->vS = LLC_I_GET_NS(pdu); llc 278 net/llc/llc_conn.c llc->vS = (llc->vS + 1) % LLC_2_SEQ_NBR_MODULO; llc 299 net/llc/llc_conn.c struct llc_sock *llc = llc_sk(sk); llc 300 net/llc/llc_conn.c int q_len = skb_queue_len(&llc->pdu_unack_q); llc 304 net/llc/llc_conn.c skb = skb_peek(&llc->pdu_unack_q); llc 312 net/llc/llc_conn.c skb = skb_dequeue(&llc->pdu_unack_q); llc 317 net/llc/llc_conn.c *how_many_unacked = skb_queue_len(&llc->pdu_unack_q); llc 359 net/llc/llc_conn.c struct llc_sock *llc = llc_sk(sk); llc 362 net/llc/llc_conn.c if (llc->state > NBR_CONN_STATES) llc 369 net/llc/llc_conn.c llc->state = trans->next_state; llc 370 net/llc/llc_conn.c if (!llc_data_accept_state(llc->state)) llc 392 net/llc/llc_conn.c struct llc_sock *llc = llc_sk(sk); llc 394 net/llc/llc_conn.c &llc_conn_state_table[llc->state - 1]; llc 400 net/llc/llc_conn.c llc_find_offset(llc->state - 1, ev->type); llc 458 net/llc/llc_conn.c struct llc_sock *llc = llc_sk(sk); llc 460 net/llc/llc_conn.c return llc->laddr.lsap == laddr->lsap && llc 461 net/llc/llc_conn.c llc->daddr.lsap == daddr->lsap && llc 462 net/llc/llc_conn.c ether_addr_equal(llc->laddr.mac, laddr->mac) && llc 463 net/llc/llc_conn.c ether_addr_equal(llc->daddr.mac, daddr->mac); llc 530 net/llc/llc_conn.c struct llc_sock *llc = llc_sk(sk); llc 533 net/llc/llc_conn.c llc->laddr.lsap == laddr->lsap && llc 534 net/llc/llc_conn.c ether_addr_equal(llc->laddr.mac, laddr->mac); llc 696 net/llc/llc_conn.c struct llc_sock *llc = llc_sk(sk); llc 697 net/llc/llc_conn.c struct hlist_head *dev_hb = llc_sk_dev_hash(sap, llc->dev->ifindex); llc 698 net/llc/llc_conn.c struct hlist_nulls_head *laddr_hb = llc_sk_laddr_hash(sap, &llc->laddr); llc 707 net/llc/llc_conn.c hlist_add_head(&llc->dev_hash_node, dev_hb); llc 721 net/llc/llc_conn.c struct llc_sock *llc = llc_sk(sk); llc 725 net/llc/llc_conn.c hlist_del(&llc->dev_hash_node); llc 754 net/llc/llc_conn.c struct llc_sock *newllc, *llc = llc_sk(sk); llc 763 net/llc/llc_conn.c llc_sap_add_socket(llc->sap, newsk); llc 764 net/llc/llc_conn.c llc_sap_hold(llc->sap); llc 849 net/llc/llc_conn.c struct llc_sock *llc = llc_sk(sk); llc 852 net/llc/llc_conn.c if (likely(llc->state > 1)) /* not closed */ llc 858 net/llc/llc_conn.c if (likely(llc->state > 1)) /* not closed */ llc 881 net/llc/llc_conn.c struct llc_sock *llc = llc_sk(sk); llc 883 net/llc/llc_conn.c llc->state = LLC_CONN_STATE_ADM; llc 884 net/llc/llc_conn.c llc->inc_cntr = llc->dec_cntr = 2; llc 885 net/llc/llc_conn.c llc->dec_step = llc->connect_step = 1; llc 887 net/llc/llc_conn.c timer_setup(&llc->ack_timer.timer, llc_conn_ack_tmr_cb, 0); llc 888 net/llc/llc_conn.c llc->ack_timer.expire = sysctl_llc2_ack_timeout; llc 890 net/llc/llc_conn.c timer_setup(&llc->pf_cycle_timer.timer, llc_conn_pf_cycle_tmr_cb, 0); llc 891 net/llc/llc_conn.c llc->pf_cycle_timer.expire = sysctl_llc2_p_timeout; llc 893 net/llc/llc_conn.c timer_setup(&llc->rej_sent_timer.timer, llc_conn_rej_tmr_cb, 0); llc 894 net/llc/llc_conn.c llc->rej_sent_timer.expire = sysctl_llc2_rej_timeout; llc 896 net/llc/llc_conn.c timer_setup(&llc->busy_state_timer.timer, llc_conn_busy_tmr_cb, 0); llc 897 net/llc/llc_conn.c llc->busy_state_timer.expire = sysctl_llc2_busy_timeout; llc 899 net/llc/llc_conn.c llc->n2 = 2; /* max retransmit */ llc 900 net/llc/llc_conn.c llc->k = 2; /* tx win size, will adjust dynam */ llc 901 net/llc/llc_conn.c llc->rw = 128; /* rx win size (opt and equal to llc 903 net/llc/llc_conn.c skb_queue_head_init(&llc->pdu_unack_q); llc 934 net/llc/llc_conn.c struct llc_sock *llc = llc_sk(sk); llc 937 net/llc/llc_conn.c del_timer_sync(&llc->pf_cycle_timer.timer); llc 938 net/llc/llc_conn.c del_timer_sync(&llc->ack_timer.timer); llc 939 net/llc/llc_conn.c del_timer_sync(&llc->rej_sent_timer.timer); llc 940 net/llc/llc_conn.c del_timer_sync(&llc->busy_state_timer.timer); llc 942 net/llc/llc_conn.c del_timer(&llc->pf_cycle_timer.timer); llc 943 net/llc/llc_conn.c del_timer(&llc->ack_timer.timer); llc 944 net/llc/llc_conn.c del_timer(&llc->rej_sent_timer.timer); llc 945 net/llc/llc_conn.c del_timer(&llc->busy_state_timer.timer); llc 948 net/llc/llc_conn.c llc->ack_must_be_send = 0; llc 949 net/llc/llc_conn.c llc->ack_pf = 0; llc 960 net/llc/llc_conn.c struct llc_sock *llc = llc_sk(sk); llc 962 net/llc/llc_conn.c llc->state = LLC_CONN_OUT_OF_SVC; llc 967 net/llc/llc_conn.c skb_queue_len(&llc->pdu_unack_q), llc 972 net/llc/llc_conn.c skb_queue_purge(&llc->pdu_unack_q); llc 997 net/llc/llc_conn.c struct llc_sock *llc = llc_sk(sk); llc 1001 net/llc/llc_conn.c skb_queue_purge(&llc->pdu_unack_q); llc 1002 net/llc/llc_conn.c llc->remote_busy_flag = 0; llc 1003 net/llc/llc_conn.c llc->cause_flag = 0; llc 1004 net/llc/llc_conn.c llc->retry_count = 0; llc 1006 net/llc/llc_conn.c llc->f_flag = 0; llc 1007 net/llc/llc_conn.c llc->s_flag = 0; llc 1008 net/llc/llc_conn.c llc->ack_pf = 0; llc 1009 net/llc/llc_conn.c llc->first_pdu_Ns = 0; llc 1010 net/llc/llc_conn.c llc->ack_must_be_send = 0; llc 1011 net/llc/llc_conn.c llc->dec_step = 1; llc 1012 net/llc/llc_conn.c llc->inc_cntr = 2; llc 1013 net/llc/llc_conn.c llc->dec_cntr = 2; llc 1014 net/llc/llc_conn.c llc->X = 0; llc 1015 net/llc/llc_conn.c llc->failed_data_req = 0 ; llc 1016 net/llc/llc_conn.c llc->last_nr = 0; llc 48 net/llc/llc_if.c struct llc_sock *llc = llc_sk(sk); llc 50 net/llc/llc_if.c if (unlikely(llc->state == LLC_CONN_STATE_ADM)) llc 53 net/llc/llc_if.c if (unlikely(llc_data_accept_state(llc->state) || /* data_conn_refuse */ llc 54 net/llc/llc_if.c llc->p_flag)) { llc 55 net/llc/llc_if.c llc->failed_data_req = 1; llc 62 net/llc/llc_if.c skb->dev = llc->dev; llc 88 net/llc/llc_if.c struct llc_sock *llc = llc_sk(sk); llc 91 net/llc/llc_if.c laddr.lsap = llc->sap->laddr.lsap; llc 95 net/llc/llc_if.c existing = llc_lookup_established(llc->sap, &daddr, &laddr); llc 83 net/llc/llc_proc.c struct llc_sock *llc; llc 97 net/llc/llc_proc.c llc = llc_sk(sk); llc 98 net/llc/llc_proc.c sap = llc->sap; llc 99 net/llc/llc_proc.c sk = laddr_hash_next(sap, llc_sk_laddr_hashfn(sap, &llc->laddr)); llc 118 net/llc/llc_proc.c struct llc_sock *llc = llc_sk(sk); llc 119 net/llc/llc_proc.c struct llc_sap *sap = llc->sap; llc 129 net/llc/llc_proc.c struct llc_sock *llc; llc 137 net/llc/llc_proc.c llc = llc_sk(sk); llc 142 net/llc/llc_proc.c if (llc->dev) llc 143 net/llc/llc_proc.c llc_ui_format_mac(seq, llc->dev->dev_addr); llc 148 net/llc/llc_proc.c seq_printf(seq, "@%02X ", llc->sap->laddr.lsap); llc 149 net/llc/llc_proc.c llc_ui_format_mac(seq, llc->daddr.mac); llc 150 net/llc/llc_proc.c seq_printf(seq, "@%02X %8d %8d %2d %3u %4d\n", llc->daddr.lsap, llc 152 net/llc/llc_proc.c sk_rmem_alloc_get(sk) - llc->copied_seq, llc 155 net/llc/llc_proc.c llc->link); llc 178 net/llc/llc_proc.c struct llc_sock *llc; llc 187 net/llc/llc_proc.c llc = llc_sk(sk); llc 191 net/llc/llc_proc.c llc->daddr.lsap, llc_conn_state_names[llc->state], llc 192 net/llc/llc_proc.c llc->retry_count, llc->k, llc->rw, llc->p_flag, llc->f_flag, llc 193 net/llc/llc_proc.c llc->s_flag, llc->data_flag, llc->remote_busy_flag, llc 194 net/llc/llc_proc.c llc->cause_flag, timer_pending(&llc->ack_timer.timer), llc 195 net/llc/llc_proc.c timer_pending(&llc->pf_cycle_timer.timer), llc 196 net/llc/llc_proc.c timer_pending(&llc->rej_sent_timer.timer), llc 197 net/llc/llc_proc.c timer_pending(&llc->busy_state_timer.timer), llc 297 net/llc/llc_sap.c struct llc_sock *llc = llc_sk(sk); llc 300 net/llc/llc_sap.c llc->laddr.lsap == laddr->lsap && llc 301 net/llc/llc_sap.c ether_addr_equal(llc->laddr.mac, laddr->mac); llc 353 net/llc/llc_sap.c struct llc_sock *llc = llc_sk(sk); llc 356 net/llc/llc_sap.c llc->laddr.lsap == laddr->lsap && llc 357 net/llc/llc_sap.c llc->dev == skb->dev; llc 393 net/llc/llc_sap.c struct llc_sock *llc; llc 397 net/llc/llc_sap.c hlist_for_each_entry(llc, dev_hb, dev_hash_node) { llc 399 net/llc/llc_sap.c sk = &llc->sk; llc 99 net/nfc/hci/core.c r = nfc_llc_xmit_from_hci(hdev->llc, skb); llc 590 net/nfc/hci/core.c r = nfc_llc_start(hdev->llc); llc 616 net/nfc/hci/core.c nfc_llc_stop(hdev->llc); llc 629 net/nfc/hci/core.c nfc_llc_stop(hdev->llc); llc 971 net/nfc/hci/core.c hdev->llc = nfc_llc_allocate(llc_name, hdev, ops->xmit, llc 974 net/nfc/hci/core.c if (hdev->llc == NULL) { llc 983 net/nfc/hci/core.c nfc_llc_free(hdev->llc); llc 1005 net/nfc/hci/core.c nfc_llc_free(hdev->llc); llc 1087 net/nfc/hci/core.c nfc_llc_rcv_from_drv(hdev->llc, skb); llc 96 net/nfc/hci/llc.c struct nfc_llc *llc; llc 102 net/nfc/hci/llc.c llc = kzalloc(sizeof(struct nfc_llc), GFP_KERNEL); llc 103 net/nfc/hci/llc.c if (llc == NULL) llc 106 net/nfc/hci/llc.c llc->data = llc_engine->ops->init(hdev, xmit_to_drv, rcv_to_hci, llc 108 net/nfc/hci/llc.c &llc->rx_headroom, &llc->rx_tailroom, llc 110 net/nfc/hci/llc.c if (llc->data == NULL) { llc 111 net/nfc/hci/llc.c kfree(llc); llc 114 net/nfc/hci/llc.c llc->ops = llc_engine->ops; llc 116 net/nfc/hci/llc.c return llc; llc 119 net/nfc/hci/llc.c void nfc_llc_free(struct nfc_llc *llc) llc 121 net/nfc/hci/llc.c llc->ops->deinit(llc); llc 122 net/nfc/hci/llc.c kfree(llc); llc 125 net/nfc/hci/llc.c int nfc_llc_start(struct nfc_llc *llc) llc 127 net/nfc/hci/llc.c return llc->ops->start(llc); llc 131 net/nfc/hci/llc.c int nfc_llc_stop(struct nfc_llc *llc) llc 133 net/nfc/hci/llc.c return llc->ops->stop(llc); llc 137 net/nfc/hci/llc.c void nfc_llc_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb) llc 139 net/nfc/hci/llc.c llc->ops->rcv_from_drv(llc, skb); llc 142 net/nfc/hci/llc.c int nfc_llc_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb) llc 144 net/nfc/hci/llc.c return llc->ops->xmit_from_hci(llc, skb); llc 147 net/nfc/hci/llc.c void *nfc_llc_get_data(struct nfc_llc *llc) llc 149 net/nfc/hci/llc.c return llc->data; llc 20 net/nfc/hci/llc.h void (*deinit) (struct nfc_llc *llc); llc 21 net/nfc/hci/llc.h int (*start) (struct nfc_llc *llc); llc 22 net/nfc/hci/llc.h int (*stop) (struct nfc_llc *llc); llc 23 net/nfc/hci/llc.h void (*rcv_from_drv) (struct nfc_llc *llc, struct sk_buff *skb); llc 24 net/nfc/hci/llc.h int (*xmit_from_hci) (struct nfc_llc *llc, struct sk_buff *skb); llc 40 net/nfc/hci/llc.h void *nfc_llc_get_data(struct nfc_llc *llc); llc 45 net/nfc/hci/llc_nop.c static void llc_nop_deinit(struct nfc_llc *llc) llc 47 net/nfc/hci/llc_nop.c kfree(nfc_llc_get_data(llc)); llc 50 net/nfc/hci/llc_nop.c static int llc_nop_start(struct nfc_llc *llc) llc 55 net/nfc/hci/llc_nop.c static int llc_nop_stop(struct nfc_llc *llc) llc 60 net/nfc/hci/llc_nop.c static void llc_nop_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb) llc 62 net/nfc/hci/llc_nop.c struct llc_nop *llc_nop = nfc_llc_get_data(llc); llc 67 net/nfc/hci/llc_nop.c static int llc_nop_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb) llc 69 net/nfc/hci/llc_nop.c struct llc_nop *llc_nop = nfc_llc_get_data(llc); llc 778 net/nfc/hci/llc_shdlc.c static void llc_shdlc_deinit(struct nfc_llc *llc) llc 780 net/nfc/hci/llc_shdlc.c struct llc_shdlc *shdlc = nfc_llc_get_data(llc); llc 789 net/nfc/hci/llc_shdlc.c static int llc_shdlc_start(struct nfc_llc *llc) llc 791 net/nfc/hci/llc_shdlc.c struct llc_shdlc *shdlc = nfc_llc_get_data(llc); llc 796 net/nfc/hci/llc_shdlc.c static int llc_shdlc_stop(struct nfc_llc *llc) llc 798 net/nfc/hci/llc_shdlc.c struct llc_shdlc *shdlc = nfc_llc_get_data(llc); llc 805 net/nfc/hci/llc_shdlc.c static void llc_shdlc_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb) llc 807 net/nfc/hci/llc_shdlc.c struct llc_shdlc *shdlc = nfc_llc_get_data(llc); llc 812 net/nfc/hci/llc_shdlc.c static int llc_shdlc_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb) llc 814 net/nfc/hci/llc_shdlc.c struct llc_shdlc *shdlc = nfc_llc_get_data(llc); llc 376 net/openvswitch/flow.c struct llc_snap_hdr *llc; llc 391 net/openvswitch/flow.c llc = (struct llc_snap_hdr *) skb->data; llc 392 net/openvswitch/flow.c if (llc->dsap != LLC_SAP_SNAP || llc 393 net/openvswitch/flow.c llc->ssap != LLC_SAP_SNAP || llc 394 net/openvswitch/flow.c (llc->oui[0] | llc->oui[1] | llc->oui[2]) != 0) llc 399 net/openvswitch/flow.c if (eth_proto_is_802_3(llc->ethertype)) llc 400 net/openvswitch/flow.c return llc->ethertype; llc 404 net/smc/smc_llc.c struct smc_llc_msg_confirm_link *llc) llc 410 net/smc/smc_llc.c if (llc->hd.flags & SMC_LLC_FLAG_NO_RMBE_EYEC) llc 415 net/smc/smc_llc.c if (llc->hd.flags & SMC_LLC_FLAG_RESP) { llc 425 net/smc/smc_llc.c link->link_id = llc->link_num; llc 432 net/smc/smc_llc.c struct smc_llc_msg_add_link *llc) llc 436 net/smc/smc_llc.c if (llc->hd.flags & SMC_LLC_FLAG_RESP) { llc 446 net/smc/smc_llc.c smc_llc_prep_add_link(llc, link, llc 451 net/smc/smc_llc.c smc_llc_prep_add_link(llc, link, llc 455 net/smc/smc_llc.c smc_llc_send_message(link, llc, sizeof(*llc)); llc 460 net/smc/smc_llc.c struct smc_llc_msg_del_link *llc) llc 464 net/smc/smc_llc.c if (llc->hd.flags & SMC_LLC_FLAG_RESP) { llc 472 net/smc/smc_llc.c smc_llc_prep_delete_link(llc, link, SMC_LLC_REQ, true); llc 475 net/smc/smc_llc.c smc_llc_prep_delete_link(llc, link, SMC_LLC_RESP, true); llc 477 net/smc/smc_llc.c smc_llc_send_message(link, llc, sizeof(*llc)); llc 483 net/smc/smc_llc.c struct smc_llc_msg_test_link *llc) llc 485 net/smc/smc_llc.c if (llc->hd.flags & SMC_LLC_FLAG_RESP) { llc 489 net/smc/smc_llc.c llc->hd.flags |= SMC_LLC_FLAG_RESP; llc 490 net/smc/smc_llc.c smc_llc_send_message(link, llc, sizeof(*llc)); llc 495 net/smc/smc_llc.c struct smc_llc_msg_confirm_rkey *llc) llc 499 net/smc/smc_llc.c if (llc->hd.flags & SMC_LLC_FLAG_RESP) { llc 500 net/smc/smc_llc.c link->llc_confirm_rkey_rc = llc->hd.flags & llc 505 net/smc/smc_llc.c llc->rtoken[0].rmb_vaddr, llc 506 net/smc/smc_llc.c llc->rtoken[0].rmb_key); llc 510 net/smc/smc_llc.c llc->hd.flags |= SMC_LLC_FLAG_RESP; llc 512 net/smc/smc_llc.c llc->hd.flags |= SMC_LLC_FLAG_RKEY_NEG; llc 513 net/smc/smc_llc.c smc_llc_send_message(link, llc, sizeof(*llc)); llc 518 net/smc/smc_llc.c struct smc_llc_msg_confirm_rkey_cont *llc) llc 520 net/smc/smc_llc.c if (llc->hd.flags & SMC_LLC_FLAG_RESP) { llc 524 net/smc/smc_llc.c llc->hd.flags |= SMC_LLC_FLAG_RESP; llc 525 net/smc/smc_llc.c smc_llc_send_message(link, llc, sizeof(*llc)); llc 530 net/smc/smc_llc.c struct smc_llc_msg_delete_rkey *llc) llc 535 net/smc/smc_llc.c if (llc->hd.flags & SMC_LLC_FLAG_RESP) { llc 536 net/smc/smc_llc.c link->llc_delete_rkey_rc = llc->hd.flags & llc 540 net/smc/smc_llc.c max = min_t(u8, llc->num_rkeys, SMC_LLC_DEL_RKEY_MAX); llc 542 net/smc/smc_llc.c if (smc_rtoken_delete(smc_get_lgr(link), llc->rkey[i])) llc 547 net/smc/smc_llc.c llc->hd.flags |= SMC_LLC_FLAG_RKEY_NEG; llc 548 net/smc/smc_llc.c llc->err_mask = err_mask; llc 551 net/smc/smc_llc.c llc->hd.flags |= SMC_LLC_FLAG_RESP; llc 552 net/smc/smc_llc.c smc_llc_send_message(link, llc, sizeof(*llc)); llc 559 net/smc/smc_llc.c union smc_llc_msg *llc = buf; llc 561 net/smc/smc_llc.c if (wc->byte_len < sizeof(*llc)) llc 563 net/smc/smc_llc.c if (llc->raw.hdr.length != sizeof(*llc)) llc 568 net/smc/smc_llc.c switch (llc->raw.hdr.common.type) { llc 570 net/smc/smc_llc.c smc_llc_rx_test_link(link, &llc->test_link); llc 573 net/smc/smc_llc.c smc_llc_rx_confirm_link(link, &llc->confirm_link); llc 576 net/smc/smc_llc.c smc_llc_rx_add_link(link, &llc->add_link); llc 579 net/smc/smc_llc.c smc_llc_rx_delete_link(link, &llc->delete_link); llc 582 net/smc/smc_llc.c smc_llc_rx_confirm_rkey(link, &llc->confirm_rkey); llc 585 net/smc/smc_llc.c smc_llc_rx_confirm_rkey_cont(link, &llc->confirm_rkey_cont); llc 588 net/smc/smc_llc.c smc_llc_rx_delete_rkey(link, &llc->delete_rkey);