Differences between current version and predecessor to the previous major change of SIOCSIFHWADDR.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Tuesday, December 16, 2008 12:04:51 pm | by AlexGordeev | |
Older page: | version 1 | Last edited on Sunday, March 16, 2003 7:26:59 pm | by PerryLorier | Revert |
@@ -3,8 +3,9 @@
Sets the interface hardware address.
!!EXAMPLE
+<verbatim>
#include <sys/types.h> /* for socket(2) and related bits and pieces */
#include <sys/socket.h> /* for socket(2) */
#include <net/if.h> /* for struct ifreq */
#include <net/if_arp.h> /* for ARPHRD_ETHER */
@@ -42,4 +43,5 @@
/* we're out of here! */
return 0;
}
+</verbatim>