• Home
  • Raw
  • Download

Lines Matching refs:lc

707 				struct tipc_link_config *lc)  in __tipc_add_link_prop()  argument
711 return nla_put_u32(skb, TIPC_NLA_PROP_PRIO, ntohl(lc->value)); in __tipc_add_link_prop()
713 return nla_put_u32(skb, TIPC_NLA_PROP_TOL, ntohl(lc->value)); in __tipc_add_link_prop()
715 return nla_put_u32(skb, TIPC_NLA_PROP_WIN, ntohl(lc->value)); in __tipc_add_link_prop()
726 struct tipc_link_config *lc; in tipc_nl_compat_media_set() local
728 lc = (struct tipc_link_config *)TLV_DATA(msg->req); in tipc_nl_compat_media_set()
734 if (nla_put_string(skb, TIPC_NLA_MEDIA_NAME, lc->name)) in tipc_nl_compat_media_set()
741 __tipc_add_link_prop(skb, msg, lc); in tipc_nl_compat_media_set()
753 struct tipc_link_config *lc; in tipc_nl_compat_bearer_set() local
755 lc = (struct tipc_link_config *)TLV_DATA(msg->req); in tipc_nl_compat_bearer_set()
761 if (nla_put_string(skb, TIPC_NLA_BEARER_NAME, lc->name)) in tipc_nl_compat_bearer_set()
768 __tipc_add_link_prop(skb, msg, lc); in tipc_nl_compat_bearer_set()
780 struct tipc_link_config *lc; in __tipc_nl_compat_link_set() local
782 lc = (struct tipc_link_config *)TLV_DATA(msg->req); in __tipc_nl_compat_link_set()
788 if (nla_put_string(skb, TIPC_NLA_LINK_NAME, lc->name)) in __tipc_nl_compat_link_set()
795 __tipc_add_link_prop(skb, msg, lc); in __tipc_nl_compat_link_set()
806 struct tipc_link_config *lc; in tipc_nl_compat_link_set() local
811 lc = (struct tipc_link_config *)TLV_DATA(msg->req); in tipc_nl_compat_link_set()
819 if (!string_is_terminated(lc->name, len)) in tipc_nl_compat_link_set()
822 media = tipc_media_find(lc->name); in tipc_nl_compat_link_set()
828 bearer = tipc_bearer_find(msg->net, lc->name); in tipc_nl_compat_link_set()