Home
last modified time | relevance | path

Searched refs:tlv_type (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/net/tipc/
Dconfig.c61 int tipc_cfg_append_tlv(struct sk_buff *buf, int tlv_type, in tipc_cfg_append_tlv() argument
70 tlv->tlv_type = htons(tlv_type); in tipc_cfg_append_tlv()
77 static struct sk_buff *tipc_cfg_reply_unsigned_type(u16 tlv_type, u32 value) in tipc_cfg_reply_unsigned_type() argument
85 tipc_cfg_append_tlv(buf, tlv_type, &value_net, in tipc_cfg_reply_unsigned_type()
96 struct sk_buff *tipc_cfg_reply_string_type(u16 tlv_type, char *string) in tipc_cfg_reply_string_type() argument
103 tipc_cfg_append_tlv(buf, tlv_type, string, string_len); in tipc_cfg_reply_string_type()
Dconfig.h45 int tipc_cfg_append_tlv(struct sk_buff *buf, int tlv_type,
47 struct sk_buff *tipc_cfg_reply_string_type(u16 tlv_type, char *string);
/linux-2.6.39/include/linux/
Dtipc_config.h248 __be16 tlv_type; /* TLV identifier */ member
276 (ntohs(((struct tlv_desc *)tlv)->tlv_type) == exp_type); in TLV_CHECK()
286 tlv_ptr->tlv_type = htons(type); in TLV_SET()
/linux-2.6.39/drivers/net/wireless/libertas/
Ddebugfs.c207 static void *lbs_tlv_find(uint16_t tlv_type, const uint8_t *tlv, uint16_t size) in lbs_tlv_find() argument
217 if (tlv_h->type == cpu_to_le16(tlv_type)) in lbs_tlv_find()
227 static ssize_t lbs_threshold_read(uint16_t tlv_type, uint16_t event_mask, in lbs_threshold_read() argument
258 got = lbs_tlv_find(tlv_type, subscribed->tlv, sizeof(subscribed->tlv)); in lbs_threshold_read()
279 static ssize_t lbs_threshold_write(uint16_t tlv_type, uint16_t event_mask, in lbs_threshold_write() argument
333 tlv->header.type = cpu_to_le16(tlv_type); in lbs_threshold_write()
336 if (tlv_type != TLV_TYPE_BCNMISS) in lbs_threshold_write()
/linux-2.6.39/drivers/net/wimax/i2400m/
Dcontrol.c123 enum i2400m_tlv tlv_type, ssize_t tlv_size) in i2400m_tlv_match() argument
125 if (le16_to_cpu(tlv->type) != tlv_type) /* Not our type? skip */ in i2400m_tlv_match()
132 tlv_type, size, tlv_size); in i2400m_tlv_match()
225 enum i2400m_tlv tlv_type, ssize_t tlv_size) in i2400m_tlv_find() argument
231 match = i2400m_tlv_match(tlv, tlv_type, tlv_size); in i2400m_tlv_find()
237 tlv_type, match, tlv_size); in i2400m_tlv_find()
/linux-2.6.39/drivers/net/bonding/
Dbond_3ad.h148 u8 tlv_type; // = 0x01 (marker information) member
Dbond_3ad.c1781 marker.tlv_type = AD_MARKER_INFORMATION_SUBTYPE;
1821 marker.tlv_type = AD_MARKER_RESPONSE_SUBTYPE; in ad_marker_info_received()
2218 switch (((struct bond_marker *)lacpdu)->tlv_type) { in bond_3ad_rx_indication()
/linux-2.6.39/drivers/net/wireless/iwlwifi/
Diwl-agn.c1526 enum iwl_ucode_tlv_type tlv_type; in iwlagn_load_firmware() local
1570 tlv_type = le16_to_cpu(tlv->type); in iwlagn_load_firmware()
1590 switch (tlv_type) { in iwlagn_load_firmware()
1670 IWL_WARN(priv, "unknown TLV: %d\n", tlv_type); in iwlagn_load_firmware()
1684 IWL_ERR(priv, "TLV %d has invalid size: %u\n", tlv_type, tlv_len); in iwlagn_load_firmware()