Kernel :: Send Pages Of 4096 Bytes From Layer Of Server To Layer Of Client Over A Network?

Jan 13, 2010

im trying to send pages of 4096 bytes from kernel layer of server to kernel layer of client over a network. previously i tried the foll. code , for data less than a 100 bytes it worked fine , but for something larger than that the computer hangs......(even the dmesg's wont say why) i also wanted to know how we could use the 'sendpage' function to solve this problem.

Code:

CLIENT'S KERNEL MODULE
struct iovec iov;
char buf[1024];

[code].....

View 1 Replies


ADVERTISEMENT

OpenSUSE Multimedia :: K3B - Dual Layer DVD Detected As Single Layer?

Aug 8, 2010

K3B says that my drive supports DVD-R DL writing. K3B shows it only having 1 layer.dvd+rw-mediainfo shows

Code:
INQUIRY: [ATAPI ][DVD A DH16A6S ][YA16]
GET [CURRENT] CONFIGURATION:

[code]...

View 8 Replies View Related

Programming :: Create Large Buffer In Program To Send And Eceive On Another Pc More Than 4096 Bytes

Feb 9, 2011

create a large buffer in my program so that I can send, and then receive on another pc, more than 4096 bytes (this seems to be the default for the serial port). I thought this might work:

[code]...

View 9 Replies View Related

Programming :: Passing Info From Mac To Network Layer

Dec 30, 2008

I want to implement a cross layer approach. I want to pass the network information such as delay from the MAC layer to Network layer. Can you tell me the way I am new to this. I am using linux (fedora). I think some system call will do the trick. Correct me if I am wrong. (I want to implement QoS matrices)

View 1 Replies View Related

Networking :: Layer 2 Switch - VLAN Router To Network

May 15, 2009

Our ISP provides us with Layer 2 hardware (Modem?/Switch? (Hatteras)) for our leased line and internet access. I have been told that I should set up a VLAN capable router to separate the internet traffic from the internal traffic. I found that linux is capable of VLAN routing. Nice!

I have setup opensuse 10.3 put in two NICs and did the following
vconfig add eth0 10
vconfig add eth0 20
ifconfig public.ip.add.ress netmask 255.255.255.252 eth0.10 up
ifconfig 192.168.0.1 netmask 255.255.255.0 eth0.20 up

Plugged this NIC into the HATTERAS hardware (with a straight cable), and thought that this way I should be able to ping the public gateway or any ip out on the internet. My ISP is telling me that I should create a VLAN trunk to be able to 'use the internet', but as I understand in linux if I create any number of VLANs on one NIC they are already trunked. I also got the info, that the traffic is tagged, and I can separate the traffic reading the tags. I already read that some NICs are not able to VLAN because they are not able to handle the increased packet size.

Also that the MTU setting is important (dono' the exact value though, only that its important). I thought that a linux machine can act as a router and firewall in such a case, because proprietary switches/routers use linux as embedded os. This is my first meeting with VLAN so if this whole post does not make any sense or you think that I just need to RTFM more then tell me! I also have some (3) Dlink 3226 Layer2 switches around, but I think it would be waste to use a 24 port switch on this subject.

View 12 Replies View Related

Server :: Which Layer 7 Firewall Should Be Tried

Aug 9, 2010

I am looking for a layer 7 firewall. I have to redirect rtmp requests for different hostnames coming at a gateway to internal servers at LAN at their respective hostnames.
Code:
IPTABLES some stuff -p rtmp -hostname to server 1
like that.
Or if not IPTABLES then some other feasible solution.

View 2 Replies View Related

OpenSUSE Network :: IPsec On Network Layer In The OSI-model?

Jul 18, 2010

I want to know the IPsec-Advantages and Disadvantages that arise because of its location on the network layer in the OSI-Model. I read rfc2401 and rfc4301 specifications to find out the advantages and disadvantages of IPsec being located on the network layer in the OSI-Model (equivalent to Internet layer in the TCP/IP protocol stack). I really could not find enough good reasons for the advantages and disadvantages of IPsec being located on network layer. Here are some of them that I could think of:Advantage: - No application-specific implementation is needed (in comparison to SSL/TLS) - The ability to connect two subnets on the internet (tunneling mode) - Ability to encrypt the traffic between two end-points (transport mode)Disadvantage: - Complex implementation of ipsec itself - High computation performance when AH and ESP both activated - No encryption for the packets to the destination if it is arrived on the subnet on the other side when tunneling mode is activated.

(the network traffic is no more encrypted inside the subnet)What else can you guys add more to these advantages and/or disadvantages? The focus is IP-sec location on the network layer. (it is a kind of comparison to ssl/tls which is upper layer protocol)I would be grateful to any responses.P.S: I hope that this thread has landed in its right place.

View 2 Replies View Related

CentOS 5 Hardware :: HDD Drive Support With Sector Size Of 4096 Bytes?

Apr 30, 2010

I'm going to replace damaged HDDs in my server with new drives, which have sector size of 4096 bytes instead of 512. Does CentOS natively support such drives? If yes, since which version? If no, what actions should I take to correctly prepare such a drive to work. How to check that such a drive is correctly recognized by OS?

View 3 Replies View Related

Software :: Separate That Layer From Pdf?

Mar 1, 2011

Since Okular highlights and annotates on a layer over the pdf, how can I seperate that layer from the pdf?

View 10 Replies View Related

Hardware :: Cannot Read Dual Layer DVD's?

May 4, 2010

I'm using Ubuntu 9.04 and I cant read dual layer DVD's. When I put the disk in it spins and makes clicking sound sometimes. It shows up in Places as "Myfiles". If i try to mount it it "DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending". If i try to eject "DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending".

View 1 Replies View Related

Networking :: How To Estimate IP Layer Bitrate

Feb 2, 2011

I am trying to find out how I can estimate the IP Layer bitrate I would get from an ethernet link? Say at 100 Mbits/s or 200 Mbits/s (powerline)? Is there a formula that I could use to calculate that?

View 2 Replies View Related

Fedora :: Can't Play Mp3 - Says That In Need A Mpeg 1 Layer 3 Plugin

Oct 5, 2010

Im new to Fedora and im already loving it. I only have one problem and that is that I can't play mp3 files. I use Rhythmbox 0.13.1 and it starts but when I play a mp3, It says that in need a mpeg 1 layer 3 plugin. I already found a tutorial that says that i need to install these.

rhythmbox
gstreamer-plugins-ugly
gstreamer-plugins-bad
gstreamer-ffmpeg

Only when I try to install them this comes up:

No package gstreamer-plugins-ugly available.

Error: Nothing to do

View 6 Replies View Related

Ubuntu :: Burning Dual Layer DVDs?

Jan 15, 2010

What is a simple Dual Layer DVD burning for 32bit Gnome Ubuntu 9.10?

From what I hear Brasero doesn't support it yet. I have heard of GnomeBaker & k3b.

I want a good one that also has PPAs to add to the sources.list

View 1 Replies View Related

Ubuntu Multimedia :: Move More Than One Layer In The GIMP?

Sep 3, 2010

I often want to move several layers in the GIMP at the same time. I can't however select more than one at the same time. Is it somehow possible to move several layers simultaneously in the GIMP?

View 1 Replies View Related

Programming :: Moving Files Up A Directory Layer?

Jan 3, 2011

find . -type f -name "*" -print0 | xargs -0 --replace=% mv % `pwd`

works fine at moving all files anywhere below the current directory to the current directory.

My question is can it be modified so it only moves all the files up one directory layer? Otherwise I shall have to cd 100 or so times and run it in each directory i want to compress...

I imagine the directory below which the file is stored is in the % somewhere it is just a case of extracting it and applying it to the mv command, yes?

View 8 Replies View Related

Networking :: Write A New Protocol On Transport Layer

Jul 23, 2010

I want to write a new protocol on transport layer. These are the features that new protocol should include:

-Real time
-Concurrent transfer
-Multipath and Multihoming

the reason why i should write this protocol is in order to transport encoded video stream over 3G link. When i investigated TCP UDP or SCTP source codes, i couldnot understand them at all. What ı want is to help me about steps of the protocol writing or guideline about it. How should i start, is there any book or source about it (i couldnot find over my internet research).

View 4 Replies View Related

General :: Unable To Burn Dual Layer DVD

Jul 27, 2010

I am using 10.10 on Hp pavillon PC. I cannot burn Dual layer pavillon it gives an error message and stops.

View 11 Replies View Related

Software :: Premastering For Double Layer DVD Recording?

Mar 4, 2010

I issued the command 'mkisofs -dvd-video wss.iso ./juan', where the dvd-video files in ./juan/VIDEO_TS made a total of 7.5GB. Later on I'll use the image to burn a double layer dvd. But mkisofs, after working up to the middle of the process, said: 'File size limit exceeded'. I don't want to burn on the fly and therefore

View 1 Replies View Related

Fedora Hardware :: DVD Double Layer Burn Fails?

May 13, 2011

I can't burn dvds double layer at all. I managed to ruin 3 DVDs so far (DVD burner from fedora says an error unknown appeared and that burn failed. I tried with Gnomebaker and I got:

[Code]...

If you need more info, tell me what you need (also what command to use) and I will write it. I am wondering whether the problem is with the DVDs or if it's a hardware problem.

View 14 Replies View Related

General :: Remove Background Layer Of Djvu File?

Jan 11, 2011

I've downloaded some files from the Internet Archive. They come in different file formats and most of the time I use pdf. However, sometimes the scans are saves in colour instead of b/w. This makes it difficult/impossible to read on a dedicated ebook reader. In that case I downloaded the djvu files as on the PC you can select which layer (color, bw,fore,back) one would like to see. Selecting the bw gives excellent results. However, the ebook reader does not has this option.

The question is, how can I remove /extract a layer from the djvu file and save only this layer.

So far I've tried the following two approaches:

1) select bw in the djvu viewer on the PC and printed to postscript file. Followed by a ps2pdf conversion. This works, but generates a fairly large pdf file. Sure, I can again upload it to any2djvu but it just seems to much manual work for each file.

2) I tried the shared annotation feature and said (mode bw). This works on the PC as desired but is ignored on the ebook reader as the other layers are still present.

View 1 Replies View Related

Ubuntu :: Setting Up Conky In Compiz's Widget Layer?

May 9, 2010

How do I set up conky in compiz's widget layer?

I know I have to set up the rule under Widget Layer > Behaviour > Widget Windows but i have not been able to identify the correct rule.

View 6 Replies View Related

Ubuntu :: After Installing 10.10 Widget Layer In Compiz Is Missing?

Oct 16, 2010

I backed everything up and did a complete re-install of the system to 10.10. I had a widget layer with compiz before I did this and now it is not even an option in the preferences. Am I missing something?

I was running 10.10 before as well and it was there.

View 1 Replies View Related

Ubuntu :: Put Multiple Windows Inside The Widget Layer?

Dec 11, 2010

I would like to put both Tomboy and Gwibber inside the widget layer, but so far I've only managed to add one or the other, I can add one by putting:

Code:
name=gwibber

into the "window match" box but how can I add another?

View 2 Replies View Related

Hardware :: Difference Between Dual And Double Layer Recording

Feb 24, 2010

My dvd burner manual speaks about 'dual-layer and/or double-layer' recording. Is there any difference between them?

View 2 Replies View Related

Networking :: IP Layer Link Aggregation Without Switch Support

Sep 2, 2010

I'm looking for a way (kernel patches, configuration, etc) to bond multiple network interfaces together but for limited purposes. Here's the setup. Machines A, B, C, and D each have 4 NICs, each of which are on separate unmanaged switches. The connections are made in a corresponding way. e.g. eth0 of each machine are connected via switch 0, eth1 are connected via switch 1, etc. There are also other machines which have only one NIC and are connected to switch 0 only. All NICs for A/B/C/D and the switches are gigabit speed. The remaining machines have a low traffic level. Machines A/B/C/D need the extended bandwidth. And this bandwidth need usually involves only one connection at a time.

E.g. machine A transferring files to machine C with no other traffic going on. The speed need is to cut the transfer times from several hours to few hours (such as 8 hours to 2 hours). Transfers of up to a few terabytes at a time are involved. IEEE 802.1AX won't accomplish this. It requires special support from a single switch that all connection go to (raising costs and reducing reliability). Also, from technical details of 802.1AX, it appears that a decision process is made for which traffic goes over which physical link based on destination information. It's unclear what impact this will have, but it looks like at least a single TCP connection cannot use all physical links.

And possibly all traffic from host A to host B is limited to a physical link (not any better than a round robin of crossover cables). What I am looking for is something that works entirely on an end-to-end basis within a LAN. If it works at the link layer, that could be OK as long as it doesn't have the limitations of 802.1AX. Working at the IP layer would be OK, too (as I can already envision the logic of how to make that work). This might be an experimental patch to the Linux kernel if anyone has tried it. I have not dug into kernel source to see what might be in there, yet, but will eventually do that if there isn't a patch already available.

View 5 Replies View Related

Networking :: Layer 2 Switch For Token Ring And Ethernet

Mar 9, 2011

Can both token ring and ethernet be connected to same switch? If we can connect so, how can a switch able to differentiate them.

View 1 Replies View Related

Software :: Burn HD (ATSC) Movies To DVD (Dual Layer)

May 4, 2010

I use Bluewhite64, a Slackware64 derivative. Next, I don't use KDE or GNOME. What free tools (command line ok) would do this job? Examples would be nice, too. Most of my HD recordings are approximately 7 GB.

View 12 Replies View Related

Slackware :: Using Dual Layer DVD As Bootable Disk For Two Versions?

Nov 8, 2010

I have downloaded both the 32 bit and the 64bit version of slackware, I have a dual layer dvd and I was thinking to put both versions on one dvd! I just want to be able to choose which one to install with a simple menu. How can I do this?

View 3 Replies View Related

CentOS 5 Networking :: How To Install The Link Layer Topology

Jan 11, 2010

I was wondering how to install the Link Layer Topology on CentOS 5. I have installed the lld2d daemon from a Debian how to after compiling it. It seems to be running but it is not talking to the Windows 7 network mapping.

View 2 Replies View Related

Ubuntu :: Cloning To Advanced Format Drive With 4096 Bytes From 512 Byte Drive

Jun 27, 2011

I am getting a new 4kb sector HDD for my laptop, WD scorpio black 750gb, I would like to image existing partitions on 512bytes sector HDD and move them to the new 4kb sector HDD, what's the best way to do this.

present config is as follows:

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[Code].....

I am planning to keep the same three partitions as the primary partitions on the new drive and add few more logical partitions. I would have liked to move to GPT but since I need Win 7, I am stuck with MBR partiotion table.

Now, I understand how to partition an Advanced format disk, what I want to know is how to move the existing partitions on the 80 Gb disk to the new disk?

I use Clonezilla to copy partitions but it is not compatible unless both the target and the source disks are already using 4096 sector size.

I can use Acronis True Image WD Edition to clone Win 7 but how do I clone Ubuntu?

Also my Laptop's chipset is limited to SATA 1.5, will it cause any issues, I know the bandwidth is not an issue.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved