RTEMS CPU Kit with SuperCore  4.11.3
Data Structures | Macros | Typedefs | Functions | Variables
rtems_bsdnet.h File Reference
#include <rtems.h>
#include <sys/cpuset.h>
Include dependency graph for rtems_bsdnet.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rtems_bsdnet_ifconfig
 
struct  rtems_bsdnet_config
 
struct  timestamp
 
struct  ntpPacketSmall
 

Macros

#define MBUF_MALLOC_NMBCLUSTERS   (0)
 
#define MBUF_MALLOC_MCLREFCNT   (1)
 
#define MBUF_MALLOC_MBUF   (2)
 

Typedefs

typedef int(* rtems_bsdnet_ntp_callback_t) (struct ntpPacketSmall *packet, int state, void *usr_data)
 

Functions

int rtems_bsdnet_rtrequest (int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **net_nrt)
 
void rtems_bsdnet_show_inet_routes (void)
 
void rtems_bsdnet_show_mbuf_stats (void)
 
void rtems_bsdnet_show_if_stats (void)
 
void rtems_bsdnet_show_ip_stats (void)
 
void rtems_bsdnet_show_icmp_stats (void)
 
void rtems_bsdnet_show_udp_stats (void)
 
void rtems_bsdnet_show_tcp_stats (void)
 
int rtems_bsdnet_initialize_network (void)
 
void rtems_bsdnet_attach (struct rtems_bsdnet_ifconfig *ifconfig)
 
void rtems_bsdnet_detach (struct rtems_bsdnet_ifconfig *ifconfig)
 
int rtems_bsdnet_ifconfig (const char *ifname, uint32_t cmd, void *param)
 
void rtems_bsdnet_do_bootp (void)
 
void rtems_bsdnet_do_bootp_and_rootfs (void)
 
int rtems_bsdnet_get_ntp (int socket, rtems_bsdnet_ntp_callback_t callback, void *usr_data)
 
int rtems_bsdnet_synchronize_ntp (int interval, rtems_task_priority priority)
 
void rtems_bsdnet_malloc_starvation (void)
 
void * rtems_bsdnet_malloc_mbuf (size_t size, int type)
 

Variables

struct in_addr rtems_bsdnet_bootp_server_address
 
char * rtems_bsdnet_bootp_server_name
 
char * rtems_bsdnet_bootp_boot_file_name
 
char * rtems_bsdnet_bootp_cmdline
 
int32_t rtems_bsdnet_timeoffset
 
struct rtems_bsdnet_config rtems_bsdnet_config
 
int rtems_bsdnet_ntp_retry_count
 
int rtems_bsdnet_ntp_timeout_secs
 
int rtems_bsdnet_ntp_bcast_timeout_secs