Return to BSD News archive
Xref: sserve comp.protocols.tcp-ip:28855 comp.unix.programmer:16586 comp.unix.bsd:13775 Newsgroups: comp.protocols.tcp-ip,comp.unix.programmer,comp.unix.bsd Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!gatech!news.ans.net!upsnews.ups.com!casey!nrd1rls From: nrd1rls@nrd.ups.com (Richard Siddall Contractor) Subject: HELP! Setting subnet mask under 4.3BSD Message-ID: <Coo0Ap.4wH@nrd.ups.com> Organization: United Parcel Service X-Newsreader: TIN [version 1.1 PL6] Date: Fri, 22 Apr 1994 14:30:25 GMT Lines: 9 I need to set the subnet mask under an embedded OS that uses the 4.3 BSD sockets API. The OS vendor cannot supply us with an example of how to do this. If anyone has a code sample, it would be greatly appreciated. What we need to know is where to insert the new subnet mask in the ifreq structure passed to the ioctl() call. Thanks.