🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: apana.lists.os.linux.kernel
Article #6

in_cksum

#6
From: loukopoulos klearchos
Date: Sat, 02 Nov 2002 14:51
23 lines
1548 bytes
I am writting a program with raw sockets.
the headers I 've included are:

#include <stdio.h>
#include<stdlib.h>

#include<linux/ip.h>
#include<linux/icmp.h>
#include<netinet/in.h>
#include<sys/types.h>
#include<sys/socket.h>

and I use in_cksum once

when linking I see
undefined reference to `in_cksum'

???????????????????????????????
why ?
where is in_cksum defined ??????


thank U
Technical Details
Message-ID: <aq0vpi$lo8$1@ulysses.noc.ntua.gr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!news-in-sanjose!in.nntp.be!news.grnet.gr!news.ntua.gr!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc5ec,55b7cd706bf74558,start
X-Google-Attributes: gidfc5ec,public
X-Google-Thread: 112ebc,55b7cd706bf74558,start
X-Google-Attributes: gid112ebc,public
X-Google-ArrivalTime: 2002-11-02 08:54:03 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!news-in-sanjose!in.nntp.be!news.grnet.gr!news.ntua.gr!not-for-mail
From: "loukopoulos klearchos" <el99202@mail.ntua.gr>
Newsgroups: apana.lists.os.linux.kernel,cz.comp.linux
Subject: in_cksum
Date: Sat, 2 Nov 2002 06:51:00 -0800
Organization: National Technical University of Athens, Greece
Lines: 25
Message-ID: <aq0vpi$lo8$1@ulysses.noc.ntua.gr>
NNTP-Posting-Host: 147.102.229.18
X-Trace: ulysses.noc.ntua.gr 1036255858 22280 147.102.229.18 (2 Nov 2002 16:50:58 GMT)
X-Complaints-To: usenet@ulysses.noc.ntua.gr
NNTP-Posting-Date: Sat, 2 Nov 2002 16:50:58 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200