Searched refs:la (Results 1 – 2 of 2) sorted by relevance
86 struct sockaddr_l2 la; in l2cap_sock_bind() local95 memset(&la, 0, sizeof(la)); in l2cap_sock_bind()96 len = min_t(unsigned int, sizeof(la), alen); in l2cap_sock_bind()97 memcpy(&la, addr, len); in l2cap_sock_bind()99 if (la.l2_cid && la.l2_psm) in l2cap_sock_bind()102 if (!bdaddr_type_is_valid(la.l2_bdaddr_type)) in l2cap_sock_bind()105 if (bdaddr_type_is_le(la.l2_bdaddr_type)) { in l2cap_sock_bind()107 if (la.l2_cid && in l2cap_sock_bind()108 la.l2_cid != cpu_to_le16(L2CAP_CID_ATT)) in l2cap_sock_bind()119 if (la.l2_psm) { in l2cap_sock_bind()[all …]
861 const struct nlattr *la; in get_loss_clg() local864 nla_for_each_nested(la, attr, rem) { in get_loss_clg()865 u16 type = nla_type(la); in get_loss_clg()869 const struct tc_netem_gimodel *gi = nla_data(la); in get_loss_clg()871 if (nla_len(la) < sizeof(struct tc_netem_gimodel)) { in get_loss_clg()888 const struct tc_netem_gemodel *ge = nla_data(la); in get_loss_clg()890 if (nla_len(la) < sizeof(struct tc_netem_gemodel)) { in get_loss_clg()