cregit-Linux how code gets into the kernel

Release 4.11 fs/nfs/dns_resolve.h

Directory: fs/nfs
/*
 * Resolve DNS hostnames into valid ip addresses
 */
#ifndef __LINUX_FS_NFS_DNS_RESOLVE_H

#define __LINUX_FS_NFS_DNS_RESOLVE_H


#define NFS_DNS_HOSTNAME_MAXLEN	(128)


#ifdef CONFIG_NFS_USE_KERNEL_DNS

static inline int nfs_dns_resolver_init(void) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Bryan Schumaker12100.00%1100.00%
Total12100.00%1100.00%


static inline void nfs_dns_resolver_destroy(void) {}

Contributors

PersonTokensPropCommitsCommitProp
Bryan Schumaker8100.00%1100.00%
Total8100.00%1100.00%


static inline int nfs_dns_resolver_cache_init(struct net *net) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Stanislav Kinsbursky15100.00%1100.00%
Total15100.00%1100.00%


static inline void nfs_dns_resolver_cache_destroy(struct net *net) {}

Contributors

PersonTokensPropCommitsCommitProp
Stanislav Kinsbursky11100.00%1100.00%
Total11100.00%1100.00%

#else extern int nfs_dns_resolver_init(void); extern void nfs_dns_resolver_destroy(void); extern int nfs_dns_resolver_cache_init(struct net *net); extern void nfs_dns_resolver_cache_destroy(struct net *net); #endif extern ssize_t nfs_dns_resolve_name(struct net *net, char *name, size_t namelen, struct sockaddr *sa, size_t salen); #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Stanislav Kinsbursky5140.80%133.33%
Trond Myklebust4737.60%133.33%
Bryan Schumaker2721.60%133.33%
Total125100.00%3100.00%
Directory: fs/nfs
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.