mac address規則的問題,透過圖書和論文來找解法和答案更準確安心。 我們找到下列線上看、影評和彩蛋懶人包

mac address規則的問題,我們搜遍了碩博士論文和台灣出版的書籍,推薦(美)W.理查德·史蒂芬斯寫的 UNIX環境高級編程(第3版·英文版)(上下冊) 和(美)亞歷山大·狄恩的 嵌入式系統原理--基於Arm Cortex-M微控制器體系都 可以從中找到所需的評價。

另外網站如何更改/欺騙我的MAC地址並輕鬆切換多個MAC地址?也說明:我的路由器可以根據MAC地址進行port-forwarding。也就是說,特定的MAC將 ... 安裝 macchanger 並使用udev規則在每次網絡連接時運行它。創建以下文件:

這兩本書分別來自人民郵電 和人民郵電所出版 。

國立中正大學 戰略暨國家安全碩士在職專班 宋學文所指導 馬志博的 從「國內政治結構學派」探討拜登政府的美中關係:以2018至2021年為例 (2021),提出mac address規則關鍵因素是什麼,來自於美中外交關係、第二意象反轉、美國國內政治社會結構。

而第二篇論文國立臺北科技大學 電機工程系 宋國明所指導 黃裕迪的 具超高速傳輸介面第四代通用序列匯流排(USB4)之晶片研發 (2020),提出因為有 第四代通用序列匯流排、傳輸層的重點而找出了 mac address規則的解答。

最後網站华为交换机学习指南 - Google 圖書結果則補充:长度范围 1 ~ |定义 Group 匹配 31 ,必须以字母开头) ,指定该 Group |规则。 group cuistom { mac - address | esn |按照 MAC 地址、 ESN 、 IP 地址、设| ip ...

接下來讓我們看這些論文和書籍都說些什麼吧:

除了mac address規則,大家也想知道這些:

UNIX環境高級編程(第3版·英文版)(上下冊)

為了解決mac address規則的問題,作者(美)W.理查德·史蒂芬斯 這樣論述:

本書是被譽為UNIX程式設計“聖經”的Advanced Programming in the UNIX Environment一書的第3版。   在本書第2版出版後的8年中,UNIX發生了巨大的變化,特別是影響UNIX程式設計介面的有關標準變化很大。   本書在保持前一版風格的基礎上,根據新的標準對內容進行了修訂和增補,反映了新的技術發展。書中除了介紹UNIX檔和目錄、標準I/O庫、系統資料檔案和資訊、進程環境、進程式控制制、進程關係、信號、執行緒、執行緒控制、守護進程、各種I/O、進程間通信、網路IPC、偽終端等方面的內容,還在此基礎上介紹了眾多應用實例,包括如何創建資料庫函式程式庫以及如何

與網路印表機通信等。此外,還在附錄中給出了函數原型和部分習題的答案。 本書內容概念清晰,闡述精闢,對於所有層次UNIX/Linux程式師都是一本不可或缺的參考書。 W. 理查·史蒂文斯(W. Richard Stevens),國際知名的UNIX 和網路專家,備受讚譽的技術作家。生前著有多部經典的傳世之作,包括《UNIX 網路程式設計》(兩卷本)、《TCP/IP 詳解》(三卷本)和本書首版。 史蒂芬·A. 拉戈(Stephen A. Rago),資深UNIX 程式師,目前任NEC 美國實驗室存儲系統研究組研究員。之前是貝爾實驗室的UNIX 系統V 版本4 的開發人員之一。

著有《UNIX 系統V 網路程式設計》,是本書第1版的技術審校和第2 版的共同作者。 Chapter 1. UNIX System Overview / UNIX基礎知識 1 1.1 Introduction / 引言 1 1.2 UNIX Architecture / UNIX體系結構 1 1.3 Logging In / 登錄 2 1.4 Files and Directories / 檔和目錄 4 1.5 Input and Output / 輸入和輸出 8 1.6 Programs and Processes / 程式和進程 10 1.7 Error Handlin

g / 出錯處理 14 1.8 User Identification / 使用者標識 16 1.9 Signals / 信號 18 1.10 Time Values / 時間值 20 1.11 System Calls and Library Functions / 系統調用和庫函數 21 1.12 Summary / 小結 23 Exercises / 習題 24 Chapter 2. UNIX Standardization and Implementations / UNIX標準及實現 25 2.1 Introduction / 引言 25 2.2 UNIX Standardizat

ion / UNIX標準化 25 2.2.1 ISO C 25 2.2.2 IEEE POSIX 26 2.2.3 The Single UNIX Specification 30 2.2.4 FIPS 32 2.3 UNIX System Implementations / UNIX系統實現 33 2.3.1 UNIX System V Release 4 / SVR4 33 2.3.2 4.4BSD 34 2.3.3 FreeBSD 34 2.3.4 Linux 35 2.3.5 Mac OS X 35 2.3.6 Solaris 35 2.3.7 Other UNIX Systems /

其他UNIX系統 35 2.4 Relationship of Standards and Implementations / 標準和實現的關係 36 2.5 Limits / 限制 36 2.5.1 ISO C Limits / ISO C限制 37 2.5.2 POSIX Limits / POSIX限制 38 2.5.3 XSI Limits / XSI限制 41 2.5.4 sysconf, pathconf, and fpathconf Functions / 函數sysconf、pathconf和fpathconf 42 2.5.5 Indeterminate Runtime L

imits / 不確定的運行時限制 49 2.6 Options / 選項 53 2.7 Feature Test Macros / 功能測試宏 57 2.8 Primitive System Data Types / 基本系統資料類型 58 2.9 Differences Between Standards / 標準之間的衝突 58 2.10 Summary / 小結 60 Exercises / 習題 60 Chapter 3. File I/O / 文件I/O 61 3.1 Introduction / 引言 61 3.2 File Descriptors / 檔描述符 61 3.3 

open and openat Functions / 函數open和openat 62 3.4 creat Function / 函數creat 66 3.5 close Function / 函數close 66 3.6 lseek Function / 函數lseek 66 3.7 read Function / 函數read 71 3.8 write Function / 函數write 72 3.9 I/O Efficiency / I/O的效率 72 3.10 File Sharing / 檔共用 74 3.11 Atomic Operations / 原子操作 77 3.12 d

up and dup2 Functions / 函數dup和dup2 79 3.13 sync, fsync, and fdatasync Functions / 函數sync、fsync和fdatasync 81 3.14 fcntl Function / 函數fcntl 82 3.15 ioctl Function / 函數ioctl 87 3.16 /dev/fd 88 3.17 Summary / 小結 90 Exercises / 習題 90 Chapter 4. Files and Directories / 檔和目錄 93 4.1 Introduction / 引言 93 4.

2 stat, fstat, fstatat, and lstat Functions / 函數stat、fstat、fstatat和lstat 93 4.3 File Types / 檔案類型 95 4.4 Set-User-ID and Set-Group-ID / 設置用戶ID和設置組ID 98 4.5 File Access Permissions / 文件存取權限 99 4.6 Ownership of New Files and Directories / 新檔和目錄的所有權 101 4.7 access and faccessat Functions / 函數access和fac

cessat 102 4.8 umask Function / 函數umask 104 4.9 chmod, fchmod, and fchmodat Functions / 函數chmod、fchmod和fchmodat 106 4.10 Sticky Bit / 粘著位 108 4.11 chown, fchown, fchownat, and lchown Functions / 函數chown、fchown、fchownat和lchown 109 4.12 File Size / 文件長度 111 4.13 File Truncation / 文件截斷 112 4.14 File Sy

stems / 檔案系統 113 4.15 link, linkat, unlink, unlinkat, and remove Functions / 函數link、linkat、unlink、unlinkat和remove 116 4.16 rename and renameat Functions / 函數rename和renameat 119 4.17 Symbolic Links / 符號連結 120 4.18 Creating and Reading Symbolic Links / 創建和讀取符號連結 123 4.19 File Times / 檔的時間 124 4.20 fut

imens, utimensat, and utimes Functions / 函數futimens、utimensat和utimes 126 4.21 mkdir, mkdirat, and rmdir Functions / 函數mkdir、mkdirat和rmdir 129 4.22 Reading Directories / 讀目錄 130 4.23 chdir, fchdir, and getcwd Functions / 函數chdir、fchdir和getcwd 135 4.24 Device Special Files / 設備特殊檔 137 4.25 Summary of

File Access Permission Bits / 文件存取權限位小結 140 4.26 Summary / 小結 140 Exercises / 習題 141 Chapter 5. Standard I/O Library / 標準I/O庫 143 5.1 Introduction / 引言 143 5.2 Streams and FILE Objects / 流和FILE對象 143 5.3 Standard Input, Standard Output, and Standard Error / 標準輸入、標準輸出和標準錯誤 145 5.4 Buffering / 緩衝 145

5.5 Opening a Stream / 打開流 148 5.6 Reading and Writing a Stream / 讀和寫流 150 5.7 Line-at-a-Time I/O / 每次一行I/O 152 5.8 Standard I/O Efficiency / 標準I/O的效率 153 5.9 Binary I/O / 二進位I/O 156 5.10 Positioning a Stream / 定位流 157 5.11 Formatted I/O / 格式化I/O 159 5.12 Implementation Details / 實現細節 164 5.13 Temp

orary Files / 暫存檔案 167 5.14 Memory Streams / 記憶體流 171 5.15 Alternatives to Standard I/O / 標準I/O的替代軟體 174 5.16 Summary / 小結 175 Exercises / 習題 175 Chapter 6. System Data Files and Information / 系統資料檔案和資訊 177 6.1 Introduction / 引言 177 6.2 Password File / 口令檔 177 6.3 Shadow Passwords / 陰影口令 181 6.4 Gr

oup File / 組文件 182 6.5 Supplementary Group IDs / 附屬組ID 183 6.6 Implementation Differences / 實現區別 184 6.7 Other Data Files / 其他資料檔案 185 6.8 Login Accounting / 登錄帳戶記錄 186 6.9 System Identification / 系統標識 187 6.10 Time and Date Routines / 時間和日期常式 189 6.11 Summary / 小結 196 Exercises / 習題 196 Chapter 7.

Process Environment / 進程環境 197 7.1 Introduction / 引言 197 7.2 main Function / main函數 197 7.3 Process Termination / 進程終止 198 7.4 Command-Line Arguments / 命令列參數 203 7.5 Environment List / 環境表 203 7.6 Memory Layout of a C Program / C程式的存儲空間佈局 204 7.7 Shared Libraries / 共用庫 206 7.8 Memory Allocation / 存

儲空間分配 207 7.9 Environment Variables / 環境變數 210 7.10 setjmp and longjmp Functions / 函數setjmp和longjmp 213 7.11 getrlimit and setrlimit Functions / 函數getrlimit和setrlimit 220 7.12 Summary / 小結 225 Exercises / 習題 226 Chapter 8. Process Control / 進程式控制制 227 8.1 Introduction / 引言 227 8.2 Process Identifie

rs / 進程標識 227 8.3 fork Function / 函數fork 229 8.4 vfork Function / 函數vfork 234 8.5 exit Functions / 函數exit 236 8.6 wait and waitpid Functions / 函數wait和waitpid 238 8.7 waitid Function / 函數waitid 244 8.8 wait3 and wait4 Functions / 函數wait3和wait4 245 8.9 Race Conditions / 競爭條件 245 8.10 exec Functions /

函數exec 249 8.11 Changing User IDs and Group IDs / 更改用戶ID和更改組ID 255 8.12 Interpreter Files / 解譯器文件 260 8.13 system Function / 函數system 264 8.14 Process Accounting / 進程會計 269 8.15 User Identification / 使用者標識 275 8.16 Process Scheduling / 進程調度 276 8.17 Process Times / 進程時間 280 8.18 Summary / 小結 282 Exe

rcises / 習題 283 Chapter 9. Process Relationships / 進程關係 285 9.1 Introduction / 引言 285 9.2 Terminal Logins / 終端登錄 285 9.3 Network Logins / 網路登入 290 9.4 Process Groups / 進程組 293 9.5 Sessions / 會話 295 9.6 Controlling Terminal / 控制終端 296 9.7 tcgetpgrp, tcsetpgrp, and tcgetsid Functions / 函數tcgetpgrp、tc

setpgrp和tcgetsid 298 9.8 Job Control / 作業控制 299 9.9 Shell Execution of Programs / Shell執行程式 303 9.10 Orphaned Process Groups / 孤兒進程組 307 9.11 FreeBSD Implementation / FreeBSD實現 310 9.12 Summary / 小結 312 Exercises / 習題 312 Chapter 10. Signals / 信號 313 10.1 Introduction / 引言 313 10.2 Signal Concepts

/ 信號概念 313 10.3 signal Function / 函數signal 323 10.4 Unreliable Signals / 不可靠的信號 326 10.5 Interrupted System Calls / 中斷的系統調用 327 10.6 Reentrant Functions / 可重入函數 330 10.7 SIGCLD Semantics / SIGCLD語義 332 10.8 Reliable-Signal Terminology and Semantics / 可靠信號術語和語義 335 10.9 kill and raise Functions / 函數k

ill和raise 336 10.10 alarm and pause Functions / 函數alarm和pause 338 10.11 Signal Sets / 信號集 344 10.12 sigprocmask Function / 函數sigprocmask 346 10.13 sigpending Function / 函數sigpending 347 10.14 sigaction Function / 函數sigaction 349 10.15 sigsetjmp and siglongjmp Functions / 函數sigsetjmp和siglongjmp 355 1

0.16 sigsuspend Function / 函數sigsuspend 359 10.17 abort Function / 函數abort 365 10.18 system Function / 函數system 367 10.19 sleep, nanosleep, and clock_nanosleep Functions / 函數sleep、nanosleep和clock_nanosleep 373 10.20 sigqueue Function / 函數sigqueue 376 10.21 Job-Control Signals / 作業控制信號 377 10.22 Sign

al Names and Numbers / 信號名和編號 379 10.23 Summary / 小結 381 Exercises / 習題 381 Chapter 11. Threads / 執行緒 383 11.1 Introduction / 引言 383 11.2 Thread Concepts / 執行緒概念 383 11.3 Thread Identification / 執行緒標識 384 11.4 Thread Creation / 執行緒創建 385 11.5 Thread Termination / 執行緒終止 388 11.6 Thread Synchronizati

on / 執行緒同步 397 11.6.1 Mutexes / 互斥量 399 11.6.2 Deadlock Avoidance / 避免鎖死 402 11.6.3 pthread_mutex_timedlock Function / 函數pthread_mutex_timedlock 407 11.6.4 Reader-Writer Locks / 讀寫鎖 409 11.6.5 Reader-Writer Locking with Timeouts / 帶有超時的讀寫鎖 413 11.6.6 Condition Variables / 條件變數 413 11.6.7 Spin Locks

/ 自旋鎖 417 11.6.8 Barriers / 屏障 418 11.7 Summary / 小結 422 Exercises / 習題 422 Chapter 12. Thread Control / 執行緒控制 425 12.1 Introduction / 引言 425 12.2 Thread Limits / 執行緒限制 425 12.3 Thread Attributes / 執行緒屬性 426 12.4 Synchronization Attributes / 同步屬性 430 12.4.1 Mutex Attributes / 互斥量屬性 430 12.4.2 Reade

r-Writer Lock Attributes / 讀寫鎖屬性 439 12.4.3 Condition Variable Attributes / 條件變數屬性 440 12.4.4 Barrier Attributes / 屏障屬性 441 12.5 Reentrancy / 重入 442 12.6 Thread-Specific Data / 執行緒特定資料 446 12.7 Cancel Options / 取消選項 451 12.8 Threads and Signals / 執行緒和信號 453 12.9 Threads and fork / 執行緒和fork 457 12.10

 Threads and I/O / 執行緒和I/O 461 12.11 Summary / 小結 462 Exercises / 習題 462 Chapter 13. Daemon Processes / 守護進程 463 13.1 Introduction / 引言 463 13.2 Daemon Characteristics / 守護進程的特徵 463 13.3 Coding Rules / 程式設計規則 466 13.4 Error Logging / 出錯記錄 469 13.5 Single-Instance Daemons / 單實例守護進程 473 13.6 Daemon C

onventions / 守護進程的慣例 474 13.7 Client-Server Model / 客戶進程-伺服器進程模型 479 13.8 Summary / 小結 480 Exercises / 習題 480 Chapter 14. Advanced I/O / 高級I/O 481 14.1 Introduction / 引言 481 14.2 Nonblocking I/O / 非阻塞I/O 481 14.3 Record Locking / 記錄鎖 485 14.4 I/O Multiplexing / I/O多路轉接 500 14.4.1 select and pselect

Functions / 函數select和pselect 502 14.4.2 poll Function / 函數poll 506 14.5 Asynchronous I/O / 非同步I/O 509 14.5.1 System V Asynchronous I/O / System V非同步I/O 510 14.5.2 BSD Asynchronous I/O / BSD非同步I/O 510 14.5.3 POSIX Asynchronous I/O / POSIX非同步I/O 511 14.6 readv and writev Functions / 函數readv和writev 52

1 14.7 readn and writen Functions / 函數readn和writen 523 14.8 Memory-Mapped I/O / 存儲映射I/O 525 14.9 Summary / 小結 531 Exercises / 習題 532 Chapter 15. Interprocess Communication / 進程間通信 533 15.1 Introduction / 引言 533 15.2 Pipes / 管道 534 15.3 popen and pclose Functions / 函數popen和pclose 541 15.4 Coprocesse

s / 協同進程 548 15.5 FIFOs 552 15.6 XSI IPC 556 15.6.1 Identifiers and Keys / 識別字和鍵 556 15.6.2 Permission Structure / 許可權結構 558 15.6.3 Configuration Limits / 結構限制 559 15.6.4 Advantages and Disadvantages / 優點和缺點 559 15.7 Message Queues / 訊息佇列 561 15.8 Semaphores / 信號量 565 15.9 Shared Memory / 共用存儲 571 1

5.10 POSIX Semaphores / POSIX信號量 579 15.11 Client-Server Properties / 客戶進程-伺服器進程屬性 585 15.12 Summary / 小結 587 Exercises / 習題 587 Chapter 16. Network IPC: Sockets / 網路IPC:通訊端 589 16.1 Introduction / 引言 589 16.2 Socket Descriptors / 通訊端描述符 590 16.3 Addressing / 定址 593 16.3.1 Byte Ordering / 位元組序 593

16.3.2 Address Formats / 地址格式 595 16.3.3 Address Lookup / 地址查詢 597 16.3.4 Associating Addresses with Sockets / 將通訊端與位址關聯 604 16.4 Connection Establishment / 建立連接 605 16.5 Data Transfer / 資料傳輸 610 16.6 Socket Options / 通訊端選項 623 16.7 Out-of-Band Data / 帶外數據 626 16.8 Nonblocking and Asynchronous I/O /

非阻塞和非同步I/O 627 16.9 Summary / 小結 628 Exercises / 習題 628 Chapter 17. Advanced IPC / 高級進程間通信 629 17.1 Introduction / 引言 629 17.2 UNIX Domain Sockets / UNIX域通訊端 629 17.3 Unique Connections / 唯一連接 635 17.4 Passing File Descriptors / 傳送檔描述符 642 17.5 An Open Server, Version 1 / 打開伺服器進程第 1版 653 17.6 An O

pen Server, Version 2 / 打開伺服器進程第 2版 659 17.7 Summary / 小結 669 Exercises / 習題 670 Chapter 18. Terminal I/O / 終端I/O 671 18.1 Introduction / 引言 671 18.2 Overview / 概述 671 18.3 Special Input Characters / 特殊輸入字元 678 18.4 Getting and Setting Terminal Attributes / 獲得和設置終端屬性 683 18.5 Terminal Option Flags

/ 終端選項標誌 683 18.6 stty Command / stty命令 691 18.7 Baud Rate Functions / 串列傳輸速率函數 692 18.8 Line Control Functions / 行控制函數 693 18.9 Terminal Identification / 終端標識 694 18.10 Canonical Mode / 規範模式 700 18.11 Noncanonical Mode / 非規範模式 703 18.12 Terminal Window Size / 終端視窗大小 710 18.13 termcap, terminfo, and

curses / termcap、terminfo和curses 712 18.14 Summary / 小結 713 Exercises / 習題 713 Chapter 19. Pseudo Terminals / 偽終端 715 19.1 Introduction / 引言 715 19.2 Overview / 概述 715 19.3 Opening Pseudo-Terminal Devices / 打開偽終端設備 722 19.4 pty_fork Function / 函數pty_fork 726 19.5 pty Program / pty程式 729 19.6 Using

the pty Program / 使用pty程式 733 19.7 Advanced Features / 高級特性 740 19.8 Summary / 小結 741 Exercises / 習題 742 Chapter 20. A Database Library / 資料庫函式程式庫 743 20.1 Introduction / 引言 743 20.2 History / 歷史 743 20.3 The Library / 函式程式庫 744 20.4 Implementation Overview / 實現概述 746 20.5 Centralized or Decentral

ized / 集中式還是非集中式 750 20.6 Concurrency / 併發 752 20.7 Building the Library / 構造函式程式庫 753 20.8 Source Code / 原始程式碼 753 20.9 Performance / 性能 781 20.10 Summary / 小結 786 Exercises / 習題 787 Chapter 21. Communicating with a Network Printer / 與網路印表機通信 789 21.1 Introduction / 引言 789 21.2 The Internet Printi

ng Protocol / 網路列印協定 789 21.3 The Hypertext Transfer Protocol / 超文字傳輸協定HTTP 792 21.4 Printer Spooling / 列印周邊同作技術 793 21.5 Source Code / 原始程式碼 795 21.6 Summary / 小結 843 Exercises / 習題 843 Appendix A. Function Prototypes / 函數原型 845 Appendix B. Miscellaneous Source Code / 其他原始程式碼 895 B.1 Our Header Fil

e / 本書使用的標頭檔 895 B.2 Standard Error Routines / 標準出錯常式 898 Appendix C. Solutions to Selected Exercises / 部分習題答案 905 Bibliography / 參考書目 947

從「國內政治結構學派」探討拜登政府的美中關係:以2018至2021年為例

為了解決mac address規則的問題,作者馬志博 這樣論述:

大部分國際關係研究者都是用國際體系結構進行相關研究,這一理論也確實有助於理解國際政治中的基本連續性,但要更精準的去分析一個國家的對外政策及外交關係,還需要以剩餘變數(The Residual Variance Approach)來提供更多的分析依據,這也是Peter A. Gourevitch、Peter Katzenstein、Matthew Evangelista、Robert D. Putnam等國內政治結構學派學者所提,把政府視為紐帶、將國際結構與國內結構視為一個整體來加以分析。本研究希望透過國內政治結構學派研究途徑,探討一向秉持溫和態度且主張多邊主義的拜登,其所率領的執政團隊為何會

在執政第一年就以強硬姿態處理與中國的外交關係。而經本研究探討後發覺,美國國內體制及美國民眾的價值觀是拜登政府執政第一年處理對中外交關係的重要剩餘變數。

嵌入式系統原理--基於Arm Cortex-M微控制器體系

為了解決mac address規則的問題,作者(美)亞歷山大·狄恩 這樣論述:

本書是被譽為UNIX程式設計“聖經”的Advanced Programming in the UNIX Environment一書的第3版。   在本書第2版出版後的8年中,UNIX發生了巨大的變化,特別是影響UNIX程式設計介面的有關標準變化很大。本書在保持前一版風格的基礎上,根據新的標準對內容進行了修訂和增補,反映了新的技術發展。   書中除了介紹UNIX檔和目錄、標準I/O庫、系統資料檔案和資訊、進程環境、進程式控制制、進程關係、信號、執行緒、執行緒控制、守護進程、各種I/O、進程間通信、網路IPC、偽終端等方面的內容,還在此基礎上介紹了眾多應用實例,包括如何創建資料庫函式程式庫以及如何

與網路印表機通信等。此外,還在附錄中給出了函數原型和部分習題的答案。 本書內容概念清晰,闡述精闢,對於所有層次UNIX/Linux程式師都是一本不可或缺的參考書。 W. 理查·史蒂文斯(W. Richard Stevens),國際知名的UNIX 和網路專家,備受讚譽的技術作家。生前著有多部經典的傳世之作,包括《UNIX 網路程式設計》(兩卷本)、《TCP/IP 詳解》(三卷本)和本書首版。 史蒂芬·A. 拉戈(Stephen A. Rago),資深UNIX 程式師,目前任NEC 美國實驗室存儲系統研究組研究員。之前是貝爾實驗室的UNIX 系統V 版本4 的開發人員之一。

著有《UNIX 系統V 網路程式設計》,是本書第1版的技術審校和第2 版的共同作者。 Chapter 1. UNIX System Overview / UNIX基礎知識 1 1.1 Introduction / 引言 1 1.2 UNIX Architecture / UNIX體系結構 1 1.3 Logging In / 登錄 2 1.4 Files and Directories / 檔和目錄 4 1.5 Input and Output / 輸入和輸出 8 1.6 Programs and Processes / 程式和進程 10 1.7 Error Handlin

g / 出錯處理 14 1.8 User Identification / 使用者標識 16 1.9 Signals / 信號 18 1.10 Time Values / 時間值 20 1.11 System Calls and Library Functions / 系統調用和庫函數 21 1.12 Summary / 小結 23 Exercises / 習題 24 Chapter 2. UNIX Standardization and Implementations / UNIX標準及實現 25 2.1 Introduction / 引言 25 2.2 UNIX Standardizat

ion / UNIX標準化 25 2.2.1 ISO C 25 2.2.2 IEEE POSIX 26 2.2.3 The Single UNIX Specification 30 2.2.4 FIPS 32 2.3 UNIX System Implementations / UNIX系統實現 33 2.3.1 UNIX System V Release 4 / SVR4 33 2.3.2 4.4BSD 34 2.3.3 FreeBSD 34 2.3.4 Linux 35 2.3.5 Mac OS X 35 2.3.6 Solaris 35 2.3.7 Other UNIX Systems /

其他UNIX系統 35 2.4 Relationship of Standards and Implementations / 標準和實現的關係 36 2.5 Limits / 限制 36 2.5.1 ISO C Limits / ISO C限制 37 2.5.2 POSIX Limits / POSIX限制 38 2.5.3 XSI Limits / XSI限制 41 2.5.4 sysconf, pathconf, and fpathconf Functions / 函數sysconf、pathconf和fpathconf 42 2.5.5 Indeterminate Runtime L

imits / 不確定的運行時限制 49 2.6 Options / 選項 53 2.7 Feature Test Macros / 功能測試宏 57 2.8 Primitive System Data Types / 基本系統資料類型 58 2.9 Differences Between Standards / 標準之間的衝突 58 2.10 Summary / 小結 60 Exercises / 習題 60 Chapter 3. File I/O / 文件I/O 61 3.1 Introduction / 引言 61 3.2 File Descriptors / 檔描述符 61 3.3 

open and openat Functions / 函數open和openat 62 3.4 creat Function / 函數creat 66 3.5 close Function / 函數close 66 3.6 lseek Function / 函數lseek 66 3.7 read Function / 函數read 71 3.8 write Function / 函數write 72 3.9 I/O Efficiency / I/O的效率 72 3.10 File Sharing / 檔共用 74 3.11 Atomic Operations / 原子操作 77 3.12 d

up and dup2 Functions / 函數dup和dup2 79 3.13 sync, fsync, and fdatasync Functions / 函數sync、fsync和fdatasync 81 3.14 fcntl Function / 函數fcntl 82 3.15 ioctl Function / 函數ioctl 87 3.16 /dev/fd 88 3.17 Summary / 小結 90 Exercises / 習題 90 Chapter 4. Files and Directories / 檔和目錄 93 4.1 Introduction / 引言 93 4.

2 stat, fstat, fstatat, and lstat Functions / 函數stat、fstat、fstatat和lstat 93 4.3 File Types / 檔案類型 95 4.4 Set-User-ID and Set-Group-ID / 設置用戶ID和設置組ID 98 4.5 File Access Permissions / 文件存取權限 99 4.6 Ownership of New Files and Directories / 新檔和目錄的所有權 101 4.7 access and faccessat Functions / 函數access和fac

cessat 102 4.8 umask Function / 函數umask 104 4.9 chmod, fchmod, and fchmodat Functions / 函數chmod、fchmod和fchmodat 106 4.10 Sticky Bit / 粘著位 108 4.11 chown, fchown, fchownat, and lchown Functions / 函數chown、fchown、fchownat和lchown 109 4.12 File Size / 文件長度 111 4.13 File Truncation / 文件截斷 112 4.14 File Sy

stems / 檔案系統 113 4.15 link, linkat, unlink, unlinkat, and remove Functions / 函數link、linkat、unlink、unlinkat和remove 116 4.16 rename and renameat Functions / 函數rename和renameat 119 4.17 Symbolic Links / 符號連結 120 4.18 Creating and Reading Symbolic Links / 創建和讀取符號連結 123 4.19 File Times / 檔的時間 124 4.20 fut

imens, utimensat, and utimes Functions / 函數futimens、utimensat和utimes 126 4.21 mkdir, mkdirat, and rmdir Functions / 函數mkdir、mkdirat和rmdir 129 4.22 Reading Directories / 讀目錄 130 4.23 chdir, fchdir, and getcwd Functions / 函數chdir、fchdir和getcwd 135 4.24 Device Special Files / 設備特殊檔 137 4.25 Summary of

File Access Permission Bits / 文件存取權限位小結 140 4.26 Summary / 小結 140 Exercises / 習題 141 Chapter 5. Standard I/O Library / 標準I/O庫 143 5.1 Introduction / 引言 143 5.2 Streams and FILE Objects / 流和FILE對象 143 5.3 Standard Input, Standard Output, and Standard Error / 標準輸入、標準輸出和標準錯誤 145 5.4 Buffering / 緩衝 145

5.5 Opening a Stream / 打開流 148 5.6 Reading and Writing a Stream / 讀和寫流 150 5.7 Line-at-a-Time I/O / 每次一行I/O 152 5.8 Standard I/O Efficiency / 標準I/O的效率 153 5.9 Binary I/O / 二進位I/O 156 5.10 Positioning a Stream / 定位流 157 5.11 Formatted I/O / 格式化I/O 159 5.12 Implementation Details / 實現細節 164 5.13 Temp

orary Files / 暫存檔案 167 5.14 Memory Streams / 記憶體流 171 5.15 Alternatives to Standard I/O / 標準I/O的替代軟體 174 5.16 Summary / 小結 175 Exercises / 習題 175 Chapter 6. System Data Files and Information / 系統資料檔案和資訊 177 6.1 Introduction / 引言 177 6.2 Password File / 口令檔 177 6.3 Shadow Passwords / 陰影口令 181 6.4 Gr

oup File / 組文件 182 6.5 Supplementary Group IDs / 附屬組ID 183 6.6 Implementation Differences / 實現區別 184 6.7 Other Data Files / 其他資料檔案 185 6.8 Login Accounting / 登錄帳戶記錄 186 6.9 System Identification / 系統標識 187 6.10 Time and Date Routines / 時間和日期常式 189 6.11 Summary / 小結 196 Exercises / 習題 196 Chapter 7.

Process Environment / 進程環境 197 7.1 Introduction / 引言 197 7.2 main Function / main函數 197 7.3 Process Termination / 進程終止 198 7.4 Command-Line Arguments / 命令列參數 203 7.5 Environment List / 環境表 203 7.6 Memory Layout of a C Program / C程式的存儲空間佈局 204 7.7 Shared Libraries / 共用庫 206 7.8 Memory Allocation / 存

儲空間分配 207 7.9 Environment Variables / 環境變數 210 7.10 setjmp and longjmp Functions / 函數setjmp和longjmp 213 7.11 getrlimit and setrlimit Functions / 函數getrlimit和setrlimit 220 7.12 Summary / 小結 225 Exercises / 習題 226 Chapter 8. Process Control / 進程式控制制 227 8.1 Introduction / 引言 227 8.2 Process Identifie

rs / 進程標識 227 8.3 fork Function / 函數fork 229 8.4 vfork Function / 函數vfork 234 8.5 exit Functions / 函數exit 236 8.6 wait and waitpid Functions / 函數wait和waitpid 238 8.7 waitid Function / 函數waitid 244 8.8 wait3 and wait4 Functions / 函數wait3和wait4 245 8.9 Race Conditions / 競爭條件 245 8.10 exec Functions /

函數exec 249 8.11 Changing User IDs and Group IDs / 更改用戶ID和更改組ID 255 8.12 Interpreter Files / 解譯器文件 260 8.13 system Function / 函數system 264 8.14 Process Accounting / 進程會計 269 8.15 User Identification / 使用者標識 275 8.16 Process Scheduling / 進程調度 276 8.17 Process Times / 進程時間 280 8.18 Summary / 小結 282 Exe

rcises / 習題 283 Chapter 9. Process Relationships / 進程關係 285 9.1 Introduction / 引言 285 9.2 Terminal Logins / 終端登錄 285 9.3 Network Logins / 網路登入 290 9.4 Process Groups / 進程組 293 9.5 Sessions / 會話 295 9.6 Controlling Terminal / 控制終端 296 9.7 tcgetpgrp, tcsetpgrp, and tcgetsid Functions / 函數tcgetpgrp、tc

setpgrp和tcgetsid 298 9.8 Job Control / 作業控制 299 9.9 Shell Execution of Programs / Shell執行程式 303 9.10 Orphaned Process Groups / 孤兒進程組 307 9.11 FreeBSD Implementation / FreeBSD實現 310 9.12 Summary / 小結 312 Exercises / 習題 312 Chapter 10. Signals / 信號 313 10.1 Introduction / 引言 313 10.2 Signal Concepts

/ 信號概念 313 10.3 signal Function / 函數signal 323 10.4 Unreliable Signals / 不可靠的信號 326 10.5 Interrupted System Calls / 中斷的系統調用 327 10.6 Reentrant Functions / 可重入函數 330 10.7 SIGCLD Semantics / SIGCLD語義 332 10.8 Reliable-Signal Terminology and Semantics / 可靠信號術語和語義 335 10.9 kill and raise Functions / 函數k

ill和raise 336 10.10 alarm and pause Functions / 函數alarm和pause 338 10.11 Signal Sets / 信號集 344 10.12 sigprocmask Function / 函數sigprocmask 346 10.13 sigpending Function / 函數sigpending 347 10.14 sigaction Function / 函數sigaction 349 10.15 sigsetjmp and siglongjmp Functions / 函數sigsetjmp和siglongjmp 355 1

0.16 sigsuspend Function / 函數sigsuspend 359 10.17 abort Function / 函數abort 365 10.18 system Function / 函數system 367 10.19 sleep, nanosleep, and clock_nanosleep Functions / 函數sleep、nanosleep和clock_nanosleep 373 10.20 sigqueue Function / 函數sigqueue 376 10.21 Job-Control Signals / 作業控制信號 377 10.22 Sign

al Names and Numbers / 信號名和編號 379 10.23 Summary / 小結 381 Exercises / 習題 381 Chapter 11. Threads / 執行緒 383 11.1 Introduction / 引言 383 11.2 Thread Concepts / 執行緒概念 383 11.3 Thread Identification / 執行緒標識 384 11.4 Thread Creation / 執行緒創建 385 11.5 Thread Termination / 執行緒終止 388 11.6 Thread Synchronizati

on / 執行緒同步 397 11.6.1 Mutexes / 互斥量 399 11.6.2 Deadlock Avoidance / 避免鎖死 402 11.6.3 pthread_mutex_timedlock Function / 函數pthread_mutex_timedlock 407 11.6.4 Reader-Writer Locks / 讀寫鎖 409 11.6.5 Reader-Writer Locking with Timeouts / 帶有超時的讀寫鎖 413 11.6.6 Condition Variables / 條件變數 413 11.6.7 Spin Locks

/ 自旋鎖 417 11.6.8 Barriers / 屏障 418 11.7 Summary / 小結 422 Exercises / 習題 422 Chapter 12. Thread Control / 執行緒控制 425 12.1 Introduction / 引言 425 12.2 Thread Limits / 執行緒限制 425 12.3 Thread Attributes / 執行緒屬性 426 12.4 Synchronization Attributes / 同步屬性 430 12.4.1 Mutex Attributes / 互斥量屬性 430 12.4.2 Reade

r-Writer Lock Attributes / 讀寫鎖屬性 439 12.4.3 Condition Variable Attributes / 條件變數屬性 440 12.4.4 Barrier Attributes / 屏障屬性 441 12.5 Reentrancy / 重入 442 12.6 Thread-Specific Data / 執行緒特定資料 446 12.7 Cancel Options / 取消選項 451 12.8 Threads and Signals / 執行緒和信號 453 12.9 Threads and fork / 執行緒和fork 457 12.10

 Threads and I/O / 執行緒和I/O 461 12.11 Summary / 小結 462 Exercises / 習題 462 Chapter 13. Daemon Processes / 守護進程 463 13.1 Introduction / 引言 463 13.2 Daemon Characteristics / 守護進程的特徵 463 13.3 Coding Rules / 程式設計規則 466 13.4 Error Logging / 出錯記錄 469 13.5 Single-Instance Daemons / 單實例守護進程 473 13.6 Daemon C

onventions / 守護進程的慣例 474 13.7 Client-Server Model / 客戶進程-伺服器進程模型 479 13.8 Summary / 小結 480 Exercises / 習題 480 Chapter 14. Advanced I/O / 高級I/O 481 14.1 Introduction / 引言 481 14.2 Nonblocking I/O / 非阻塞I/O 481 14.3 Record Locking / 記錄鎖 485 14.4 I/O Multiplexing / I/O多路轉接 500 14.4.1 select and pselect

Functions / 函數select和pselect 502 14.4.2 poll Function / 函數poll 506 14.5 Asynchronous I/O / 非同步I/O 509 14.5.1 System V Asynchronous I/O / System V非同步I/O 510 14.5.2 BSD Asynchronous I/O / BSD非同步I/O 510 14.5.3 POSIX Asynchronous I/O / POSIX非同步I/O 511 14.6 readv and writev Functions / 函數readv和writev 521

14.7 readn and writen Functions / 函數readn和writen 523 14.8 Memory-Mapped I/O / 存儲映射I/O 525 14.9 Summary / 小結 531 Exercises / 習題 532 Chapter 15. Interprocess Communication / 進程間通信 533 15.1 Introduction / 引言 533 15.2 Pipes / 管道 534 15.3 popen and pclose Functions / 函數popen和pclose 541 15.4 Coprocesses

/ 協同進程 548 15.5 FIFOs 552 15.6 XSI IPC 556 15.6.1 Identifiers and Keys / 識別字和鍵 556 15.6.2 Permission Structure / 許可權結構 558 15.6.3 Configuration Limits / 結構限制 559 15.6.4 Advantages and Disadvantages / 優點和缺點 559 15.7 Message Queues / 訊息佇列 561 15.8 Semaphores / 信號量 565 15.9 Shared Memory / 共用存儲 571 15

.10 POSIX Semaphores / POSIX信號量 579 15.11 Client-Server Properties / 客戶進程-伺服器進程屬性 585 15.12 Summary / 小結 587 Exercises / 習題 587 Chapter 16. Network IPC: Sockets / 網路IPC:通訊端 589 16.1 Introduction / 引言 589 16.2 Socket Descriptors / 通訊端描述符 590 16.3 Addressing / 定址 593 16.3.1 Byte Ordering / 位元組序 593 1

6.3.2 Address Formats / 地址格式 595 16.3.3 Address Lookup / 地址查詢 597 16.3.4 Associating Addresses with Sockets / 將通訊端與位址關聯 604 16.4 Connection Establishment / 建立連接 605 16.5 Data Transfer / 資料傳輸 610 16.6 Socket Options / 通訊端選項 623 16.7 Out-of-Band Data / 帶外數據 626 16.8 Nonblocking and Asynchronous I/O /

非阻塞和非同步I/O 627 16.9 Summary / 小結 628 Exercises / 習題 628 Chapter 17. Advanced IPC / 高級進程間通信 629 17.1 Introduction / 引言 629 17.2 UNIX Domain Sockets / UNIX域通訊端 629 17.3 Unique Connections / 唯一連接 635 17.4 Passing File Descriptors / 傳送檔描述符 642 17.5 An Open Server, Version 1 / 打開伺服器進程第 1版 653 17.6 An Op

en Server, Version 2 / 打開伺服器進程第 2版 659 17.7 Summary / 小結 669 Exercises / 習題 670 Chapter 18. Terminal I/O / 終端I/O 671 18.1 Introduction / 引言 671 18.2 Overview / 概述 671 18.3 Special Input Characters / 特殊輸入字元 678 18.4 Getting and Setting Terminal Attributes / 獲得和設置終端屬性 683 18.5 Terminal Option Flags /

終端選項標誌 683 18.6 stty Command / stty命令 691 18.7 Baud Rate Functions / 串列傳輸速率函數 692 18.8 Line Control Functions / 行控制函數 693 18.9 Terminal Identification / 終端標識 694 18.10 Canonical Mode / 規範模式 700 18.11 Noncanonical Mode / 非規範模式 703 18.12 Terminal Window Size / 終端視窗大小 710 18.13 termcap, terminfo, and

curses / termcap、terminfo和curses 712 18.14 Summary / 小結 713 Exercises / 習題 713 Chapter 19. Pseudo Terminals / 偽終端 715 19.1 Introduction / 引言 715 19.2 Overview / 概述 715 19.3 Opening Pseudo-Terminal Devices / 打開偽終端設備 722 19.4 pty_fork Function / 函數pty_fork 726 19.5 pty Program / pty程式 729 19.6 Using

the pty Program / 使用pty程式 733 19.7 Advanced Features / 高級特性 740 19.8 Summary / 小結 741 Exercises / 習題 742 Chapter 20. A Database Library / 資料庫函式程式庫 743 20.1 Introduction / 引言 743 20.2 History / 歷史 743 20.3 The Library / 函式程式庫 744 20.4 Implementation Overview / 實現概述 746 20.5 Centralized or Decentrali

zed / 集中式還是非集中式 750 20.6 Concurrency / 併發 752 20.7 Building the Library / 構造函式程式庫 753 20.8 Source Code / 原始程式碼 753 20.9 Performance / 性能 781 20.10 Summary / 小結 786 Exercises / 習題 787 Chapter 21. Communicating with a Network Printer / 與網路印表機通信 789 21.1 Introduction / 引言 789 21.2 The Internet Printin

g Protocol / 網路列印協定 789 21.3 The Hypertext Transfer Protocol / 超文字傳輸協定HTTP 792 21.4 Printer Spooling / 列印周邊同作技術 793 21.5 Source Code / 原始程式碼 795 21.6 Summary / 小結 843 Exercises / 習題 843 Appendix A. Function Prototypes / 函數原型 845 Appendix B. Miscellaneous Source Code / 其他原始程式碼 895 B.1 Our Header File

/ 本書使用的標頭檔 895 B.2 Standard Error Routines / 標準出錯常式 898 Appendix C. Solutions to Selected Exercises / 部分習題答案 905 Bibliography / 參考書目 947

具超高速傳輸介面第四代通用序列匯流排(USB4)之晶片研發

為了解決mac address規則的問題,作者黃裕迪 這樣論述:

摘要 iAbstract ii誌謝 iv目錄 v圖目錄 vii表目錄 ix第一章 緒論 11.2研究方法 11.3論文組織 2第二章 第四代通用序列匯流排的架構以及分層簡介 32.1 USB的發展與架構 32.2 USB 4的分工架構 42.2.1 USB 4的路由器 42.2.2適配器 42.3 USB4封包架構 62.4傳輸層(Transport Layer) 72.4.1傳輸層封包(Transport Layer Packet) 72.4.1.1 穿隧封包(Tunneled Packet) 82.4.1.2 連結管理封包(Link Manage

ment Packet) 82.4.2 路由(Routing) 10第三章 USB4傳輸層系統架構 163.1整體架構說明 163.2入口適配器 173.3 USB4傳輸層架構 243.4 SRAM模組架構說明 263.5 USB4 Router模組架構說明 273.5.1暫存器 283.5.2 FIFO緩存器 293.5.3路由器狀態機(Router FSM) 313.5.4同步器(Synchroniser) 33第四章 電路模擬與驗證 344.1電路模擬 344.1.1接收乙太網路封包解析並轉換透過USB4傳送 344.1.1.1接收ARP要求封包獲取對

方MAC位址並回覆 344.1.1.2接收並解析乙太網路ModbusTCP封包 374.1.2 USB4接收資料後傳送授信封包 414.1.3路由 42第五章 數位積體電路設計流程與晶片結果 455.1流程介紹 455.2電路合成 465.3佈局與繞線 485.4設計規則檢查與電路比對 505.5模擬結果 51第六章 結論與未來工作 536.1結論 536.2未來工作 54參考文獻 55