Commit Graph
149 Commits
Author SHA1 Message Date
Archie Cobbs 290f9c1ca1 MFC: don't reference a node after we dropped a reference to it. 2001-04-21 20:43:13 +00:00
Archie Cobbs 9ea986746a MFC: fix potential crash caused by packets with bogus ACK's.
Approved by:	jkh
2001-03-08 22:34:49 +00:00
Julian Elischer c118ebb0f4 MFC some -current compatibility macros.
Approved by: jkh

These macros are not used by -stable code, but including
them allows new nodes in -current to be more easily
backported by users of 4.3 should they need them.
2001-03-08 05:08:25 +00:00
cvs2svn 9b901cc90c This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2001-02-26 07:13:02 +00:00
Archie Cobbs adae01ddd1 MFC: fix an erroneous comment. 2001-02-16 17:37:48 +00:00
Julian Elischer 9f3df5bf86 Shuffle brackets (should be same meaning as last) 2001-02-05 16:01:30 +00:00
Julian Elischer 73356596e2 oops left an extra ')' in there 2001-02-05 15:47:13 +00:00
Julian Elischer d88f71c5e9 reverse last commit.. I was on something... (gotta get a better suppler!..)
Obviously on the same stuff: Archie
2001-02-05 07:10:07 +00:00
Julian Elischer 354cb077ee Fix bug introduced recently in node name lookup.
Submitted by: [email protected]
2001-02-05 07:01:23 +00:00
Julian Elischer 3784f19592 MFC: Don't dereferrence freed structures. 2001-02-02 11:59:27 +00:00
Julian Elischer 9703cd7660 MFC 1.40->1.41 Don't pagefault when a module load fails. 2001-01-26 11:51:35 +00:00
Julian Elischer 567d052125 Swap egress hooks for packets entering on monitor hooks 2001-01-26 11:36:30 +00:00
Julian Elischer 55a784280f Don't list zombie nodes in reports.
Submitted by: [email protected] (Archie Cobbs)
2001-01-10 23:31:49 +00:00
Julian Elischer 3d2c2f21dc Fix memory leak 2001-01-10 07:16:09 +00:00
Poul-Henning Kamp 8d1e8e0f65 MFC: add the NGM_TEXT_CONFIG primitive. 2001-01-09 06:52:25 +00:00
Julian Elischer b0a55ddfaa Missing FREE(); 2001-01-09 00:52:45 +00:00
Archie Cobbs de8d60e380 MFC: fix bug in parse type for struct ng_one2many_config. 2000-12-15 17:56:03 +00:00
Archie Cobbs 2aaa6fe5b9 MFC: fix promiscuous mode reset on last hook disconnect bug. 2000-12-12 23:15:23 +00:00
Julian Elischer 3938679372 MFC: 1.26
protect reference counts during queue operations with spl...
2000-12-04 22:08:50 +00:00
Archie Cobbs 96003f3bfe MFC: new netgraph node type ng_one2many(4).
Approved by:	jkh
2000-11-16 17:28:32 +00:00
cvs2svn 02effd650a This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-11-16 05:58:34 +00:00
Julian Elischer 0e3f021f45 MFC: 1.30-1.31
Swap the order of two tags in the PADI and PADS packets to
use the same order aa usoft. We shouldn't need to do this but telstra
have deployed switches (from an unknown supplier) which seem to have
been only tested with usoft and require the tags in a particular order,
despite the fact that teh standard doesn't specify any order.

MFC ok'd by jkh.
2000-11-04 08:23:16 +00:00
Julian Elischer e0c3810691 MFC: change Archie's and my email addresses Whistle.com->freebsd.org 2000-10-24 18:36:46 +00:00
Archie Cobbs b14ebf52fb MFC: don't call untimeout(9). 2000-10-12 18:36:02 +00:00
Archie Cobbs 9beafcc637 MFC: fix memory leak. 2000-10-11 19:05:38 +00:00
Archie Cobbs 67681f2193 MFC: fix typo in NETGRAPH_INIT() macro. 2000-10-09 18:45:38 +00:00
Archie Cobbs 169b2e1617 MFC: remove some unneeded #include's 2000-10-09 00:09:49 +00:00
Archie Cobbs d776773ce0 MFC: fix for multi-link sequence number handling bugs. 2000-10-09 00:04:01 +00:00
Archie Cobbs e900bd168e MFC: allocate all memory with M_NOWAIT 2000-10-01 21:22:42 +00:00
Archie Cobbs 15e8001b33 MFC: (rev. 1.2) use m_dup() instead of m_copypacket() for the time being. 2000-09-24 21:00:52 +00:00
Archie Cobbs 433bbba30b MFC: rename "struct session" to "struct sess_con" 2000-09-21 17:57:28 +00:00
Archie Cobbs 4e81b2621f MFC: allocate memory with M_NOWAIT instead of M_WAITOK 2000-09-21 17:34:10 +00:00
Julian Elischer 6b36b3ea2c MFC: 1.10
When sending a packet back to a network interface to simulate an arrived
papcket, make sure that the packet has the interface marked in the first mbuf,
the same a truely arrived packets would have.
    (stops a kernel page fault on multicast/broadcast udp packets).
2000-09-19 10:11:02 +00:00
Archie Cobbs 7e65ee8515 MFC: netgraph node type for Ethernet bridging 2000-09-13 04:24:00 +00:00
Archie Cobbs 113a77299b MFC: (rev. 1.9) fix wrong offset bug in ng_enaddr_unparse() 2000-09-13 04:12:29 +00:00
Archie Cobbs b653663272 MFC: (rev. 1.6) export ng_ether_enaddr_type. 2000-09-13 04:11:57 +00:00
cvs2svn 63f72fa3bd This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-09-11 07:14:44 +00:00
Archie Cobbs fe81ac50e4 MFC: (rev. 1.6) avoid free'ing a NULL pointer 2000-09-01 22:45:19 +00:00
Archie Cobbs c40932856f MFC: take advantage of the new unsigned and hex integer types 2000-08-22 18:52:16 +00:00
Archie Cobbs 3b8e99cc3f MFC: three more control messages, better EN address parsing 2000-08-22 18:49:46 +00:00
Archie Cobbs d89d0d3659 MFC:
- Add new control message NGM_VJC_GET_CONFIG
- Implement control message ASCII'fication for all control messages
2000-08-22 18:46:17 +00:00
Archie Cobbs 8be77ff67d MFC: (rev. 1.4) unsigned statistics, new control message 2000-08-22 18:44:59 +00:00
Archie Cobbs f33d01de02 MFC: (rev. 1.9) new control message to atomically get and clear statistics 2000-08-22 18:44:00 +00:00
Archie Cobbs 26fcd1fdef MFC: (rev. 1.15) increase the maximum allowable datagram length 2000-08-22 18:42:57 +00:00
Archie Cobbs fa48cba18e MFC: (rev. 1.8, 1.9) timing fixes, etc. 2000-08-22 18:42:12 +00:00
Archie Cobbs 4bb087c123 MFC: (rev. 1.3, 1.4) timing fixes, use unsigned parse types 2000-08-22 18:41:13 +00:00
Archie Cobbs 45a3373d36 MFC: (rev. 1.3) "u_int32_t" should have been "int32_t". 2000-08-22 18:39:08 +00:00
Archie Cobbs 23d57eb728 MFC: (rev. 1.5) unsigned and hex types, allocate buffer dynamically 2000-08-22 18:37:42 +00:00
Archie Cobbs 90c611009e MFC: (rev. 1.4) new unsigned and hex types, fix comment in example code 2000-08-22 18:35:57 +00:00
Archie Cobbs 447befeaec MFC: (rev. 1.23) use a bigger buffer for NGM_BINARY2ASCII conversion. 2000-08-22 18:33:53 +00:00