Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
inet_sock Struct Reference

#include <inet_sock.h>

Data Fields

struct sock sk
 
__be16 inet_dport
 
__u16 inet_num
 
__be32 inet_saddr
 
__s16 uc_ttl
 
__u16 cmsg_flags
 
__be16 inet_sport
 
__u16 inet_id
 
struct ip_options_rcu __rcuinet_opt
 
__u8 tos
 
__u8 min_ttl
 
__u8 mc_ttl
 
__u8 pmtudisc
 
__u8 recverr:1
 
__u8 is_icsk:1
 
__u8 freebind:1
 
__u8 hdrincl:1
 
__u8 mc_loop:1
 
__u8 transparent:1
 
__u8 mc_all:1
 
__u8 nodefrag:1
 
__u8 rcv_tos
 
int uc_index
 
int mc_index
 
__be32 mc_addr
 
int rx_dst_ifindex
 
struct ip_mc_socklist __rcumc_list
 
struct inet_cork_full cork
 

Detailed Description

struct inet_sock - representation of INET sockets

- ancestor class - pointer to IPv6 control block - Foreign IPv4 addr - Bound local IPv4 addr - Destination port - Local port - Sending source - Unicast TTL - Source port - ID counter for DF pkts - TOS - Multicasting TTL - is this an inet_connection_sock? - Unicast outgoing device index - Multicast device index - Group array - info to build ip hdr on each ip frag while socket is corked

Definition at line 138 of file inet_sock.h.

Field Documentation

__u16 cmsg_flags

Definition at line 152 of file inet_sock.h.

Definition at line 175 of file inet_sock.h.

__u8 freebind

Definition at line 161 of file inet_sock.h.

__u8 hdrincl

Definition at line 161 of file inet_sock.h.

__be16 inet_dport

Definition at line 148 of file inet_sock.h.

__u16 inet_id

Definition at line 154 of file inet_sock.h.

__u16 inet_num

Definition at line 149 of file inet_sock.h.

Definition at line 156 of file inet_sock.h.

__be32 inet_saddr

Definition at line 150 of file inet_sock.h.

__be16 inet_sport

Definition at line 153 of file inet_sock.h.

__u8 is_icsk

Definition at line 161 of file inet_sock.h.

__be32 mc_addr

Definition at line 172 of file inet_sock.h.

__u8 mc_all

Definition at line 161 of file inet_sock.h.

int mc_index

Definition at line 171 of file inet_sock.h.

Definition at line 174 of file inet_sock.h.

__u8 mc_loop

Definition at line 161 of file inet_sock.h.

__u8 mc_ttl

Definition at line 159 of file inet_sock.h.

__u8 min_ttl

Definition at line 158 of file inet_sock.h.

__u8 nodefrag

Definition at line 161 of file inet_sock.h.

__u8 pmtudisc

Definition at line 160 of file inet_sock.h.

__u8 rcv_tos

Definition at line 169 of file inet_sock.h.

__u8 recverr

Definition at line 161 of file inet_sock.h.

int rx_dst_ifindex

Definition at line 173 of file inet_sock.h.

Definition at line 140 of file inet_sock.h.

__u8 tos

Definition at line 157 of file inet_sock.h.

__u8 transparent

Definition at line 161 of file inet_sock.h.

int uc_index

Definition at line 170 of file inet_sock.h.

__s16 uc_ttl

Definition at line 151 of file inet_sock.h.


The documentation for this struct was generated from the following file: