42 extern uint16_t uip_slen;
51 uip_udp_packet_send(
struct uip_udp_conn *c,
const void *data,
int len)
54 if(data != NULL && len <= (
UIP_BUFSIZE - UIP_IPUDPH_LEN)) {
57 memmove(&
uip_buf[UIP_IPUDPH_LEN], data, len);
60 #if UIP_IPV6_MULTICAST 67 #if NETSTACK_CONF_WITH_IPV6 80 uip_udp_packet_sendto(
struct uip_udp_conn *c,
const void *data,
int len,
81 const uip_ipaddr_t *toaddr, uint16_t toport)
95 uip_udp_packet_send(c, data, len);
uint8_t tcpip_output(const uip_lladdr_t *a)
Output packet to layer 2 The eventual parameter is the MAC address of the destination.
#define uip_is_addr_mcast_routable(a)
is address a routable multicast address.
uint16_t uip_len
The length of the packet in the uip_buf buffer.
void tcpip_ipv6_output(void)
This function does address resolution and then calls tcpip_output.
void uip_process(uint8_t flag)
process the options within a hop by hop or destination option header
#define UIP_BUFSIZE
The size of the uIP packet buffer.
Header file for module for sending UDP packets through uIP.
This header file contains configuration directives for uIPv6 multicast support.
#define uip_buf
Macro to access uip_aligned_buf as an array of bytes.
#define uip_ipaddr_copy(dest, src)
Copy an IP address from one place to another.
void(* out)(void)
Process an outgoing datagram with a multicast IPv6 destination address.
uip_ipaddr_t ripaddr
The IP address of the remote peer.
uint16_t rport
The remote port number in network byte order.
Representation of a uIP UDP connection.