site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btopenworld.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:Content-Type:Content-Transfer-Encoding:Subject:Date:Message-Id:To:Mime-Version:X-Mailer; b=AeGXRg32xEcVzcbeEhaaAdGniSno+UTHpeAmMobQBU0CG11IKeknv5tTGIf6rPSlXVJfr5AtO1h2tsoC/fsyGDb9GJNmsxhLhsFgy+HPWuONxJPcRBcRGtYcBmtXQsTR+z9PEK2k+m4OZZKSDQh7LE6sQGMoZ8rgm43VK/MV2yg= ; Hi, Thanks for any help. Simon. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... I wasn't entirely sure if this message would be better in the networking list or this one, but since it is a kernel question I decided on this one. I've been reading the kernel programming guide and the NKE guide with the intention of adding support in Mac OS X for a network protocol which is built on top of UDP. But having done this I am little confused about something. From what I have read it sounds like a protocol plumber is what I am after. So I did some reading and immediately hit a problem, for instance proto_register_plumber() takes a proto_family_t as its first argument which from reading the description in the reference is a u_int32_t and relates to the protocol family your functions will handle. Yet I can't find where the protocol is actually defined in the headers. I've looking in net/kpi_interface.h net/ kpi_interfacefilters.h and net/kpi_protocol.h which seem to be the relevant headers but I have had no luck. From reading some of the comments though it seems that 0 means pass all packets from any protocol family to the protocol plumber and I assume 1 is either TCP or UDP but it doesn't say which one is which. Can someone point me to the right header file or page on ADC as I've been looking for ages now. This email sent to site_archiver@lists.apple.com
participants (1)
-
Simon Connah