Back to index

glibc  2.9
ether_ntoa_r.c File Reference
#include <stdio.h>
#include <netinet/ether.h>
#include <netinet/if_ether.h>

Go to the source code of this file.


char * ether_ntoa_r (const struct ether_addr *addr, char *buf)

Function Documentation

char* ether_ntoa_r ( const struct ether_addr addr,
char *  buf 

Definition at line 26 of file ether_ntoa_r.c.

  sprintf (buf, "%x:%x:%x:%x:%x:%x",
          addr->ether_addr_octet[0], addr->ether_addr_octet[1],
          addr->ether_addr_octet[2], addr->ether_addr_octet[3],
          addr->ether_addr_octet[4], addr->ether_addr_octet[5]);
  return buf;

Here is the caller graph for this function: