Motr  M0
pfamily Struct Reference
Collaboration diagram for pfamily:
Collaboration graph

Data Fields

const char * f_name
 
void(* f_encode )(const struct addr *a, struct sockaddr *sa)
 
void(* f_decode )(struct addr *a, const struct sockaddr *sa)
 

Detailed Description

Protocol (and address) family.

Abstracts the differences between ipv4 and ipv6.

Definition at line 956 of file sock.c.

Field Documentation

◆ f_decode

void(* f_decode) (struct addr *a, const struct sockaddr *sa)

Decode sock address from sockaddr.

See also
ipv4_decode(), ipv6_decode().

Definition at line 969 of file sock.c.

◆ f_encode

void(* f_encode) (const struct addr *a, struct sockaddr *sa)

Encode sock address in sockaddr.

See also
ipv4_encode(), ipv6_encode().

Definition at line 963 of file sock.c.

◆ f_name

const char* f_name

Definition at line 957 of file sock.c.


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