Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/hash.h>
#include <linux/string.h>
#include <linux/kmod.h>
#include <linux/slab.h>
#include <linux/socket.h>
#include <linux/seq_file.h>
#include <linux/inet.h>
#include <linux/sunrpc/clnt.h>
#include <linux/sunrpc/cache.h>
#include <linux/sunrpc/svcauth.h>
#include <linux/sunrpc/rpc_pipe_fs.h>
#include "dns_resolve.h"
#include "cache_lib.h"
#include "netns.h"
Go to the source code of this file.
Data Structures | |
struct | nfs_dns_ent |
Macros | |
#define | NFS_DNS_HASHBITS 4 |
#define | NFS_DNS_HASHTBL_SIZE (1 << NFS_DNS_HASHBITS) |
Functions | |
ssize_t | nfs_dns_resolve_name (struct net *net, char *name, size_t namelen, struct sockaddr *sa, size_t salen) |
EXPORT_SYMBOL_GPL (nfs_dns_resolve_name) | |
int | nfs_dns_resolver_cache_init (struct net *net) |
void | nfs_dns_resolver_cache_destroy (struct net *net) |
int | nfs_dns_resolver_init (void) |
void | nfs_dns_resolver_destroy (void) |
#define NFS_DNS_HASHBITS 4 |
Definition at line 53 of file dns_resolve.c.
#define NFS_DNS_HASHTBL_SIZE (1 << NFS_DNS_HASHBITS) |
Definition at line 54 of file dns_resolve.c.
EXPORT_SYMBOL_GPL | ( | nfs_dns_resolve_name | ) |
ssize_t nfs_dns_resolve_name | ( | struct net * | net, |
char * | name, | ||
size_t | namelen, | ||
struct sockaddr * | sa, | ||
size_t | salen | ||
) |
Definition at line 329 of file dns_resolve.c.
Definition at line 399 of file dns_resolve.c.
Definition at line 354 of file dns_resolve.c.
Definition at line 449 of file dns_resolve.c.
Definition at line 444 of file dns_resolve.c.