From owner-freebsd-net Thu Jul 5 11:34:31 2001 Delivered-To: freebsd-net@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 3CD7637B407 for ; Thu, 5 Jul 2001 11:34:26 -0700 (PDT) (envelope-from matt-l@pacbell.net) Received: from fire (1Cust75.tnt1.pasadena.ca.da.uu.net [63.28.226.75]) by hawk.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with SMTP id LAA18789; Thu, 5 Jul 2001 11:34:16 -0700 (PDT) Message-ID: <004b01c10580$32d97770$6503c23f@XGforce.com> Reply-To: "matt" From: "matt" To: "Yonatan Bokovza" , References: Subject: Re: IP layer API Date: Thu, 5 Jul 2001 11:26:21 -0700 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Refer to kernel code of icmp. there're examples regarding how to send packet with ip_output(). ====================================== WWW.XGFORCE.COM The Next Generation Load Balance and Fail Safe Server Clustering Software for the Internet. ====================================== ----- Original Message ----- From: Yonatan Bokovza To: Sent: Thursday, July 05, 2001 2:33 AM Subject: IP layer API > Hi, > How can I send/receive packets at the IP layer? > I read many sockets tutorials, including the > one at the dev-handbook, but they only deal > with higher level of protocols (TCP/UDP). I > need to send out packet where I can control > it's ip_checksum, ip_frag etc, and read back > the reply. > I prefer not to use libnet for that. > > TIA, > Yonatan > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message