lkml.org 
[lkml]   [2004]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: description of struct sockaddr
>Hello
>
>man netdevice talks about struct sockaddr, but neither describes it,
>nor provides a link to descriptio, nor the "SEE ALSO" items
>(ip(7), proc(7), rnetlink(7)) provide the necessary information.
>
>"The hardware address is specified in a struct sockaddr".

I don't think so. The hardware address is, well, specific to the hardware (like
Ethernet, for example). IP/TCP/UDP however is not limited to Ethernet. And
'sockaddr' clearly is something that does not deal with hardware.

>Where is struct sockaddr specified?

Somewhere in the depths of /usr/include and your linux kernel tree.
Oh yeah, be warned, glibc is a #define hell when you're looking for sockaddr
stuff.


Jan Engelhardt
--
Gesellschaft für Wissenschaftliche Datenverarbeitung
Am Fassberg, 37077 Göttingen, www.gwdg.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.105 / U:0.244 seconds]
©2003-2014 Jasper Spaans. Advertise on this site