Searched refs:tlv (Results 1 – 3 of 3) sorted by relevance
86 u8 *tlv; in build_ACreateNCOReq() local95 tlv = (u8 *)skb_put(skb, 3); in build_ACreateNCOReq()96 *tlv = PAR_NCOType; in build_ACreateNCOReq()97 *(tlv+1) = 1; in build_ACreateNCOReq()98 *(tlv+2) = 5; /* mistery value... */ in build_ACreateNCOReq()100 tlv = (u8 *)skb_put(skb, 4); in build_ACreateNCOReq()101 *tlv = PAR_U3Protocol; in build_ACreateNCOReq()102 *(tlv+1) = 2; in build_ACreateNCOReq()103 *(tlv+2) = 4; /* no level 3 protocol */ in build_ACreateNCOReq()104 *(tlv+3) = 1; /* HDLC in level 2 */ in build_ACreateNCOReq()[all …]
1295 uint8_t tlv[4 + 1 + 1 + 1 + ATM_ESA_LEN]; in set_mpc_ctrl_addr_rcvd() local1297 tlv[0] = 00; tlv[1] = 0xa0; tlv[2] = 0x3e; tlv[3] = 0x2a; /* type */ in set_mpc_ctrl_addr_rcvd()1298 tlv[4] = 1 + 1 + ATM_ESA_LEN; /* length */ in set_mpc_ctrl_addr_rcvd()1299 tlv[5] = 0x02; /* MPOA client */ in set_mpc_ctrl_addr_rcvd()1300 tlv[6] = 0x00; /* number of MPS MAC addresses */ in set_mpc_ctrl_addr_rcvd()1302 memcpy(&tlv[7], mesg->MPS_ctrl, ATM_ESA_LEN); /* MPC ctrl ATM addr */ in set_mpc_ctrl_addr_rcvd()1307 for (i = 7; i < sizeof(tlv); i++) in set_mpc_ctrl_addr_rcvd()1308 dprintk("%02x ", tlv[i]); in set_mpc_ctrl_addr_rcvd()1313 retval = priv->lane2_ops->associate_req(mpc->dev, mpc->dev->dev_addr, tlv, sizeof(tlv)); in set_mpc_ctrl_addr_rcvd()
52 struct tlv { /* LANE2: Template tlv struct for accessing */ struct