diff options
Diffstat (limited to 'include/linux/sunrpc/svc.h')
| -rw-r--r-- | include/linux/sunrpc/svc.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h index f43d5765acff..1afe38eb33f7 100644 --- a/include/linux/sunrpc/svc.h +++ b/include/linux/sunrpc/svc.h | |||
| @@ -410,6 +410,11 @@ struct svc_program { | |||
| 410 | __be32 (*pg_init_request)(struct svc_rqst *, | 410 | __be32 (*pg_init_request)(struct svc_rqst *, |
| 411 | const struct svc_program *, | 411 | const struct svc_program *, |
| 412 | struct svc_process_info *); | 412 | struct svc_process_info *); |
| 413 | int (*pg_rpcbind_set)(struct net *net, | ||
| 414 | const struct svc_program *, | ||
| 415 | u32 version, int family, | ||
| 416 | unsigned short proto, | ||
| 417 | unsigned short port); | ||
| 413 | }; | 418 | }; |
| 414 | 419 | ||
| 415 | /* | 420 | /* |
| @@ -522,6 +527,16 @@ __be32 svc_return_autherr(struct svc_rqst *rqstp, __be32 auth_err); | |||
| 522 | __be32 svc_generic_init_request(struct svc_rqst *rqstp, | 527 | __be32 svc_generic_init_request(struct svc_rqst *rqstp, |
| 523 | const struct svc_program *progp, | 528 | const struct svc_program *progp, |
| 524 | struct svc_process_info *procinfo); | 529 | struct svc_process_info *procinfo); |
| 530 | int svc_generic_rpcbind_set(struct net *net, | ||
| 531 | const struct svc_program *progp, | ||
| 532 | u32 version, int family, | ||
| 533 | unsigned short proto, | ||
| 534 | unsigned short port); | ||
| 535 | int svc_rpcbind_set_version(struct net *net, | ||
| 536 | const struct svc_program *progp, | ||
| 537 | u32 version, int family, | ||
| 538 | unsigned short proto, | ||
| 539 | unsigned short port); | ||
| 525 | 540 | ||
| 526 | #define RPC_MAX_ADDRBUFLEN (63U) | 541 | #define RPC_MAX_ADDRBUFLEN (63U) |
| 527 | 542 | ||
