mbed-os for GR-LYCHEE

Dependents:   mbed-os-example-blinky-gr-lychee GR-Boads_Camera_sample GR-Boards_Audio_Recoder GR-Boads_Camera_DisplayApp ... more

Embed: (wiki syntax)

« Back to documentation index

lwip_netbiosns.c File Reference

lwip_netbiosns.c File Reference

NetBIOS name service responder. More...

Go to the source code of this file.

Functions

static int netbiosns_name_decode (char *name_enc, char *name_dec, int name_dec_len)
 Decode a NetBIOS name (from packet to string)
static int netbiosns_name_encode (char *name_enc, char *name_dec, int name_dec_len)
 Encode a NetBIOS name (from string to packet) - currently unused because we don't ask for names.
static void netbiosns_recv (void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t *addr, u16_t port)
 NetBIOS Name service recv callback.
void netbiosns_init (void)
 Init netbios responder.
void netbiosns_set_name (const char *hostname)
 Set netbios name.
void netbiosns_stop (void)
 Stop netbios responder.

Detailed Description

NetBIOS name service responder.

Definition in file lwip_netbiosns.c.


Function Documentation

static int netbiosns_name_decode ( char *  name_enc,
char *  name_dec,
int  name_dec_len 
) [static]

Decode a NetBIOS name (from packet to string)

Definition at line 149 of file lwip_netbiosns.c.

static int netbiosns_name_encode ( char *  name_enc,
char *  name_dec,
int  name_dec_len 
) [static]

Encode a NetBIOS name (from string to packet) - currently unused because we don't ask for names.

Definition at line 204 of file lwip_netbiosns.c.

static void netbiosns_recv ( void *  arg,
struct udp_pcb upcb,
struct pbuf p,
const ip_addr_t addr,
u16_t  port 
) [static]

NetBIOS Name service recv callback.

Definition at line 254 of file lwip_netbiosns.c.