dccp.h (60fe62e789076ae7c13f7ffb35fec4b24802530d) dccp.h (e55d912f5b75723159348a7fc7692f869a86636a)
1#ifndef _DCCP_H
2#define _DCCP_H
3/*
4 * net/dccp/dccp.h
5 *
6 * An implementation of the DCCP protocol
7 * Copyright (c) 2005 Arnaldo Carvalho de Melo <acme@conectiva.com.br>
8 * Copyright (c) 2005 Ian McDonald <iam4@cs.waikato.ac.nz>

--- 419 unchanged lines hidden (view full) ---

428{
429 tv->tv_usec -= usecs;
430 while (tv->tv_usec < 0) {
431 tv->tv_sec--;
432 tv->tv_usec += USEC_PER_SEC;
433 }
434}
435
1#ifndef _DCCP_H
2#define _DCCP_H
3/*
4 * net/dccp/dccp.h
5 *
6 * An implementation of the DCCP protocol
7 * Copyright (c) 2005 Arnaldo Carvalho de Melo <acme@conectiva.com.br>
8 * Copyright (c) 2005 Ian McDonald <iam4@cs.waikato.ac.nz>

--- 419 unchanged lines hidden (view full) ---

428{
429 tv->tv_usec -= usecs;
430 while (tv->tv_usec < 0) {
431 tv->tv_sec--;
432 tv->tv_usec += USEC_PER_SEC;
433 }
434}
435
436#ifdef CONFIG_SYSCTL
437extern int dccp_sysctl_init(void);
438extern void dccp_sysctl_exit(void);
439#else
440static inline int dccp_sysctl_init(void)
441{
442 return 0;
443}
444
445static inline void dccp_sysctl_exit(void)
446{
447}
448#endif
449
436#endif /* _DCCP_H */
450#endif /* _DCCP_H */