naan1

@naan1

Joined on Jan 16, 2022

  • ​​​​ # 2025q1 Homework2 (quiz1+2) contributed by <As7r1d> 2025q1 第 1 週測驗題 測驗1 AAAA:&list->head BBBB:before CCCC:&(*p)->next DDDD:item->next :::success
     Like  Bookmark
  • contributed by < As7r1d > :::danger 注意書寫規範! ::: $ dpkg -L linux-headers-6.11.0-21-generic | grep "/lib/modules" /lib/modules /lib/modules/6.11.0-21-generic /lib/modules/6.11.0-21-generic/build
     Like  Bookmark
  • contributed by <As7r1d> 2025q1 第 3 週測驗題 2025q1 第 4 週測驗題 測驗1 循環冗餘校驗,Cyclic Redundancy Check  運作方式如下: 選擇一個生成多項式 透過 XOR 運算來模擬二進位多項式的除法
     Like  Bookmark
  • contributed by <As7r1d> eBPF 和電腦網路 透過 Netfilter 自動過濾廣告 網路防火牆設計和實作 以 eBPF 打造 TCP 伺服器 任務目標 嘗試以 eBPF 來建構 TCP 伺服器。需要確保在 Linux v6.8+運作 image
     Like  Bookmark
  • contributed by <As7r1d> 開發環境 $ gcc --version gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ lscpu
     Like  Bookmark
  • contributed by <naan1> Quiz 1 problem C fabsf function C code static inline float fabsf(float x) { uint32_t i = *(uint32_t *)&x; i &= 0x7FFFFFFF; x = *(float *)&i; return x;
     Like  Bookmark