Changeset 2253814 in rtems-libbsd


Ignore:
Timestamp:
Jan 23, 2018, 10:52:50 AM (17 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
eeb3fd5d9b07ac9a2e280cff60a1b762bd273a8d, 1e989998de954bef51e6c19cc3d64d39f32100aa
Children:
fe05886
Parents:
13c4093
git-author:
Sebastian Huber <sebastian.huber@…> (01/23/18 10:52:50)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/23/18 13:50:36)
Message:

Add rtems_bsd_ifconfig()

Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • libbsd.py

    r13c4093 r2253814  
    7070            'rtems/rtems-bsd-get-task-priority.c',
    7171            'rtems/rtems-bsd-get-task-stack-size.c',
     72            'rtems/rtems-bsd-ifconfig.c',
    7273            'rtems/rtems-bsd-ifconfig-lo0.c',
    7374            'rtems/rtems-bsd-init-dhcp.c',
  • libbsd_waf.py

    r13c4093 r2253814  
    23142314              'rtemsbsd/rtems/rtems-bsd-get-task-stack-size.c',
    23152315              'rtemsbsd/rtems/rtems-bsd-ifconfig-lo0.c',
     2316              'rtemsbsd/rtems/rtems-bsd-ifconfig.c',
    23162317              'rtemsbsd/rtems/rtems-bsd-init-dhcp.c',
    23172318              'rtemsbsd/rtems/rtems-bsd-rc-conf-net.c',
  • rtemsbsd/include/rtems/bsd/bsd.h

    r13c4093 r2253814  
    122122
    123123/**
     124 * @brief Configures an interface.
     125 *
     126 * In case addr_gateway is not NULL, then it will be used as the default
     127 * gateway.
     128 *
     129 * @param[in] ifname The interface name.
     130 * @param[in] addr_self The address of the interface.
     131 * @param[in] netmask The sub-network mask.
     132 * @param[in] addr_gateway The address of the gateway.  May be NULL.
     133 *
     134 * @return Returns an exit code, see also <sysexits.h>.
     135 */
     136int rtems_bsd_ifconfig(const char *ifname, const char *addr_self,
     137    const char *netmask, const char *addr_gateway);
     138
     139/**
    124140 * @brief Returns the initial priority for a task specified by its name.
    125141 *
Note: See TracChangeset for help on using the changeset viewer.