Re: [Linuxptp-devel] [PATCHv5 05/12] rtnl: add function rtnl_get_ts_label to get interface ts_label
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2017-10-09 11:14:14
|
On Sat, Sep 30, 2017 at 04:25:13PM +0800, Hangbin Liu wrote: > @@ -53,4 +55,10 @@ int rtnl_link_status(int fd, char *device, rtnl_callback cb, void *ctx); > */ > int rtnl_open(void); > > +/** > + * Get interface ts_label information > + * @param iface struct interface. > + * @return Zero on success, or -1 on error. > + */ > +int rtnl_get_ts_label(struct interface *iface); Please keep the public methods (functions) in alphabetical order, both in the .h and in the .c files. Thanks, Richard |