6 #ifndef _RTEMS_BSDNET_H 7 #define _RTEMS_BSDNET_H 14 #include <sys/cpuset.h> 22 #if defined(__INSIDE_RTEMS_BSD_TCPIP_STACK__) 35 #define __BSD_VISIBLE 1 41 extern struct in_addr rtems_bsdnet_bootp_server_address;
42 extern char *rtems_bsdnet_bootp_server_name;
43 extern char *rtems_bsdnet_bootp_boot_file_name;
44 extern char *rtems_bsdnet_bootp_cmdline;
45 extern int32_t rtems_bsdnet_timeoffset;
52 int rtems_bsdnet_rtrequest (
63 void rtems_bsdnet_show_inet_routes (
void);
64 void rtems_bsdnet_show_mbuf_stats (
void);
65 void rtems_bsdnet_show_if_stats (
void);
66 void rtems_bsdnet_show_ip_stats (
void);
67 void rtems_bsdnet_show_icmp_stats (
void);
68 void rtems_bsdnet_show_udp_stats (
void);
69 void rtems_bsdnet_show_tcp_stats (
void);
99 void *hardware_address;
105 int ignore_broadcast;
145 unsigned long mbuf_bytecount;
146 unsigned long mbuf_cluster_bytecount;
151 char *name_server[3];
164 unsigned long sb_efficiency;
173 unsigned long udp_tx_buf_size;
174 unsigned long udp_rx_buf_size;
183 unsigned long tcp_tx_buf_size;
184 unsigned long tcp_rx_buf_size;
190 const cpu_set_t *network_task_cpuset;
191 size_t network_task_cpuset_size;
208 int rtems_bsdnet_initialize_network (
void);
224 void rtems_bsdnet_do_bootp (
void);
225 void rtems_bsdnet_do_bootp_and_rootfs (
void);
228 extern int rtems_bsdnet_ntp_retry_count;
229 extern int rtems_bsdnet_ntp_timeout_secs;
230 extern int rtems_bsdnet_ntp_bcast_timeout_secs;
242 int8_t poll_interval;
245 int32_t root_dispersion;
246 char reference_identifier[4];
276 typedef int (*rtems_bsdnet_ntp_callback_t)(
292 int rtems_bsdnet_get_ntp(
int socket, rtems_bsdnet_ntp_callback_t callback,
void *usr_data);
301 void rtems_bsdnet_malloc_starvation(
void);
309 void* rtems_bsdnet_malloc_mbuf(
size_t size,
int type);
315 #define MBUF_MALLOC_NMBCLUSTERS (0) 316 #define MBUF_MALLOC_MCLREFCNT (1) 317 #define MBUF_MALLOC_MBUF (2) Definition: socketvar.h:49
Definition: rtems_bsdnet.h:239
Priority_Control rtems_task_priority
Define the type for an RTEMS API task priority.
Definition: tasks.h:79
Definition: rtems_bsdnet.h:74
Definition: rtems_bsdnet.h:127
Definition: rtems_bsdnet.h:233