/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/accel-pptp/src/pppd/plugins/pppol2tp/ |
H A D | openl2tp.c | 112 struct openl2tp_event_tlv *tlv; local 131 tlv = (void *) &msg->msg_data[msg->msg_len]; 132 tlv->tlv_type = OPENL2TP_TLV_TYPE_TUNNEL_ID; 133 tlv->tlv_len = sizeof(tid); 134 memcpy(&tlv->tlv_value[0], &tid, tlv->tlv_len); 135 msg->msg_len += sizeof(*tlv) + ALIGN32(tlv->tlv_len); 137 tlv = (void *) &msg->msg_data[msg->msg_len]; 138 tlv 173 struct openl2tp_event_tlv *tlv; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/pppd/pppd/plugins/pppol2tp/ |
H A D | openl2tp.c | 112 struct openl2tp_event_tlv *tlv; local 131 tlv = (void *) &msg->msg_data[msg->msg_len]; 132 tlv->tlv_type = OPENL2TP_TLV_TYPE_TUNNEL_ID; 133 tlv->tlv_len = sizeof(tid); 134 memcpy(&tlv->tlv_value[0], &tid, tlv->tlv_len); 135 msg->msg_len += sizeof(*tlv) + ALIGN32(tlv->tlv_len); 137 tlv = (void *) &msg->msg_data[msg->msg_len]; 138 tlv 173 struct openl2tp_event_tlv *tlv; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/accel-pptp/src/pppd/plugins/pppol2tp/ |
H A D | openl2tp.c | 112 struct openl2tp_event_tlv *tlv; local 131 tlv = (void *) &msg->msg_data[msg->msg_len]; 132 tlv->tlv_type = OPENL2TP_TLV_TYPE_TUNNEL_ID; 133 tlv->tlv_len = sizeof(tid); 134 memcpy(&tlv->tlv_value[0], &tid, tlv->tlv_len); 135 msg->msg_len += sizeof(*tlv) + ALIGN32(tlv->tlv_len); 137 tlv = (void *) &msg->msg_data[msg->msg_len]; 138 tlv 173 struct openl2tp_event_tlv *tlv; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/accel-pptp/src/pppd/plugins/pppol2tp/ |
H A D | openl2tp.c | 112 struct openl2tp_event_tlv *tlv; local 131 tlv = (void *) &msg->msg_data[msg->msg_len]; 132 tlv->tlv_type = OPENL2TP_TLV_TYPE_TUNNEL_ID; 133 tlv->tlv_len = sizeof(tid); 134 memcpy(&tlv->tlv_value[0], &tid, tlv->tlv_len); 135 msg->msg_len += sizeof(*tlv) + ALIGN32(tlv->tlv_len); 137 tlv = (void *) &msg->msg_data[msg->msg_len]; 138 tlv 173 struct openl2tp_event_tlv *tlv; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/pppd/pppd/plugins/pppol2tp/ |
H A D | openl2tp.c | 112 struct openl2tp_event_tlv *tlv; local 131 tlv = (void *) &msg->msg_data[msg->msg_len]; 132 tlv->tlv_type = OPENL2TP_TLV_TYPE_TUNNEL_ID; 133 tlv->tlv_len = sizeof(tid); 134 memcpy(&tlv->tlv_value[0], &tid, tlv->tlv_len); 135 msg->msg_len += sizeof(*tlv) + ALIGN32(tlv->tlv_len); 137 tlv = (void *) &msg->msg_data[msg->msg_len]; 138 tlv 173 struct openl2tp_event_tlv *tlv; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/pppd/pppd/plugins/pppol2tp/ |
H A D | openl2tp.c | 112 struct openl2tp_event_tlv *tlv; local 131 tlv = (void *) &msg->msg_data[msg->msg_len]; 132 tlv->tlv_type = OPENL2TP_TLV_TYPE_TUNNEL_ID; 133 tlv->tlv_len = sizeof(tid); 134 memcpy(&tlv->tlv_value[0], &tid, tlv->tlv_len); 135 msg->msg_len += sizeof(*tlv) + ALIGN32(tlv->tlv_len); 137 tlv = (void *) &msg->msg_data[msg->msg_len]; 138 tlv 173 struct openl2tp_event_tlv *tlv; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wpa_supplicant/src/eap_common/ |
H A D | eap_fast_common.c | 182 int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv, argument 189 if (tlv->eap_payload_tlv) { 192 tlv->iresult = EAP_TLV_RESULT_FAILURE; 195 tlv->eap_payload_tlv = pos; 196 tlv->eap_payload_tlv_len = len; 200 if (tlv->result) { 203 tlv->result = EAP_TLV_RESULT_FAILURE; 209 tlv->result = EAP_TLV_RESULT_FAILURE; 212 tlv->result = WPA_GET_BE16(pos); 213 if (tlv [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wpa_supplicant-0.7.3/src/eap_common/ |
H A D | eap_fast_common.c | 182 int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv, argument 189 if (tlv->eap_payload_tlv) { 192 tlv->iresult = EAP_TLV_RESULT_FAILURE; 195 tlv->eap_payload_tlv = pos; 196 tlv->eap_payload_tlv_len = len; 200 if (tlv->result) { 203 tlv->result = EAP_TLV_RESULT_FAILURE; 209 tlv->result = EAP_TLV_RESULT_FAILURE; 212 tlv->result = WPA_GET_BE16(pos); 213 if (tlv [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/wpa_supplicant/src/eap_common/ |
H A D | eap_fast_common.c | 182 int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv, argument 189 if (tlv->eap_payload_tlv) { 192 tlv->iresult = EAP_TLV_RESULT_FAILURE; 195 tlv->eap_payload_tlv = pos; 196 tlv->eap_payload_tlv_len = len; 200 if (tlv->result) { 203 tlv->result = EAP_TLV_RESULT_FAILURE; 209 tlv->result = EAP_TLV_RESULT_FAILURE; 212 tlv->result = WPA_GET_BE16(pos); 213 if (tlv [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/wpa_supplicant-0.7.3/src/eap_common/ |
H A D | eap_fast_common.c | 182 int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv, argument 189 if (tlv->eap_payload_tlv) { 192 tlv->iresult = EAP_TLV_RESULT_FAILURE; 195 tlv->eap_payload_tlv = pos; 196 tlv->eap_payload_tlv_len = len; 200 if (tlv->result) { 203 tlv->result = EAP_TLV_RESULT_FAILURE; 209 tlv->result = EAP_TLV_RESULT_FAILURE; 212 tlv->result = WPA_GET_BE16(pos); 213 if (tlv [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wpa_supplicant/src/eap_common/ |
H A D | eap_fast_common.c | 182 int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv, argument 189 if (tlv->eap_payload_tlv) { 192 tlv->iresult = EAP_TLV_RESULT_FAILURE; 195 tlv->eap_payload_tlv = pos; 196 tlv->eap_payload_tlv_len = len; 200 if (tlv->result) { 203 tlv->result = EAP_TLV_RESULT_FAILURE; 209 tlv->result = EAP_TLV_RESULT_FAILURE; 212 tlv->result = WPA_GET_BE16(pos); 213 if (tlv [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wpa_supplicant-0.7.3/src/eap_common/ |
H A D | eap_fast_common.c | 182 int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv, argument 189 if (tlv->eap_payload_tlv) { 192 tlv->iresult = EAP_TLV_RESULT_FAILURE; 195 tlv->eap_payload_tlv = pos; 196 tlv->eap_payload_tlv_len = len; 200 if (tlv->result) { 203 tlv->result = EAP_TLV_RESULT_FAILURE; 209 tlv->result = EAP_TLV_RESULT_FAILURE; 212 tlv->result = WPA_GET_BE16(pos); 213 if (tlv [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/enic/ |
H A D | vnic_vic.c | 52 struct vic_provinfo_tlv *tlv; local 57 if (ntohl(vp->length) + sizeof(*tlv) + length > 61 tlv = (struct vic_provinfo_tlv *)((u8 *)vp->tlv + 64 tlv->type = htons(type); 65 tlv->length = htons(length); 66 memcpy(tlv->value, value, length); 69 vp->length = htonl(ntohl(vp->length) + sizeof(*tlv) + length);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/enic/ |
H A D | vnic_vic.c | 52 struct vic_provinfo_tlv *tlv; local 57 if (ntohl(vp->length) + sizeof(*tlv) + length > 61 tlv = (struct vic_provinfo_tlv *)((u8 *)vp->tlv + 64 tlv->type = htons(type); 65 tlv->length = htons(length); 66 memcpy(tlv->value, value, length); 69 vp->length = htonl(ntohl(vp->length) + sizeof(*tlv) + length);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/sound/core/ |
H A D | vmaster.c | 15 #include <sound/tlv.h> 38 unsigned int tlv[4]; member in struct:link_master 215 unsigned int __user *tlv) 218 return slave->slave.tlv.c(&slave->slave, op_flag, size, tlv); 263 slave->tlv.c = slave_tlv_cmd; 345 * @tlv: optional TLV int array for dB information 353 * The optional argument @tlv can be used to specify the TLV information 359 const unsigned int *tlv) 387 if (tlv 213 slave_tlv_cmd(struct snd_kcontrol *kcontrol, int op_flag, unsigned int size, unsigned int __user *tlv) argument 358 snd_ctl_make_virtual_master(char *name, const unsigned int *tlv) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/sound/core/ |
H A D | vmaster.c | 15 #include <sound/tlv.h> 38 unsigned int tlv[4]; member in struct:link_master 215 unsigned int __user *tlv) 218 return slave->slave.tlv.c(&slave->slave, op_flag, size, tlv); 263 slave->tlv.c = slave_tlv_cmd; 345 * @tlv: optional TLV int array for dB information 353 * The optional argument @tlv can be used to specify the TLV information 359 const unsigned int *tlv) 387 if (tlv 213 slave_tlv_cmd(struct snd_kcontrol *kcontrol, int op_flag, unsigned int size, unsigned int __user *tlv) argument 358 snd_ctl_make_virtual_master(char *name, const unsigned int *tlv) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/ |
H A D | tipc_config.h | 255 #define TLV_DATA(tlv) ((void *)((char *)(tlv) + TLV_LENGTH(0))) 257 static inline int TLV_OK(const void *tlv, __u16 space) argument 260 * Would also like to check that "tlv" is a multiple of 4, 262 * - Tried doing (!(tlv & (TLV_ALIGNTO-1))), but GCC compiler 264 * - Tried casting "tlv" to integer type, but causes warning about size 269 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space); 272 static inline int TLV_CHECK(const void *tlv, __u16 space, __u16 exp_type) argument 274 return TLV_OK(tlv, space) && 275 (ntohs(((struct tlv_desc *)tlv) 278 TLV_SET(void *tlv, __u16 type, void *data, __u16 len) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/ |
H A D | tipc_config.h | 255 #define TLV_DATA(tlv) ((void *)((char *)(tlv) + TLV_LENGTH(0))) 257 static inline int TLV_OK(const void *tlv, __u16 space) argument 260 * Would also like to check that "tlv" is a multiple of 4, 262 * - Tried doing (!(tlv & (TLV_ALIGNTO-1))), but GCC compiler 264 * - Tried casting "tlv" to integer type, but causes warning about size 269 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space); 272 static inline int TLV_CHECK(const void *tlv, __u16 space, __u16 exp_type) argument 274 return TLV_OK(tlv, space) && 275 (ntohs(((struct tlv_desc *)tlv) 278 TLV_SET(void *tlv, __u16 type, void *data, __u16 len) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/usr/include/linux/ |
H A D | tipc_config.h | 283 #define TLV_DATA(tlv) ((void *)((char *)(tlv) + TLV_LENGTH(0))) 285 static __inline__ int TLV_OK(const void *tlv, __u16 space) argument 288 * Would also like to check that "tlv" is a multiple of 4, 290 * - Tried doing (!(tlv & (TLV_ALIGNTO-1))), but GCC compiler 292 * - Tried casting "tlv" to integer type, but causes warning about size 297 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space); 300 static __inline__ int TLV_CHECK(const void *tlv, __u16 space, __u16 exp_type) argument 302 return TLV_OK(tlv, space) && 303 (ntohs(((struct tlv_desc *)tlv) 306 TLV_SET(void *tlv, __u16 type, void *data, __u16 len) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/arm-brcm-linux-uclibcgnueabi/sysroot/usr/include/linux/ |
H A D | tipc_config.h | 283 #define TLV_DATA(tlv) ((void *)((char *)(tlv) + TLV_LENGTH(0))) 285 static __inline__ int TLV_OK(const void *tlv, __u16 space) argument 288 * Would also like to check that "tlv" is a multiple of 4, 290 * - Tried doing (!(tlv & (TLV_ALIGNTO-1))), but GCC compiler 292 * - Tried casting "tlv" to integer type, but causes warning about size 297 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space); 300 static __inline__ int TLV_CHECK(const void *tlv, __u16 space, __u16 exp_type) argument 302 return TLV_OK(tlv, space) && 303 (ntohs(((struct tlv_desc *)tlv) 306 TLV_SET(void *tlv, __u16 type, void *data, __u16 len) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/arm-linux/sysroot/usr/include/linux/ |
H A D | tipc_config.h | 283 #define TLV_DATA(tlv) ((void *)((char *)(tlv) + TLV_LENGTH(0))) 285 static __inline__ int TLV_OK(const void *tlv, __u16 space) argument 288 * Would also like to check that "tlv" is a multiple of 4, 290 * - Tried doing (!(tlv & (TLV_ALIGNTO-1))), but GCC compiler 292 * - Tried casting "tlv" to integer type, but causes warning about size 297 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space); 300 static __inline__ int TLV_CHECK(const void *tlv, __u16 space, __u16 exp_type) argument 302 return TLV_OK(tlv, space) && 303 (ntohs(((struct tlv_desc *)tlv) 306 TLV_SET(void *tlv, __u16 type, void *data, __u16 len) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/lltdc/src/ |
H A D | tlv.c | 29 #include "tlv.h"
92 printf("writing jumbo-tlv of %d bytes, with %s remaining\n",
142 printf("writing small-tlv of 0 bytes to notify of large-tlv value\n");
179 printf("writing small-tlv of %d bytes\n",num_read+2);
188 printf("writing large-tlv of %d bytes, with %s remaining\n",
227 /* write hdr in Hello-tlv format */
255 /* write hdr in Hello-tlv format */
282 /* write hdr in Hello-tlv format */
310 /* write hdr in Hello-tlv forma 618 tlv_desc_t *tlv = Tlvs; local 640 tlv_write_tlv(tlv_desc_t *tlv, uint8_t *buf, int bytes_free, bool_t isHello, size_t LtlvOffset) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/lltdc/src/ |
H A D | tlv.c | 29 #include "tlv.h"
92 printf("writing jumbo-tlv of %d bytes, with %s remaining\n",
142 printf("writing small-tlv of 0 bytes to notify of large-tlv value\n");
179 printf("writing small-tlv of %d bytes\n",num_read+2);
188 printf("writing large-tlv of %d bytes, with %s remaining\n",
227 /* write hdr in Hello-tlv format */
255 /* write hdr in Hello-tlv format */
282 /* write hdr in Hello-tlv format */
310 /* write hdr in Hello-tlv forma 618 tlv_desc_t *tlv = Tlvs; local 640 tlv_write_tlv(tlv_desc_t *tlv, uint8_t *buf, int bytes_free, bool_t isHello, size_t LtlvOffset) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/lltdc/src/ |
H A D | tlv.c | 29 #include "tlv.h"
92 printf("writing jumbo-tlv of %d bytes, with %s remaining\n",
142 printf("writing small-tlv of 0 bytes to notify of large-tlv value\n");
179 printf("writing small-tlv of %d bytes\n",num_read+2);
188 printf("writing large-tlv of %d bytes, with %s remaining\n",
227 /* write hdr in Hello-tlv format */
255 /* write hdr in Hello-tlv format */
282 /* write hdr in Hello-tlv format */
310 /* write hdr in Hello-tlv forma 618 tlv_desc_t *tlv = Tlvs; local 640 tlv_write_tlv(tlv_desc_t *tlv, uint8_t *buf, int bytes_free, bool_t isHello, size_t LtlvOffset) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/wimax/i2400m/ |
H A D | control.c | 122 ssize_t i2400m_tlv_match(const struct i2400m_tlv_hdr *tlv, argument 125 if (le16_to_cpu(tlv->type) != tlv_type) /* Not our type? skip */ 128 && le16_to_cpu(tlv->length) + sizeof(*tlv) != tlv_size) { 129 size_t size = le16_to_cpu(tlv->length) + sizeof(*tlv); 130 printk(KERN_WARNING "W: tlv type 0x%x mismatched because of " 186 dev_err(dev, "HW BUG? tlv_buf %p [%zu bytes], tlv @%zu: " 194 "tlv type 0x%04x @%zu: " 229 const struct i2400m_tlv_hdr *tlv local 430 i2400m_report_state_parse_tlv(struct i2400m *i2400m, const struct i2400m_tlv_hdr *tlv, const char *tag) argument 483 const struct i2400m_tlv_hdr *tlv; local 849 struct i2400m_tlv_hdr tlv; member in struct:i2400m_cmd_enter_power_save 932 const struct i2400m_tlv_hdr *tlv; local 1014 const struct i2400m_tlv_hdr *tlv; local [all...] |