search for: hard_head

Displaying 5 results from an estimated 5 matches for "hard_head".

Did you mean: add_head
2007 Apr 18
0
[Bridge] Re: hang on PPC
...& bridge modules. > > I've made a modification for hdlc_cisco.c, now it can report > cisco-hdlc device as Ethernet (with cisco-compatible bridge > encapsulation). > But I have one problem: > hdlc_cisco must add 4-byte header in hard_start_xmit (as > long as no one call hard_header. But I have no space, as > long as bridge's interface have hard_header_len = 0.... > So' I have to make a COPY os skbuff, instead of cloning if > I'm the only user.... > > When I add hard_header_len = 4, it stopped work even on > Ethernet. > Is it hard to make br...
2007 Apr 18
0
[Bridge] Re: hang on PPC
...t; > I've made a modification for hdlc_cisco.c, now it can report > > cisco-hdlc device as Ethernet (with cisco-compatible bridge > > encapsulation). > > But I have one problem: > > hdlc_cisco must add 4-byte header in hard_start_xmit (as > > long as no one call hard_header. But I have no space, as > > long as bridge's interface have hard_header_len = 0.... > > So' I have to make a COPY os skbuff, instead of cloning if > > I'm the only user.... > > > > When I add hard_header_len = 4, it stopped work even on > > Ethern...
2008 Sep 24
1
[Bridge] bridge is not forwarding the packet
...bridging happens first, the packet ends up on wrong bridge and gets discarded form that bridge. If Vlan handling is done prior to bridge handling, my setup will work fine. There is also another thing which I did not understand. When we add an interface to vlan, the newly created interface's hard_header is set to vlan_dev_hard_header function. This vlan_dev_hard_header adds the vlan tag for outing packet. Interestingly this happens after bridging code hand over the packet to interface. Conversely when the packet is received, interface should remove the vlan tag and hand over the packet to bridg...
2007 Apr 18
1
[Bridge] Re: hang on PPC
On Sun, 27 Jun 2004 15:43:30 +0700 <arkady-parabel@ngs.ru> wrote: > Hi. > > I'm using a powerpc-based board (CPU - Motorolla 82855, 50 > Mhz) with 32 Mb of RAM, Big Endian. > Linux kernel - 2.4.22, bridge - statically linked & as a > module > brctl - 0.9.6 > Ethernet - fec (arch/ppc/8xx_io/fec.c) > All this was compiled with gcc version 3.2.2 20030217
2003 May 22
0
[PATCH 2.5.69 1/3] remove ipconfig support from the kernel
...CP options or BOOTP extensions */ -#ifdef IPCONFIG_DHCP - if (ic_proto_enabled & IC_USE_DHCP) - ic_dhcp_init_options(b->exten); - else -#endif - ic_bootp_init_ext(b->exten); - - /* Chain packet down the line... */ - skb->dev = dev; - skb->protocol = htons(ETH_P_IP); - if ((dev->hard_header && - dev->hard_header(skb, dev, ntohs(skb->protocol), dev->broadcast, dev->dev_addr, skb->len) < 0) || - dev_queue_xmit(skb) < 0) - printk("E"); -} - - -/* - * Copy BOOTP-supplied string if not already set. - */ -static int __init ic_bootp_string(...