Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sk_alloc(9) [suse man page]

SK_ALLOC(9)							 Linux Networking						       SK_ALLOC(9)

NAME
sk_alloc - All socket objects are allocated here SYNOPSIS
struct sock * sk_alloc(struct net * net, int family, gfp_t priority, struct proto * prot); ARGUMENTS
net the applicable net namespace family protocol family priority for allocation (GFP_KERNEL, GFP_ATOMIC, etc) prot struct proto associated with this new sock instance COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 SK_ALLOC(9)

Check Out this Related Man Page

IPSEC_PF_KEY(5) 						  [FIXME: manual]						   IPSEC_PF_KEY(5)

NAME
ipsec_pf_key - lists PF_KEY sockets registered with KLIPS SYNOPSIS
cat /proc/net/pf_key STACK
Note that pf_key is only supported on the KLIPS and MAST stacks. It is not supported on any other stack. DESCRIPTION
/proc/net/pf_key is a read-only file which lists the presently open PF_KEY sockets on the local system and their parameters. Each line lists one PF_KEY socket. A table entry consists of: + sock pointer (sock) + PID of the socket owner (pid) + flag to indicate if the socket is dead (d) + socket wait queue (sleep) + socket pointer (socket) + next socket in chain (next) + previous socket in chain (prev) + last socket error (e) + pointer to destruct routine (destruct) + is this a reused socket (r) + has this socket been zapped (z) + socket family to which this socket belongs (fa) + local port number (n) + protocol version number (p) + Receive queue bytes committed (r) + Transmit queue bytes committed (w) + option memory allocations (o) + size of send buffer in bytes (sndbf) + timestamp in seconds (stamp) + socket flags (Flags) + socket type (Type) + connection state (St) EXAMPLES
c3b8c140 3553 0 c0599818 c05997fc 0 0 0 0 1 0 15 0 2 0 0 0 65535 0.103232 00000000 00000003 01 shows that there is one pf_key socket set up that starts at c3b8c140, whose owning process has PID 3553, the socket is not dead, its wait queue is at c0599818, whose owning socket is at c05997fc, with no other sockets in the chain, no errors, no destructor, it is a reused socket which has not been zapped, from protocol family 15 (PF_KEY), local port number 0, protocol socket version 2, no memory allocated to transmit, receive or option queues, a send buffer of almost 64kB, a timestamp of 0.103232, no flags set, type 3, in state 1. FILES
/proc/net/pf_key SEE ALSO
ipsec(8), ipsec_manual(8), ipsec_eroute(5), ipsec_spi(5), ipsec_spigrp(5), ipsec_klipsdebug(5), ipsec_tncfg(8), ipsec_version(5) HISTORY
Written for the Linux FreeS/WAN project <http://www.freeswan.org/> by Richard Guy Briggs. [FIXME: source] 10/06/2010 IPSEC_PF_KEY(5)
Man Page

14 More Discussions You Might Find Interesting

1. Linux

TuxOnIce stalls 3 times before resuming

I am having trouble resuming from hibernation using TuxOnIce method. The thing works, but in a very strange manner. Here's how it looks: 1. Computer boots and finds resume image and starts resume. It reads image from disk (takes ~10 seconds) Reading kernel & process data... Atomic restore.... (8 Replies)
Discussion started by: lockheed
8 Replies

2. Solaris

Disk controller reassignment

Hi The scenario in the oracle t4-1 hardware with solaris 10 is as follows: 1. The initial install on the server was performed with an incorrect disk layout. 2. New disks were ordered and slot into the server. 3. The disks are allocated a controller and a disk number based on the disk or... (13 Replies)
Discussion started by: kerrygold
13 Replies

3. UNIX for Advanced & Expert Users

Install applications on NFS, good or not?

Hi, We use VMware+NetApp+Linux. There are 2 ways to install a mission-critical application on the virtual machine: (1) Install it on a NetApp filer's shared NFS volume connecting to the virtual machine, (2) Install it on a virtual disk allocated from NetApp filer and assigned to the virtual... (7 Replies)
Discussion started by: aixlover
7 Replies

4. AIX

Filesystem reduction size issue

Hi, Need help with following case. I am trying to shring filesystem size and reduce few luns from volume group. Situation looks like that : # lsvg -l data1vg data1vg: LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT data1 jfs2 3200 3200 ... (5 Replies)
Discussion started by: borek
5 Replies

5. HP-UX

How to check overall hard disk utilization in UNIX?

how to check overall hard disk utilization in unix? we use bdf command to find the utilized space for the particular path bdf filepath how can i find overall hard disk utilization? (4 Replies)
Discussion started by: ashwanthfrq
4 Replies

6. AIX

Vios1 vios2 stop one and start other

Hi, I have 2 vios , vios1 and vios2, when i shutdown one of this vios, how can i syncronize the disks after? to ensure that the date is the same in both disk.... Rgs, (3 Replies)
Discussion started by: prpkrk
3 Replies

7. Solaris

Sun Fire V245 patching issue

Hi All, I have an server Sun Fire V245 for which we had been trying to patch. We get a message that the patch has been applied successfully but while trying to reboot after activating the new lu, the server is not booting up. Had reinstalled lustarter pack, required patches during the patching... (5 Replies)
Discussion started by: Rockyc3400
5 Replies

8. Solaris

Moving to RAID1

Is there an easy, safe way to move the system to RAID1 on sparc solaris 10? (without reinstalling). thanks. (6 Replies)
Discussion started by: orange47
6 Replies

9. SCO

Increase disk size on OS side on the fly

Hi, I'm Linux administrator who happens to 'administer' SCO Unix 5.0.7, which is virtual server on VMware - deployed from official ovf image. My problem is that root filesystem is almost out of disk space, and we've decided to do it as we do on every other virtual servers and extend disk on... (13 Replies)
Discussion started by: goldenboy
13 Replies

10. Solaris

Oracle VM for SPARC - control/io domain dilemna

Hi all, My internal SAS disks (4 of them) are all sitting on the same controller/pcie device which is now being own by my default primary aka io aka control domain. I have created a vdisk server, that serves slices on these 4 disks to guest domain and everything is working fine. The issue... (2 Replies)
Discussion started by: javanoob
2 Replies

11. UNIX for Beginners Questions & Answers

How to check used space for each partitions in Linux?

we are using Disk utilization and filesystem utilization seperately. In AIX using $lsvg rootvg datavg $lspv hdisk1 PHYSICAL VOLUME: hdisk1 VOLUME GROUP: datavg PV IDENTIFIER: 00f65eab7acabb17 VG IDENTIFIER 00f65eab00004c00000001567b60a848 PV STATE: ... (3 Replies)
Discussion started by: freeaac
3 Replies

12. UNIX for Advanced & Expert Users

Smitty

Hi All, Im new in aix, anyone can advice is there any way to understand smitty ?:confused: Thanks. TCP. (4 Replies)
Discussion started by: tcp01315
4 Replies

13. Red Hat

Advice on allocating SAN storage to a virtual database server on VMware

I am relatively new to Linux and we are getting ready to convert our current oracle database servers from the AIX platform to RHEL7 servers on VMWare. I would appreciate any advice on how best to allocate storage to these machines. I plan on using LVM to maintain the disks/filesystems but am... (9 Replies)
Discussion started by: dkmartin
9 Replies

14. AIX

How to manually -re-attach AIX lv's to a mirror?

in trying to rectify a stale lv problem I ran rmlvcopy <lv> 1 <primary disk> leaving the original os disk without lv copies other than the stale lv. Both disks seem operational, but, lsvg rootg shows 1 stale pv. The end goal is to re-attach the lv's back to hdisk1, and then attempt a reboot... (11 Replies)
Discussion started by: mrmurdock
11 Replies