10 More Discussions You Might Find Interesting
1. Hardware
Can you mix DIMMs in a T6320 (sparc) blade? I have read/heard that the DIMMs in a memory bay must be identical but can you have different size DIMMs installed in the blade?
For instance, can you have 1 4GB DIMM in bay 0, 2 2GB DIMMs in bay 1, 4 1 GB DIMMs in bay 2 and 2 2GB DIMMs in bay 3 for a... (0 Replies)
Discussion started by: bluescreen
0 Replies
2. Solaris
Hi, I can't seem to get Graphs using Report Manager for Memory and Hard Disk. Only CPU is working fine. Following are some screen shots:
- Sun Management Center 4.0
http://img689.imageshack.us/img689/7555/smcu.jpg
- Performance Report
http://img25.imageshack.us/img25/3015/reportdo.jpg
By... (2 Replies)
Discussion started by: Mack1982
2 Replies
3. Solaris
Hi folks, can you please help to print cpu and memory configuration on sun host. (4 Replies)
Discussion started by: ggolub
4 Replies
4. Solaris
Hi,
I recently acquired an old Sun Fire v120 from work. I plan to play around with this at home whilst I'm studying for my SCSA exams. Only problem is it currently has no memory installed. I believe the memory modules required are 168 pin PC133 DIMMs. Unfortunately, the original Sun modules are... (3 Replies)
Discussion started by: skinyana
3 Replies
5. Solaris
Hi, this is my 1st post here, I don't know is it proper or not for the question I have, but I may try ask anyway, since it is question about sun's hw/sw issue...
I have my blade 1000 installed additional memory kits, it was originally 2G memory installed on Group0(Bank 0/2) Dimm slots, I got... (5 Replies)
Discussion started by: netshu
5 Replies
6. Solaris
Hi, I've been a member for a while but have never posted. I have a Sun Blade 100 desktop and I just installed Solaris 10 and it is unbearably slow. I only have 128 Meg of RAM and need to upgrade. I have searched and found many online resources that have RAM, but I was wondering if anyone has... (12 Replies)
Discussion started by: BrewDudeBob
12 Replies
7. Solaris
Hi
I am facing a problem with memory in SunOS 5.9. I just want to check the memory usage. Can anybody suggest me a command that will help me in this regard. (4 Replies)
Discussion started by: rajarsi.ghosh
4 Replies
8. Programming
Hi, I try to marshal a unsigned int and a char * into a buffer, and then unmarshal them later to get them out. I need to put the char * in the front and unsigned int at the end of the buffer. However, my system always give me "BUS ERROR". I am using Sun Sparcs Sloris 2.10.
My code to marshal... (6 Replies)
Discussion started by: nj302
6 Replies
9. Solaris
Hi, I try to marshal a unsigned int and a char * into a buffer, and then unmarshal them later to get them out. I need to put the char * in the front and unsigned int at the end of the buffer. However, my system always give me "BUS ERROR". I am using Sun Sparcs Sloris 2.10.
My code to marshal the... (1 Reply)
Discussion started by: nj302
1 Replies
10. UNIX for Dummies Questions & Answers
I would like to upgrade the memory in my Sun Blade 150 workstation. In reading through Sun's Blade 150 DIMM Installation Guide, it indicates that the memory must be "certified by Sun for the Sun Blade 150 system."
Does anyone know if any SDRAM, PC133 • CL=2 • Unbuffered • ECC • 133MHz • 3.3V ... (2 Replies)
Discussion started by: here2learn
2 Replies
net_aton(3C) net_aton(3C)
NAME
net_aton(), net_ntoa() - network station address string conversion routines
SYNOPSIS
DESCRIPTION
and translate station addresses between hexadecimal, octal or decimal, and binary formats:
converts a hexadecimal, octal, or decimal address to a binary address.
converts a binary address to an
ASCII hexadecimal address.
Both routines are provided in the standard C library and are loaded automatically during compilation.
net_aton Parameters
The following parameters are used by
dstr Pointer to the binary address returned by the function.
sstr Pointer to a null-terminated ASCII form of a station address (Ethernet or IEEE 802.3). This address can be an octal, dec-
imal, or hexadecimal number as used in the C language (in other words, a leading 0x or 0X implies hexadecimal; a leading 0
implies octal; otherwise, the number is interpreted as decimal).
size Length of the binary address to be returned in dstr. The length is 6 for Ethernet/IEEE 802.3 addresses.
net_ntoa Parameters
converts a 48-bit binary station address to its ASCII hexadecimal equivalent. The following parameters are used by
dstr Pointer to the ASCII hexadecimal address returned by the function. dstr is null-terminated and padded with leading zeroes
if necessary. dstr must be at least (2 x size + 3) bytes long to accommodate the size of the converted address.
sstr Pointer to a station address in its binary form.
size Length of sstr.
RETURN VALUE
and return NULL if any error occurs.
EXAMPLES
#include <netio.h>
#define destination_addr "0x00DD0002AD00"
...
struct fis arg;
char str[16];
...
(void) net_aton(arg.value.s, destination_addr, 6);
/* arg.value.s = "<48-bit binary value>" */
(void) net_ntoa(str, arg.value.s, 6);
/* str = "0x00DD0002AD00" */
AUTHOR
was developed by HP.
SEE ALSO
thread_safety(5), lan(7).
net_aton(3C)